-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new flag and functionality to support checksum digest
An attempt at #4 (adds `--digestdir` command line option in order to use pre-computed digests) There are a number of assumptions here that'll probably need revisiting: - Issue #4 says to add a true/false flag for checksum manifest; skipping that since it's implied by providing a flag for the manifest base directory - Since we're providing a directory and not a single file, we're assuming that the directory contains a tree of possible manifest files - Assuming manifest files are named `manifest.tsv`; all of them are read into memory - Treating them as tab separated values of "filename" TAB "digest" (checksum) - They're actually whitespace separated values - No commenting or other syntax specified for them The `docs/samples` directory now includes a sample tree of `manifest.tsv` files. NOTE: These changes were rebased in internal repo so functionality will most likely need to be modified and tested.
- Loading branch information
1 parent
2c7eff6
commit 828de6e
Showing
3 changed files
with
78 additions
and
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ladee_1100.xml 12345 | ||
gentleman.xml 67890 |
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 @@ | ||
ladee_spacecraft_rev1_2.xml 43210 |
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