Make MDC DataCite URl configurable#6265
Conversation
|
Can one of the admins verify this patch? |
pdurbin
left a comment
There was a problem hiding this comment.
Looks good so I'm passing to QA but there's a fair amount to test here (not that that's bad, just sayin'):
- The installer has been updated.
- A new JVM option has been added.
- docker-aio has been updated (used for testing the JVM option, I assume)
- The docs have been updated.
I didn't build or test any of the above but all the changes make sense to me.
I guess my only feedback for @qqmyers is that it might be nice to update the Make Data Count documentation, maybe in the Admin Guide or the Dev Guide to mention the new JVM option. Both guides have pages on Make Data Count.
|
./install |
|
run tests |
|
I have built and checked the docs, tested the endpoints. Had trouble running the installation script -think it may just be missing a , when adding an addition element to list. Have not checked whether Dataverse actually uses the new MDC setting. |
|
Yeah, it looks like there may be two places in the Perl script where commas are missing. |
|
Thanks @qqmyers. Ready for us to take another look? |
|
@djbrooke - Yep. BTW - When the fix is pretty obvious as it was here (two commas), you guys should feel free to make the change and keep going. (You're welcome to edit any time but here it definitely seems like more effort to document the issue, reassign, wait, etc.) I'm happy to support PRs when that makes less work for you guys, but no need for more work either. |
|
Thanks @qqmyers, I'll try to do a better job keeping on top of when small changes need to be done and having us do them. |
|
installer: Jim, are you able to test run the installer on your end? Phil, thanks for adding the logger so I can check which url is used. |
|
@kcondon - just updated the naming for the jvm option. (the api code was also different). I'm not really able to run the installer - really working on our branch and using the auto build/deploy process we have so I'm really guessing on changes to the various scripts. |
|
@pdurbin - thanks for adding logging, and, as for hacking on Dataverse, at least you get a T-shirt this month :-) |
|
For the main installer script to work, could you please add the following 2 lines to scripts/installer/install, at line 1104: (it was missing it for the DOI_BASEURL variable too, yes;) I would do it myself, but the branch is in your repository. |
add logging of MDC citation get URL and tweak docs IQSS#6137
Yeah, I got "ERROR: Permission to QualitativeDataRepository/dataverse.git denied to pdurbin." when I tried to I haven't looked at the Perl script yet and don't plan to unless someone wants me to. |
|
Sorry, it is WAY to easy to accidentally close a pull request. Re-opened! I mis-clicked. 😞 |
|
@kcondon in order to bump up the logging to see "Requesting citations from https://api.datacite.org/events?doi=10.5072/FK2/BL2IBM&source=crossref" (or whatever) in server.log, you can run this: asadmin set-log-levels edu.harvard.iq.dataverse.api.MakeDataCountApi=FINE |
|
@qqmyers FWIW I tried update two weeks ago what I eventually mentioned in #6265 (comment) and was also denied. I assumed it was due to me being not good at Github. :) Sorry, I should have raised the flag then. |

New Contributors
Welcome! New contributors should at least glance at CONTRIBUTING.md, especially the section on pull requests where we encourage you to reach out to other developers before you start coding. Also, please note that we measure code coverage and prefer you write unit tests. Pull requests can still be reviewed without tests or completion of the checklist outlined below. Note that we use the "closes" syntax below to trigger Github's automation to close the corresponding issue once the pull request is merged.
Thanks for your contribution to Dataverse!
Related Issues
Pull Request Checklist