fair-research / bdbag

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

Changes for 1.3.1 release. #23

Closed mikedarcy closed 6 years ago

mikedarcy commented 6 years ago

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. 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. Update docs. Still need docs for bdbag-utils.

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 145


Changes Missing Coverage Covered Lines Changed/Added Lines %
bdbag/bdbagit.py 5 6 83.33%
bdbag/fetch/transports/fetch_globus.py 2 9 22.22%
bdbag/bdbag_api.py 9 29 31.03%
<!-- Total: 26 54 48.15% -->
Totals Coverage Status
Change from base Build 138: 3.05%
Covered Lines: 826
Relevant Lines: 1105

💛 - Coveralls
mikedarcy commented 6 years ago

Closing this PR and will issue another that includes partial fetch functionality from https://github.com/fair-research/bdbag/tree/partial-fetch. Target release is now 1.4.0.