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

Include DOI and License information in the conventions document #513

Open
larsbarring opened this issue Mar 11, 2024 · 20 comments
Open

Include DOI and License information in the conventions document #513

larsbarring opened this issue Mar 11, 2024 · 20 comments
Labels
enhancement Proposals to add new capabilities, improve existing ones in the conventions, improve style or format

Comments

@larsbarring
Copy link
Contributor

larsbarring commented Mar 11, 2024

Title

Include DOI and License in the conventions document

Moderator

Not yet

Moderator Status Review [last updated: YYYY-MM-DD]

Not yet

Requirement Summary

In preparation of the implementation of DOIs (#127) and a Licence (io/#182) these information items should be clearly visible in the document. In a previous issue (#383 (closed)) it was a bit difficult to to tweak the "version line" of the documents. And adding even further information seems even less feasible. However the Asciidoctor system has a colophon section that turns out to be suitable. In this section various key information items about the document can be collected in a way that displays well both as html and pdf.

Technical Proposal Summary

From a text writing perspective the changes are simple, but to account for the slightly different needs of the draft and the released versions some github workflow automation is needed.

Benefits

Readers will find information about license, DOI, link to the web site, etc. collected in one place. Similarly, writers will be less constrained to difficult tweaking of the version line.

Associated pull request

#514 (draft PR)

Detailed Proposal

The following screen clips show of how the html documents may look like. The layout of the pdf documents are the same, except for that the section is at its own at the top of the second page, and then the Table of Content starts at the third page.

Draft html document:

image


Released html document:

The "{doi}" will of course be replaced by the real DOI for the version:

image

@larsbarring larsbarring added the enhancement Proposals to add new capabilities, improve existing ones in the conventions, improve style or format label Mar 11, 2024
@JonathanGregory
Copy link
Contributor

Dear @larsbarring

This is excellent. Many thanks and well done on working out how to do it.

Best wishes

Jonathan

@ethanrd
Copy link
Member

ethanrd commented Mar 11, 2024

Yes, second on Jonathan's comments. Excellent and many thanks Lars @larsbarring!

One point for discussion ... I think we need to decide if we should encourage citation of 1) the top level DOI with version information included in the citation or 2) the version specific DOIs (could also include version information in the citation but is also implicit in the DOI).

@larsbarring
Copy link
Contributor Author

Thanks @JonathanGregory and @ethanrd.

I think the draft PR pinpoints two things that needs to be addressed:

  1. Exactly the point you raise @ethanrd: how are the DOIs going to be organised (and generated). I was under the impression that there would be a separate one for each version of the conventions document (both the html and the pdf variants), and one overall that point to the website. Both these can be mentioned in the colophon section. And, a separate DOI series for the standard name tables. I think that it is useful to be able to make a distinction between the different versions of the conventions, and the standard name tables, in particular when looking back from sometime in the future.

  2. Already before introducing the enhancements that now are in the pipeline there were two separate author lists in the conventions documents alone. With the suggested colophon having a Use the following reference to cite this version of the document: there would be three. Add to that the .cff file and the zenodo.json, and we have five separate author lists. This will easily become problematic to maintain in tip-top shape.

I imagine that the 2 could be solved with some smart github workflow scripting, but I do not have the right skill set to do this. And there are still a few unsolved issues with the workflow script in the associated draft PR (hence the draft status). I think that it is a good time to call upon the Information Management and Support Team because I have reached as far as I can. Before that happens it would be good to sort out 1.

@davidhassell
Copy link
Contributor

a separate one for each version of the conventions document (both the html and the pdf variants), and one overall that point to the website

Could we also have one overall DOI that always resolves to the latest conventions document (as is often the case fore software DOIs)? This may be already the case, but I just wanted to check.

@larsbarring
Copy link
Contributor Author

Yes, indeed, I think that would be very useful to have in the website (not in the conventions document). I imagine that the colophon could show something like:

To cite the CF Conventions in general (not this particular document version) see this link: 
https://cfconventions.org/a-suitable-place

where the "a-suitable-place" would give further details including the overall DOI as well as the DOI for the current version of the conventions document.

@HeinkeH
Copy link

HeinkeH commented Apr 30, 2024

I'm a little confused about the orcids. I have sent my orcid a few years ago, but where can I check whether it has been taken over.
Is there a list of authors and orcids. Please send me a link to it. Here is my orcid again: https://orcid.org/0000-0002-0131-1404
Best wishes
Heinke

@larsbarring
Copy link
Contributor Author

larsbarring commented Apr 30, 2024

Hi Heinke,
Thanks for the reminder, I have passed on this to another issue.

@castelao
Copy link
Contributor

castelao commented May 4, 2024

I'm a little confused about the orcids. I have sent my orcid a few years ago, but where can I check whether it has been taken over. Is there a list of authors and orcids. Please send me a link to it. Here is my orcid again: https://orcid.org/0000-0002-0131-1404 Best wishes Heinke

Added on #443 . @HeinkeH , please double-check your ORCID there. Thanks,

@ethanrd
Copy link
Member

ethanrd commented May 13, 2024

David wrote:

Lars wrote:

a separate one for each version of the conventions document (both the html and the pdf variants), and one overall that point to the website

