Hi Yaroslav, On Tue, Oct 02, 2018 at 02:04:28PM -0400, Yaroslav Halchenko wrote: > > uscan --verbose > > gbp import-orig --pristine-tar ../TARBALLNAME > > quilt push ... > > yeah... did... can push those minor things I've done, but then now found > that all generated docs etc like below is shipped as the part of the > tarball... > (yet another reason I like just dealing with "the original sources" such as > upstream git)... ran out of time for this ATM > > $> tar -tJvf scikit-learn_0.20.0+dfsg.orig.tar.xz | grep cache > drwxrwxr-x ogrisel/ogrisel 0 2018-09-26 08:22 > scikit-learn-0.20.0/doc/__pycache__/ > -rw-rw-r-- ogrisel/ogrisel 3994 2018-09-05 07:28 > scikit-learn-0.20.0/doc/__pycache__/conf.cpython-37.pyc > ...
I've used Files-Excluded to get rid of this and pushed. BTW, your milleage might vary - sometimes upstream Git contains files you do not want to have in your upstream source tarball. So I do not consider it a problem to exclude some more files if we need to do that anyway. Its a shame that some upstreams are just releasing their tarballs with cruft - but that is orthogonal to the different Debian packaging workflows. Kind regards Andreas. -- http://fam-tille.de