Skip to content
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

Bag to destination #178

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Sep 18, 2024

  1. Bag to destination

    Could use some more testing, but I think it works!
    
    Added new arguments "destination" and "name".
    
    If destination is used, the contents of the source directory will all be copied into the "destination", and the bag will be saved there rather than bagging in place. If no "name" is supplied, the bag directory will be named whatever the name of the source directory is. If "name" is supplied, it will be named that.
    
    Most importantly — the manifest checksums are generated from the source files, not the copied files, so this provides perfect chain of custody. We do this by modifying make_manifests to check if we are bagging to a destination, and if so, it generates them from the source, and handles the paths accordingly so that they are correct in the manifest.
    finoradin committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    f65b077 View commit details
    Browse the repository at this point in the history
  2. single file support

    and bug fix - i think my previous commit accidentally broke bag in place
    finoradin committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    dede1f0 View commit details
    Browse the repository at this point in the history