• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IQSS / dataverse / #24331

24 Jan 2025 04:20PM UTC coverage: 22.733% (-0.02%) from 22.753%
#24331

Pull #11001

github

pdurbin
stop loading Codemeta in Docker, add setDisplayOnCreate API #10519

In Docker, we were testing with the Codemeta block. This made for a nice
real-world story of creating a "software" dataset type and using it with
the Codemeta block.

The Codemeta block also has the advantage of having some fields that are
set to displayOnCreate, which helped us make assertions that the code is
working properly. It's the only non-citation block with fields set to
displayOnCreate.

However, Jenkins doesn't have the Codemeta block, meaning that tests are
failing. Also, we aren't ready to promote the Codemeta block to be
shipped with Dataverse because a new version is out:
https://github.com/IQSS/dataverse/issues/10859

So, we are switching from Codemeta to the Astrophysics block. We create
an "instrument" dataset type. Like all non-citation blocks (except for
Codemeta), there are no fields that are set to displayOnCreate=true.
Therefore, we added an API for this.
Pull Request #11001: allow links between dataset types and metadata blocks

2 of 103 new or added lines in 8 files covered. (1.94%)

3 existing lines in 3 files now uncovered.

19801 of 87102 relevant lines covered (22.73%)

0.23 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

40.0
/src/main/java/edu/harvard/iq/dataverse/dataset/DatasetType.java


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc