tito/bin
Alex Wood 09d89eb4ef Fix tarball timestamps from git archive with Python.
Tito passes "git archive" a tree ID.  The "git archive" man page states:

    git archive behaves differently when given a tree ID versus when
    given a commit ID or tag ID. In the first case the current time
    is used as the modification time of each file in the archive.

Using the current time means that every time we build the source
tarball, the file fingerprint will change since the metadata in the
tarball changes.  We don't want that since build systems track the
fingerprint to see if the actual source has changed.

This process was previously handled in an enigmatic Perl script that
lacked any comments whatsoever.  Converting it to well-commented Python
makes the process less mysterious and speedier since Tito doesn't need
to shell out to Perl.
2015-05-15 13:07:34 -04:00
..
generate-patches.pl add new build class distributionbuilder 2010-11-25 17:57:00 +01:00
test-setup-specfile.pl use latest commit instead of HEAD for --test. 2010-04-29 12:55:39 -04:00
tito do not print TB when user hit Ctrl+C 2011-05-04 21:42:15 -03:00
tito-dev Fix bad tito script args. 2010-05-24 11:13:07 -03:00