Path: csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod From: Julien Muchembled Newsgroups: linux.debian.maint.python Subject: gitignore and import of upstream tarballs (was Re: Packaging new version of ZODB (Zope Object Database)) Date: Mon, 05 Dec 2016 21:00:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Dec 5 19:51:07 2016 Old-Return-Path: X-Amavis-Spam-Status: No, score=-10.918 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RDNS_DYNAMIC=0.982] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -6.1 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XwNImlmAt0UqT0xDFJeNl93df3THXxMCh" X-Mailing-List: archive/latest/14416 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/41009d46-ce4a-4d47-b8df-7f4585a3d5ea@jmuchemb.eu Approved: robomod@news.nic.it Lines: 86 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 5 Dec 2016 20:50:48 +0100 X-Original-Message-ID: <41009d46-ce4a-4d47-b8df-7f4585a3d5ea@jmuchemb.eu> X-Original-References: <8e7791a6-97fd-6a68-8bc2-dee31266c93c@jmuchemb.eu> <9e2ed620-ed76-5a69-3c75-3b035e58ce13@jmuchemb.eu> <20161104104732.308abf71@subdivisions.wooz.org> <3362440.KApjSUoQHi@kitterma-e6430> Xref: csiph.com linux.debian.maint.python:9070 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --XwNImlmAt0UqT0xDFJeNl93df3THXxMCh Content-Type: multipart/mixed; boundary="wbOX0gAuhOmelsHb3NvU3bG6cLERdGPJO"; protected-headers="v1" From: Julien Muchembled To: debian-python@lists.debian.org Message-ID: <41009d46-ce4a-4d47-b8df-7f4585a3d5ea@jmuchemb.eu> Subject: gitignore and import of upstream tarballs (was Re: Packaging new version of ZODB (Zope Object Database)) References: <8e7791a6-97fd-6a68-8bc2-dee31266c93c@jmuchemb.eu> <9e2ed620-ed76-5a69-3c75-3b035e58ce13@jmuchemb.eu> <20161104104732.308abf71@subdivisions.wooz.org> <3362440.KApjSUoQHi@kitterma-e6430> In-Reply-To: --wbOX0gAuhOmelsHb3NvU3bG6cLERdGPJO Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Le 12/05/16 =E0 20:21, Julien Muchembled a =E9crit : > So I plan to create only 3 new packages in DPMT: > - python-btrees > - python-zc.customdoctests > - zodbpickle I am also preparing an update for python-persistent. But for all that, I followed https://wiki.debian.org/Python/GitPackaging = and there's no indication about gitignore'd files and the *.egg-info dire= ctory. 1. Both upstream repositories have a .gitignore file at the root (ignorin= g *.egg-info among other files) but on PyPI: - BTrees-4.3.1.tar.gz contains it - persistent-4.2.2.tar.gz does not contain it I also have a ~/.gitignore file that ignores *.egg-info/ anyway. 2. The last release of zc.customdoctests is quite old and the tarball con= tain a egg-info folder that differs slightly to what the new setuptools g= enerates, which is the source of bugs like #825921 Having generated files in Git is not great. 1 thing at a time so just simple questions: - Should the 'Creating a new package' paragraph on the wiki says 'git add= -f .' instead of 'git add .' ? - It's quite obvious that ~/.gitignore should be ignored, but is it also = the case for the one that may be in the tarball ? - Do we always want *.egg-info directories in Git ? Meanwhile, the wiki should also recommend to add the following line to de= bian/source/options: extend-diff-ignore=3D"\.egg-info/" Julien --wbOX0gAuhOmelsHb3NvU3bG6cLERdGPJO-- --XwNImlmAt0UqT0xDFJeNl93df3THXxMCh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYRcUaAAoJEEwjvlkacWMkWgAQAOVF8bTUcQCyZiymcQUz8g21 ejvrVyD8JyCK4yWQHqHBLyaTI3jTiELpzcqTetJeQHsnvARjP8m1vkY6ePIK6gr1 pLnUtLc/oynizKoeF3V00Dveog6S1fhehbqMqZxl5gKRmh7jDgIt/oLgqVhbxFVv FkQqi6ikOjouyS4yG/Blrk8LItgfurahE0dC05HADTxPFt1rCGWZMqcBP8Md7ZpU XV3P94QzpqmtJuv8gXdDdoJmNF0u8oLqkt3nGs78P/NhPuvYfU45ZmS/YkB3DACP hUUP1hTThI6FlgIhCXiSlT5WJYkHuEzY60jerZbYilYpEtVAmOZlnw+fk4W2pfWo cqB4qokOiOtGeqWXN0Bek3ry1DO0h6gvjofWsskAeQAZwF69SW2+rGS0Dqpb7hP0 TZFUmBwtumNpv4o/4OUKaLjV6CSYOPK/HsFMNgtowwmAy51P1Wo9MsWiqjnKJLvC /xzu5C/B/BLPzEkzXmyPqehYFOLMfR3kKOmyUKicSA8QLdYyYZcVUVh/JflhQ/KI C4b8chh3Nmz2krxCf2i1j1855Eq8x6UOtW7K8hww9123PXpmMmTJIna4JRGM8gx+ +Qoe7oKlt+OS7rmjIvzuOhyZ86v1NAweJ845F+qw/4L3vNrpKnHFYAmIG8uvTbiB SM6XbwVwVU5FRd6keX3w =q21T -----END PGP SIGNATURE----- --XwNImlmAt0UqT0xDFJeNl93df3THXxMCh--