-
Notifications
You must be signed in to change notification settings - Fork 220
improve portability of reproducible tarballs by replacing external tar command with tarfile module from Python standard library
#4660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
ec1ede9
use more portable --date argument for touch command used in reproduci…
lexming e7f3bbd
stop reproducible tarball generation command on any failure in the pipe
lexming ca09f4e
move command to make reproducible archives to its own generator metho…
lexming d0a55ba
replace harcoded pattern for reproducible archives command for call t…
lexming d7195c7
use tarfile module instead of executing external shell commands to cr…
lexming 87b733a
add required flag to filetools.find_extension() method
lexming dd28095
add support for extended_dry_run mode to filetools.make_archive()
lexming a37af5a
add unit test for filetools.make_archive()
lexming f2296de
make test for github_get_source_tarball_from_git compatible with make…
lexming 980f618
improve reliability of bit-wise operations setting file mode in repro…
lexming ddb9cae
Merge branch '5.0.x' into reprod-tarballs-mac
lexming a26c71e
set reproducible flag of make_archives from a specific variable
lexming 3936a6e
simplify logic in EasyBlock.get_checksum_for and improve its logging
lexming 6188cc7
ignore checksums of sources from git repos prior to Python 3.9
lexming ee772f7
only run checksum assertions in test_make_archive on Python 3.9+
lexming 27ea1d0
add test_fetch_sources_git to easyblock suite
lexming ad47cac
push deprecation of cheksum check of git repo with Python < 3.9 to Ea…
lexming 1c44ad7
respect file extensions in archive filenames of filetools.make_archive()
lexming fbbb632
add fallback value to filename retrieval in get_checksum_for
lexming 4f30b16
expand text in deprecation warning about checksum verification of git…
lexming 8658497
add link to issue about undeterministic behaviour of gzip in cpython
lexming ed26075
clarify comment about permission changes in reproducible tarballs
lexming 85c96a1
explain behaviour behind numeric permission reset in reproducible tar…
lexming fb75353
replace issue tag with full URL
lexming d9e7682
add link TarFile documentation explaining sorting of files
lexming e178bd0
improve deprecation warning when skipping checksum verification for g…
boegel c66ce9c
minor tweaks to make_archive
boegel 848de66
cleanup in test_fetch_sources_git
boegel 8918005
fix long line in test_make_archive
boegel 671d3dd
update test_github_get_source_tarball_from_git to properly test suppo…
lexming db0704a
re-enable all asserts in test_github_get_source_tarball_from_git
lexming File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.