[Debian-med-packaging] uscan/get-orig-source; identical tarballs

Andreas Tille andreas at an3as.eu
Sun Feb 3 07:47:32 UTC 2013


On Sun, Feb 03, 2013 at 03:16:30PM +1100, Dmitry Smirnov wrote:
> I gave it a thought and came out with the following code to correct times in 
> git checkout before packing to orig.tar:
> 
>     for F in $(git ls-tree -r --name-only HEAD); do
>         touch -d "$(git log -1 --format="%ai" -- $F)" "$F"
>     done

Sounds like a good trick - I'll keep this in mind also for my private clones.
 
> What do you think?

What I think in general is that uscan can not deal with VCS checkouts
anyway and my remark about creating the tarball was rather against
forcing the same date in an unpackaged tarball.  On the other hand there
is a really big need for getting tarballs from VCS checkouts (either as
uscan enhancement or some separate tool.)  This would drastically
enhance several packages.

Kind regards

        Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list