Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12181

Re: python-requests: adding a documentation package python-requests-doc

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Daniele Tricoli <eriol@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: python-requests: adding a documentation package python-requests-doc
Date Tue, 31 Dec 2019 19:50:01 +0100
Message-ID <zjuKB-197-3@gated-at.bofh.it> (permalink)
References <zjcXn-7dM-3@gated-at.bofh.it>
X-Original-To Fabrice BAUZAC-STEHLY <noon@mykolab.com>
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Dec 31 18:41:58 2019
Old-Return-Path <eriol@mornie.org>
X-Amavis-Spam-Status No, score=-11.75 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
X-Greylist delayed 533 seconds by postgrey-1.36 at bendel; Tue, 31 Dec 2019 18:41:46 UTC
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aqwthqvoi5j4dwok"
Content-Disposition inline
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17787
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20191231183249.ufne3dfnzofq4b6f@mornie
Approved robomod@news.nic.it
Lines 85
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python <debian-python@lists.debian.org>
X-Original-Date Tue, 31 Dec 2019 19:32:49 +0100
X-Original-Message-ID <20191231183249.ufne3dfnzofq4b6f@mornie>
X-Original-References <87blrpxu88.fsf@asus>
Xref csiph.com linux.debian.maint.python:12181

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello Fabrice,
thanks for pinging I did not notice the MR :(
Please next time can you assign it to me? I should reveive some sort of
notification I hope! :)

On Tue, Dec 31, 2019 at 12:35:19AM +0100, Fabrice BAUZAC-STEHLY wrote:
> Hello,
> 
> I wish there was a python-requests-doc package for browsing
> python-requests' documentation offline.  I'd like to add it if I can.
> 
> I saw that debian/watch currently targets the PyPI tarball, which lacks
> the documentation.

Yes, I usually preferred PyPI distribution, but I'm fine switching since it
will enhance users experience.

> As a first step, I'm submitting a merge request [1] so that debian/watch
> tracks the github releases instead, which do contain the documentation.
> 
> After that, once a new upstream release of requests is published and
> propagated into the salsa repository, the latter will start
> containing the missing docs/ subdirectory.  So we'll at least be able to
> start working on a new python-requests-doc binary package containing the
> documentation.
> 
> In the merge request, I've basically applied the github recipe as
> indicated in the uscan(1) manpage.
> 
> If you could have a look at this merge request, that would be excellent.
> 
> [1] https://salsa.debian.org/python-team/modules/requests/merge_requests/1
> 

Looked at it, I would prefer the more common:

-8<----------------------------------------------------------------------------
version=4
opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/requests-$1\.tar\.gz/ \
  https://github.com/psf/requests/tags .*/v?(\d\S+)\.tar\.gz
-8<----------------------------------------------------------------------------

Please can you update your MR? Can you also update d/changelog, so I will not
to have to write manually that I thank you and the attribution of the work you
have done? :)

Thanks for your contribution!

Regards and happy new year,

-- 
  Daniele Tricoli 'eriol'
  https://mornie.org

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

python-requests: adding a documentation package python-requests-doc Fabrice BAUZAC-STEHLY <noon@mykolab.com> - 2019-12-31 00:50 +0100
  Re: python-requests: adding a documentation package  python-requests-doc Daniele Tricoli <eriol@debian.org> - 2019-12-31 19:50 +0100
    Re: python-requests: adding a documentation package python-requests-doc Mattia Rizzolo <mattia@debian.org> - 2019-12-31 21:20 +0100
      Re: python-requests: adding a documentation package  python-requests-doc Daniele Tricoli <eriol@debian.org> - 2020-01-07 21:50 +0100
    Re: python-requests: adding a documentation package python-requests-doc Fabrice BAUZAC-STEHLY <noon@mykolab.com> - 2020-01-02 08:50 +0100
      Re: python-requests: adding a documentation package python-requests-doc Nicholas D Steeves <nsteeves@gmail.com> - 2020-01-02 21:10 +0100
      Re: python-requests: adding a documentation package  python-requests-doc Daniele Tricoli <eriol@debian.org> - 2020-01-07 21:50 +0100

csiph-web