Add support for the SOURCE_DATE_EPOCH variable in the creation timestamp #3

Merged
samm-git merged 1 commit from source_date_epoch into master 2023-09-15 14:34:27 -05:00
samm-git commented 2023-09-15 14:13:46 -05:00 (Migrated from github.com)

This PR adds ability to set xar timestamp for the archive based on SOURCE_DATE_EPOCH field. Together with --distribution key it allows to provide repeatable xar archives.

Sample of the command:

SOURCE_DATE_EPOCH=1672527600 xar --distribution   -v -c -f /tmp/test.xar testfile
This PR adds ability to set xar timestamp for the archive based on SOURCE_DATE_EPOCH field. Together with `--distribution` key it allows to provide repeatable xar archives. Sample of the command: ``` SOURCE_DATE_EPOCH=1672527600 xar --distribution -v -c -f /tmp/test.xar testfile ```
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
miles/xar!3
No description provided.