feat!: remove optionally using operating system in the manifest file name hash #552
+24
−3
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.
What was the problem/requirement? (What/Why)
attachment download
andattachment upload
commands support upload and download in a batch. They use the premisemanifest file name contains the hash of the root path where the manifest was generated for
to map manifest file to its corresponding root.However,
file_system_location_name
is used in certain cases when passed in for some reason. This lead to the following problems at the time of downloading or uploadingfile_system_location_name
file_system_location_name
What was the solution? (How)
By tracing the code, there is no indication
file_system_location_name
need to be required in hash. Manifest should be unique to its root. Additionally, there is no hash check on the file name, which guarantees this change does not introduce regression.Input manifest is already persisted as part of job
Output manifest is discovered using formated s3 partition.
What is the impact of this change?
How was this change tested?
28 passed, 2 skipped, 5 warnings in 74.34s (0:01:14)
download
orasset_sync
modules? If so, then it is highly recommendedthat you ensure that the docker-based unit tests pass. [Y]
32 passed, 12 skipped in 14.59s
Was this change documented?
Does this PR introduce new dependencies?
Is this a breaking change?
This PR changes the way manifest file name is generated to be the hash of root path.
Does this change impact security?
No
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.