fair-research / bdbag

Big Data Bag Utilities
https://fair-research.org
Apache License 2.0
49 stars 23 forks source link

Changes for upcoming release 1.4.0 #24

Closed mikedarcy closed 6 years ago

mikedarcy commented 6 years ago

Add partial (selective) fetch functionality to API and CLI per #20. Add an API and CLI function to automatically generate a basic RO manifest via bag introspection. Add 'Bagging-Time' as a default bag-info metadata element. Allow 'url' field in remote file manifest to be an array as well as a string, but only read array[0] when generating fetch.txt. Add logic to allow an RO manifest object to be "updated" without generating new unique URNs for existing nodes. Fixed some issues with keychain handling and HTTP fetch handler. Changed globus-sdk to a run-time dependency. Numerous functional changes to bdbag-utils. New create-rfm-from-file function that can create an RFM by parsing a CSV file. Added additional unit tests (copied over from https://github.com/LibraryOfCongress/bagit-python/blob/master/test.py, with modifications) for additional coverage of bdbagit.py. Improved unit test coverage. Update docs. Still need docs for bdbag-utils.

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 157


Changes Missing Coverage Covered Lines Changed/Added Lines %
bdbag/bdbagit.py 5 6 83.33%
bdbag/bdbag_api.py 34 35 97.14%
bdbag/init.py 58 63 92.06%
<!-- Total: 127 134 94.78% -->
Totals Coverage Status
Change from base Build 138: 12.4%
Covered Lines: 986
Relevant Lines: 1172

💛 - Coveralls