bagit-java
bagit-java copied to clipboard
Java library to support the BagIt specification.
**Given** * I have a bag * And I add a hidden folder in the data direcotry of this bag **When** * I run bag.isValid() **Then** * the visit method...
**Given** * bagit-java 5.0.4 * MacOs High Sierra 10.13.2 **When** * I build with tests under MacOs **Then** * BagLinterTest fails in line 43: assertEquals("Warnings missing: " + diff.toString() +...
Currently we throw an exception at the first problem we discover when verifying a bag: https://github.com/LibraryOfCongress/bagit-java/blob/0e4f80b969279c1a6e4f5037f3b9236bb6a253e3/src/main/java/gov/loc/repository/bagit/verify/BagVerifier.java#L151-L173 Instead we should return a list of errors in the case that there is...
only merge if https://github.com/loc-rdc/bagitspec/pull/2 is accepted
### Please ensure you have completed the following before submitting: - [ ] Ran all tests to ensure existing functionality wasn't broken - [ ] Ran all quality assurance checks...
Version: 5.2.0 OS: Ubuntu 22.04.2 LTS Bagit fails to load due to validation issue: ``` gov.loc.repository.bagit.exceptions.CorruptChecksumException: File [-redacted-.pdf] is suppose to have a [MD5] hash of [8F7EF44A45A91BF762D122E6C8A2C4A5] but was computed...
## Environment - `bagit-java` version: v5.1.1 - Java version: OpenJDK Runtime Environment Zulu17.30+15-CA (build 17.0.1+12-LTS) - OS: macOS 12.6.1 Monterey ## Details **Given** * I have a bag containing non-Latin...