[Python-modules-team] Comments regarding python-pyramid_1.5.1+dfsg-1_amd64.changes
Barry Warsaw
barry at debian.org
Mon Jun 30 15:39:50 UTC 2014
On Jun 30, 2014, at 11:18 AM, Thorsten Alteholz wrote:
>in debian/README.source you wrote that the docs directory has been
>removed. But it is still available in the source tarball. There might
>have gone something wrong ...
Hi Thorsten, thanks for the report.
I think this may be due to a strange interaction between svn-buildpackage,
which the Debian Python and Zope teams use, uscan's semi-documented
d/copyright Files-Excluded header, and weirdness/buggyness in the d/watch file
name manging.
You'll see in d/copyright that I added a Files-Excluded header to trim the
non-free docs/ directory, and in fact, when I watch the output of
svn-buildpackage, I can see that the tarball is downloaded and repacked
without the docs/ directory.
However, if you look closely, you'll find three tar.gz files in the various
resulting artifacts.
% find . -name \*.gz
./tarballs/python-pyramid_1.5.1.orig.tar.gz
./tarballs/python-pyramid_1.5.1+dfsg.orig.tar.gz
./build-area/python-pyramid_1.5.1+dfsg.orig.tar.gz
% tar ztvf tarballs/python-pyramid_1.5.1.orig.tar.gz | grep docs/ | wc -l
0
% tar ztvf tarballs/python-pyramid_1.5.1+dfsg.orig.tar.gz | grep docs/ | wc -l
777
% tar ztvf build-area/python-pyramid_1.5.1+dfsg.orig.tar.gz | grep docs/ | wc -l
777
svn-bp uses the build-area tarball, which is how the docs/ directory sneaked
back in.
What to do?
I suppose it would be best to reject the NEW python-pyramid package, and let
me rebuild the binary package after manually shuffling the repacked tar.gz
into place. Otherwise, I won't be able to upload a correct tarball until the
next upstream release. I have that fixed upload ready to go now.
If you have any suggestions on how to fix the d/watch file so this won't be a
problem in the future, please do let me know. Otherwise I'll ping the
appropriate mailing lists for advice.
Cheers,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140630/af4cc9e6/attachment.sig>
More information about the Python-modules-team
mailing list