The aptrust command-line utility (apt-cmd) enables you to create and validate bags, manage S3 files, and query data in the APTrust Registry. They replace the older version 2.x partner tools which did not have bag creation features and worked only with Pharos.
You can create workflows with apt-cmd that include:
- creating a bag
- validating the bag
- uploading the bag to an S3 bucket
- checking the APTrust registry to see when the bag was ingested
- retrieving object and file details, including checksums and PREMIS events, from the APTrust registry
For bag creating and validation, the current release supports tarred bags only. Though access to the APTrust registry is limited to APTrust depositors, anyone can use apt-cmd's bagging and S3 features.
Platform | Architecture | Version | SHA-256 |
---|---|---|---|
Windows | Intel 64-bit | v3.0.0-beta | b12d7daf68ca2a2ea99ea208143e4571cf49fd8221ea1998a9b4f5db9774b631 |
Mac Intel | Intel 64-bit | v3.0.0-beta | 1b5ceb015744e9ca818e5526f0940988fd4dad7f56c1bde105762bd89522265b |
Mac ARM | Apple Silicon (M series) | v3.0.0-beta | 0327e04b44137ce856b342542563133b9f8184364513394013bf200939dd6c8e |
Linux | Intel 64-bit | v3.0.0-beta | 88d13960e50478066a6426ffd49e4763feece4642b7420e0d2e4f8d9412e9c88 |
You'll find extensive documentation and usage examples at https://aptrust.github.io/userguide/partner_tools/
Unit tests: ./scripts/test.rb units
Integration tests: ./scripts/test.rb integration
Note that when running integration tests, Registry tests do not run on Windows.
./scripts/build.sh