D25494: Make tar archives reproducible by setting Pax headers
"Bernhard M. Wiedemann" <noreply-Buy57tU0AsCGxO/ty/[email protected]>
| Newsgroups | gmane.comp.kde.devel.kdevelop |
|---|---|
| Message-ID | <[email protected]> |
bmwiedemann added a comment.
This should work fine with a producer GNU-tar >= 1.28 , but what will be the consumer of the tar file?
Asking because I remember the case of alpine Linux and its 'abuild' producer. Alpine package manager implemented its own tar and that would only be happy with
--pax-option=exthdr.name=%d/PaxHeaders/%f,atime:=0,ctime:=0
The other thing is about POSIXLY_CORRECT - it is only considered in recent tar git (no releases last time I checked) and only for embedding the PID of the tar process. So I would just not mention it in the commit message to make it easier to understand:
> GNU tar will add ctime, atime and the PID
> of the tar process that created the archive
...
REPOSITORY
R32 KDevelop
REVISION DETAIL
https://phabricator.kde.org/D25494
To: aaronpuchert, kfunk, #kdevelop, kossebau
Cc: bmwiedemann, kossebau, kdevelop-devel, hmitonneau, christiant, glebaccon, domson, antismap, iodelay, alexeymin, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd