Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Jeremy Stanley Newsgroups: linux.debian.maint.python Subject: Re: [Python-modules-team] Bug#954381: marked as done (python3-kubernetes: New upstream version available) Date: Sun, 22 Nov 2020 00:50:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Sat Nov 21 23:47:49 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="otvxps2ojkftxdjx" Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) X-Sa-Exim-Connect-IP: 2001:4802:7801:102:be76:4eff:fe20:63e0 X-Sa-Exim-Rcpt-To: debian-python@lists.debian.org X-Sa-Exim-Mail-From: fungi@yuggoth.org X-Sa-Exim-Scanned: No (on azathoth.yuggoth.org); SAEximRunCond expanded to false X-Mailing-List: archive/latest/18783 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20201121234733.qela2hpuju6ppwtp@yuggoth.org Approved: robomod@news.nic.it Lines: 65 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 21 Nov 2020 23:47:33 +0000 X-Original-Message-ID: <20201121234733.qela2hpuju6ppwtp@yuggoth.org> X-Original-References: <158475584326.73421.2514599102012397852.reportbug@yifan.weinehall.eu> <20fa63de-97c1-11eb-1792-af39969ebafd@debian.org> Xref: csiph.com linux.debian.maint.python:13018 --otvxps2ojkftxdjx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2020-11-22 00:01:03 +0100 (+0100), Thomas Goirand wrote: > On 11/21/20 3:36 AM, Sandro Tosi wrote: > >> * Use git to generate upstream tarball, as the PyPi module doesn't = include > >> the test folder. Using the gen-orig-xz in debian/rules, as using = the > >> repack function of debian/watch doesn't make sense (why downloadi= ng a > >> tarball that would be later on discarded? I'm open to a better so= lution > >> which would be uscan compatible though...). Switch d/watch to the= github > >> tag therefore. > >=20 > > you can track the github project instead of pypi (man uscan has the > > details); this is was i'm doing recently, as most of the time PyPI > > releases dont have all the files we need (tests, or test data, or > > documentation, or a combination of that) >=20 > Hi. >=20 > Thanks, I know that. However, that's not my problem. The issue is that > uscan --download will download the tarball from github, and I'd like to > replace that by what I'm doing in debian/rules, which is using git and > git submodule, to fetch things using git, and create a tarball. Sure, I > could use a repack script in debian/watch, but then uscan will continue > to first download the archive from github, and *then* only, I can > discard what's been downloaded, and fetch stuff from github with git. >=20 > Is there a solution here, so that uscan uses a repack script directly > without attempting to download first? Maybe I'm missing something obvious, but can't you just use mode=3Dgit (see uscan manpage for details on this feature). I assumed this is what was being suggested. --=20 Jeremy Stanley --otvxps2ojkftxdjx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEl65Jb8At7J/DU7LnSPmWEUNJWCkFAl+5pw0ACgkQSPmWEUNJ WCkUlhAArtJPwNVATDS+jzOo5MNsp3QnSzbdYFc8y5qIwUX07S1fi4PJZz0+CO2j a95vVSVjHgsvlRVNmlQ09+zZtvENb0IFvoMP+MPzu5DepVunW7xLDIe8BBXJ2jSK BAOWDskg7GhEbA2nPZZwsH7vzRNhKOjCGJhB0R7u58uouvWqzryqMnhMdC30hpeQ 2VPBCmILSHXKYP/M0TnapLup+pJzxL6O/h/+zY+AnnI7yQPp+M5tiQbuT9YswuwD uuOzSDXL6BScfCrlfvIphPi+gLBTuXe1kxhgdKFYe3ktgdtLf4PEmXt+WWwTLZqY 8sB36poDJhjX3XX5rMw/MI6ENJyil2IQt5EcWUap2GtUzy9r0YkBc8fWPqOTz3Ah gSIe7IlobemZNRB6KeHFDA2BbljD+AshoWsb4EBsoRvVnvsY/kNDYUV4hkgshUhy G0ffy58xJPUTTSdqW8QBzcACQdWiZpGFYhtvRQDK/eLLyu2/oxPjNPiYCtQxlNLg 8BLdsnx0sQoKF2X+oTfQ3ioQndQydv/WFTQAGdgy/bFqoX/alByFCHL2qUi7kCWh VsTHCIVmCiycqNqPY71Cz1Xka4E+nzITb+rSb7nBj8H+OtdZqABEsKDk+E1Tm12J IeIVVPYkHHCa/ThrFZeOgdDEo4vFLHbqkIzw9e94ZJ4gNfH4jb0= =bFu8 -----END PGP SIGNATURE----- --otvxps2ojkftxdjx--