Could we also have one overall DOI that always resolves to the latest conventions document (as is often the case fore software DOIs)? This may be already the case, but I just wanted to check.

I believe all GitHub/Zenodo generated DOIs will point/dereference to a Zenodo landing page; where they point/dereference is not something that can be changed. So a DOI that points to the CF website is not something that can be done through Zenodo. However, there are other fields in the Zenodo DOI metadata that can be changed/added that could be used to point to the CF web site, e.g., RelatedItem or RelatedIdentifier.

With the GitHub/Zenodo integration, once the .zenodo.json file is pushed to the main branch, the first GH release will automatically generate two DOIs: one DOI for that release and one DOI that will always point to the latest release. From there on out, each release will do two things: 1) generate a new DOI for that specific release; and 2) update the "latest release" DOI to point to the latest release.

@larsbarring
Copy link
Contributor Author

Thanks for the clarification Ethan.

When thinking of it, having a DOI pointing to the website itself is not meaningful and not how DOIs are supposed to work. But having the current and version specific DOIs automatically generated should be useful.

I am not sure what the next steps are, to make any tangible progress with the associated PR, and the related question of how to unify/coordinate the different author lists (see here), I feel that I have reached as far as I can without substantial input, or taking over from here. Ping @cf-convention/info-mgmt

@JonathanGregory
Copy link
Contributor

Two weeks ago I asked if it was OK now to merge @castelao's PR, which will implement DOIs for the conventions by Zenodo. @castelao asked the same question. No-one has objected. If no-one objects today, I will merge the PR tomorrow and thus close issue 127 - the oldest one which is outstanding - unless someone else does it before me!

In that issue, Lars noted these two outstanding matters:

  • Implement the CFF file for the website (see draft PR #507)
  • How to keep all the different author lists in sync. (see this comment)

which are the ones he's asked in this issue as well.

@sadielbartholomew
Copy link
Member

sadielbartholomew commented May 14, 2024

I personally am happy with this to now be merged, but do have some thoughts regarding the follow-on PR CFF file aspect (namely #507, as Jonathan mentions), notably overall that we want to ensure there aren't multiple citations so that people might be confused which to use, i.e. have one canonical DOI including a per-version variant ideally - so on that note I will ask, is the intention to use the DOI created here and just reference that in the CFF citation file, or would that be a whole new DOI to cite that GitHub repository specifically (as I understand CFF files were designed for)? Apart from that question for anyone to answer, I can express my concerns about the CFF file over on that dedicated PR.

@JonathanGregory
Copy link
Contributor

I have merged #443, and thus closed #127 and cf-convention/discuss#178 as well. Thanks, Gui @castelao, for preparing the PR, and to everyone else who contributed.

The PR has created the file .zenodo.json. Have DOIs been created, as expected?

@castelao
Copy link
Contributor

@JonathanGregory, we need to link this repository to Zenodo. @ethanrd, would you like to do it together?

@JonathanGregory
Copy link
Contributor

I see that @ethanrd has created https://github.com/cf-convention/cf-conventions/releases/tag/DOI. What does this do?

@ethanrd
Copy link
Member

ethanrd commented May 29, 2024

Hi Jonathan,

@JonathanGregory wrote

I see that @ethanrd has created https://github.com/cf-convention/cf-conventions/releases/tag/DOI. What does this do?

Gui @castelao and I met last Friday and worked on linking the CF Conventions repository to Zenodo and then created a release called "DOI" to initiate the creation of two DOIs. The "DOI" release uses the "DOI" tag that we created, which points to the same commit as the v1.11.0 tag. (At least that was the intent, looks like it points to a different commit. I think that is OK for this initial DOI.)

The two DOIs are

We had to do a bit of manual editing of the DOI metadata but we think it is good to go now. Please take a look and see what you think. (Both the DOI links above will take you to the same Zenodo landing page which displays the CF Convention v1.11 DOI metadata. When the 1.12 release is made, the DOI ending in "7" will point to the v1.12 DOI page.)

Once we are all happy with the metadata, we can add a "How to Cite CF" page and announce more broadly. We can also add a DOI badge to the README.md file in the repo by adding the following line:

[![DOI](https://zenodo.org/badge/36864162.svg)](https://zenodo.org/doi/10.5281/zenodo.11288137)

@sadielbartholomew
Copy link
Member

@ethanrd, those DOIs otherwise look great but from just a skim read I notice a few issues with the authors list, namely that Charlie Zender appears twice and there are authors missing, for example David Hassell should be on there but I don't see his name (so there could easily be others missing). Thought I should mention in case it has yet to be noticed.

@ethanrd
Copy link
Member

ethanrd commented May 30, 2024

Thanks @sadielbartholomew - I fixed the duplicate Charlie and added David. I went through the author list again and it looks complete now. We haven't added contributors to this record yet, so it is just the authors currently.

@sadielbartholomew
Copy link
Member

Thanks Ethan for quickly amending that, it all seems good now.

@JonathanGregory
Copy link
Contributor

The DOI is great to have. Thanks, Ethan and Gui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Proposals to add new capabilities, improve existing ones in the conventions, improve style or format
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

7 participants