-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Archiving overhaul with updated unit tests. Doc updates TBD. Bump ver…
…sion. Enabled use of tarfile module's `data_filter` on TAR extraction due to security vulnerabilities. An exception will be thrown if the installed Python version doesn't have support for `data_filter`. This can be overridden in the config file. Reworked archive creation to support idempotent or "reproducible" bag archives. These are archive files which will hash equivalently after compression. This is done by removing timestamp metadata from bag-info.txt and setting the `mtime` for all non-payload files to a fixed value (unix epoch) in the archive.
- Loading branch information
Showing
10 changed files
with
321 additions
and
70 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"enable_unfiltered_tar_extraction": true, | ||
"bag_config": { | ||
"bag_algorithms": [ | ||
"md5" | ||
], | ||
"bag_archiver": "tgz", | ||
"bag_metadata": { | ||
"BagIt-Profile-Identifier": "https://raw.githubusercontent.com/fair-research/bdbag/master/profiles/bdbag-profile.json", | ||
"Contact-Name": "bdbag test" | ||
}, | ||
"bag_processes": 1 | ||
} | ||
} |
Oops, something went wrong.