Skip to content

Conversation

@janvanmansum
Copy link

@janvanmansum janvanmansum commented Jan 8, 2026

Fixes DD-2093, DD-2112, DD-1608, DD-2082, DD-2109, DD-2098.

Description of changes

Merged changes by @qqmyers in the DANS 6.7.1 maintenance/preview branch.

Changes to the exported archival copy BagPack:

  • DD-2093: multi-line bag-info.txt values are now correctly indented.
  • DD-2112: datasets without files get an empty payload manifest of the same algorithm as configured in Dataverse instead of always defaulting to md5.
  • DD-1608: the metadata/oai-ore.jsonld now contains a URI for the checksum types instead of a literal, as required by JSON-LD.
  • DD-2082: No title-based folder in the root of the payload-directory; the datafile path relative to the payload directory is now equal to the path in Dataverse.
  • DD-2109: Export of multiple Points of Contact to bag-info.txt now works correctly.

Changes to the archivalStatus endpoint:

  • curl -H 'X-Dataverse-key: *****' http://localhost:8080/api/datasets/:persistentId/<major>.<minor>/archivalStatus?persistentId=<doi> now gives the correct status even if version <major>.<minor> of <doi> is deaccessioned.

Related PRs

Notify

@DANS-KNAW/core-systems

@coveralls
Copy link

coveralls commented Jan 8, 2026

Pull Request Test Coverage Report for Build #217

Details

  • 101 of 210 (48.1%) changed or added relevant lines in 4 files are covered.
  • 17 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.2%) to 23.427%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/main/java/edu/harvard/iq/dataverse/util/bagit/OREMap.java 0 2 0.0%
src/main/java/edu/harvard/iq/dataverse/DataFile.java 6 15 40.0%
src/main/java/edu/harvard/iq/dataverse/util/bagit/BagGenerator.java 94 192 48.96%
Files with Coverage Reduction New Missed Lines %
src/main/java/edu/harvard/iq/dataverse/util/bagit/BagGenerator.java 17 28.25%
Totals Coverage Status
Change from base Build #202: 0.2%
Covered Lines: 21130
Relevant Lines: 90196

💛 - Coveralls

@janvanmansum janvanmansum changed the title DD-2118 Applying https://github.com/IQSS/dataverse/pull/12063, wip DD-2118, DD-2119 Applying bag exporter and archivalStatus api fixes and improvements to v6.7.1-DANS-DataStation Jan 9, 2026
@janvanmansum janvanmansum marked this pull request as ready for review January 9, 2026 08:56
@janvanmansum janvanmansum merged commit 503c58b into DANS-KNAW:v6.7.1-DANS-DataStation Jan 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants