Skip to content

Cherry picks from GIN DOI changes #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 3, 2019

Conversation

achilleas-k
Copy link
Member

@achilleas-k achilleas-k commented May 29, 2019

Cherry picked commits from #42 and #43 and resolved conflicts for rebased branch.

@achilleas-k
Copy link
Member Author

achilleas-k commented May 29, 2019

Added a fix for constructing the URL query for triggering the DOI request. Some parts of the string weren't being (un)escaped properly.

Minor changes to comments and descriptions in the datacite.yml file
template.  DType renamed to ResourceType.  References can be other kinds
of identifiers, not just DOI (arXiv and PubMed ID supported).
Renamed DOI configuration variables and structs to avoid stuttering:
Doi.DoiUrl -> DOI.URL
Doi.DoiKey -> DOI.Key
etc
The original loop breaks after finding a readme file, so if the readme
is found before the datacite, the loop breaks and the datacite is never
found.  We could modify it so that it keeps running until the end, but
I don't want to make bigger changes to the existing upstream code.  It
would also change the behaviour when there are multiple files that are
detected as README files (which is a separate issue).
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