Are there any 5.14 tasks you'd like to hack on?
Ha! Quid pro quo?
What would you like me to hack on?
https://github.com/IQSS/dataverse/issues/9633 I guess?!?
It's the only thing at https://github.com/IQSS/dataverse/milestones/5.14 that makes sense, really.
The rest is in progress or whatever.
Unless you'd like to review something.
OK what would you like me to do - just a simple fix or also add some test to load the TSV and try to add the dataset?
You shouldn't need to load any TSVs but you will need to enable the default blocks.
And then add an API test for dataset-create-new-all-default-fields.json please.
Ah beloved API tests
Some preferred test class for this? DatasetIT?
You can set blocks like this:
UtilIT.setMetadataBlocks(dataverseAlias, Json.createArrayBuilder().add("citation").add("astrophysics"), apiToken);
Tempted to also convert that testclass into JUnit5 while in there, so we can make use of more interesting things down the road
You're also welcome to create a fresh testclass.
Orly?
As long as you add it to the list in test/integration-tests.txt
Yikes.
Yes, plenty of tech debt.
Who needs tags for selecting tests when we can have a text file :-D
T-T
There already is DatasetsIT.testExport() using scripts/api/data/dataset-create-new.json so I'm just going to add a new test there
Oh wait we have a MetadataBlocksIT! That seems like an even better fit
Go go go
https://github.com/IQSS/dataverse/pull/9636
Looks good! Just waiting for the tests to pass.
Thanks!
You're welcome!
Test (not tests) passed on localhost. Obviously using dockerized test instance :-D (And failed before applying the fix... TDD for the win)
I figured but you know. :happy: Worth the wait.
Also found another error with a wrong CV term
I did not add blocks - suppose they are installed by default...
Haha Jenkins failed
Let me guess... Dead S3
Yupp.
TASK [dataverse : download payara zip] *********
fatal: [localhost]: FAILED! => {"changed": false, "dest": "/tmp/payara.zip", "elapsed": 0, "msg": "Request failed", "response": "HTTP Error 404: Not Found", "status_code": 404, "url": "https://s3-eu-west-1.amazonaws.com/payara.fish/Payara+Downloads/5.2022.3/payara-5.2022.3.zip"}
@Don Sizemore can we help? Nevermind. He said "I can update the role defaults tomorrow" on dv-tech.
Woof. Good to know the Payara thing is breaking Jenkins. Thanks.
Philip Durbin said:
Woof. Good to know the Payara thing is breaking Jenkins. Thanks.
This is fixed: https://jenkins.dataverse.org/job/IQSS-dataverse-develop/1368/console
@Don Sizemore thanks!
@Oliver Bertuch I'm running another build: https://jenkins.dataverse.org/job/IQSS-Dataverse-Develop-PR/job/PR-9636/2/
Go go go!
Suppose this is not on me. https://jenkins.dataverse.org/job/IQSS-Dataverse-Develop-PR/job/PR-9636/lastFailedBuild/testReport/edu.harvard.iq.dataverse.api/FilesIT/testGetFileInfo/
Yes, thanks. Left a comment and rerunning.
Any hacking tonight?
I just noticed you can't publish the dataset added in this PR: https://github.com/IQSS/dataverse/pull/9636#issuecomment-1595271965
@Oliver Bertuch what do you think? Should I create a new issue?
Probably. And maybe we should add to testing to publish it, too.
Leonid just stopped by to chat about it.
On his non-Docker setup his dataset gets a license. I wonder what the difference is.
False alarm. Something weird in my environment, maybe: https://github.com/IQSS/dataverse/pull/9636#issuecomment-1599327764
5.14 is out! https://github.com/IQSS/dataverse/releases/tag/v5.14
Philip Durbin has marked this topic as resolved.
Last updated: Nov 01 2025 at 14:11 UTC