-
Notifications
You must be signed in to change notification settings - Fork 2
Feature: Check if a bag exists in a local storage #121
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
Feature: Check if a bag exists in a local storage #121
Conversation
zoidy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a bug in the bagger code that erroneously detects that a bag is already in archival staging storage or archival storage. Integration.py L123
|
The bug is due to using the same storage location for both |
Resolved #121 (comment) |
Description
This PR enhances ReBACH to check the path to local storage for duplicate bags. It also handles where to check for duplicate bags for different workflow settings, which could be to upload or not to upload to a remote storage. Configuration fields that hold different storage locations are updated to the current specifications in line with OAIS model.
See #118
Documentation Update
Implementation Notes
Utils.pyto handle checking paths that are local to ReBACH for duplicate bags.--check-staging-storage) can now be set to check Wasabi for duplicate bags. Wasabi will also be checked for duplicate bags if the workflow is configured to upload to a remote storage location..env.iniconfiguration file in ReBACH to.tomlconfiguration file in bagger.