Skip to content
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

Updating DOI changes publication year #2160

Open
bemoody opened this issue Dec 5, 2023 · 3 comments
Open

Updating DOI changes publication year #2160

bemoody opened this issue Dec 5, 2023 · 3 comments

Comments

@bemoody
Copy link
Collaborator

bemoody commented Dec 5, 2023

console.utility.generate_doi_payload generates the JSON metadata that is sent to the DataCite API, either to register, publish, or update a DOI.

This includes:

                "publicationYear": timezone.now().year,

which seems very wrong.

@tompollard
Copy link
Member

Good catch!

@tompollard
Copy link
Member

When creating the DOI for core_projects (which points to the latest version of the project), do you agree that we should set the PublicationYear to the latest version of the project?

@bemoody
Copy link
Collaborator Author

bemoody commented Dec 5, 2023

Yeah, I think the core project DOI info should match the latest version, including publication year.

I'm not sure what happens right now if you go to a "non-latest-version" management page and click "Update metadata (core)".

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

No branches or pull requests

2 participants