-
Notifications
You must be signed in to change notification settings - Fork 47
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
Centralize author metadata for consistency across document and zenodo.json #579
Comments
This sounds like a good idea to me. |
I agree, that's very useful. Thanks, Antonio @cofinoa. Could you include the |
I have added |
There are inconsistencies in the author affiliations between the CF Conventions document and the Zenodo metadata (also reflected in CITATION.cff) for the following authors:
These differences may create confusion since Zenodo metadata and CITATION.cff are often used for citations. Proposed Solution
Since Zenodo metadata for previous releases can still be updated, but CF Conventions documents cannot, it would be simpler to unify the text for future releases. Would you (@larsbarring, @czender) agree to unify your affiliation text? If so, which version would you prefer (CF Conventions or Zenodo)? Looking forward to your feedback. |
Thank you, Antonio. |
I would prefer the longer version used in the CF Conventions. Thanks @cofinoa. |
p.s. The longer version differentiate University of California from University of Colorado and from University of Cantabria. This will be helpful to those who do not know where (the hell) Irvine is. |
And I would prefer the shorter version "SMHI". Thanks for pointing this out Antonio @cofinoa |
Moderator
TBC
Moderator Status Review [last updated: YYYY-MM-DD]
Brief comment on current status, update periodically
Requirement Summary
The current workflow requires maintaining author information in multiple places, notably:
zenodo.json
: The authors are also listed in Zenodo metadata to facilitate citation and DOI registration.CITATION.cff
: The citation file used by GithubThis duplication of information increases the risk of inconsistencies, requires manual updates in multiple places, and increases the maintenance burden on contributors and maintainers. A single source of truth is required to ensure that author information is consistent and automatically propagated to all required locations.
Technical Proposal Summary
To resolve this, the proposal is to centralize author metadata into a single source of truth (
authors.adoc
), from which all other dependent files are automatically generated.Key changes:
authors.adoc
).update_authors.py
) will parseauthors.adoc
and generate the following files:zenodo.json
: Updates thecreators
JSON section of the file for Zenodo metadata.CITATION.cff
: Updates the citation CFF YAML authors section for citing purposes in GithubThis approach ensures that the author list is always consistent across all files and eliminates manual errors.
Benefits
authors.adoc
), and all other files are automatically updated.zenodo.json
,about-authors.adoc
, and header author attributes reduces manual intervention.Status Quo
Currently, multiple author entries exist in the following places:
zenodo.json
: The authors are listed in thecreators
JSON section of this file for Zenodo DOI registration.CITATION.cff
: The authors are listed in theauthors
YAML section of this file for citing purposes in Github.Maintaining and updating authors in all three places is tedious, error-prone, and requires multiple manual edits. This proposal aims to eliminate this redundancy.
Associated pull request
#580
Detailed Proposal
authors.adoc
I propose to use
authors.adoc
as the single source of truth for all author metadata. The file will contain metadata for eachauthor using Asciidoctor attributes. The attributes will include:
authors.adoc
FormatThe format will follow AsciiDoc attributes like this:
Key Points:
{nbsp}
is used to separate LastName, FirstName, and optional MiddleName.original
oradditional
which is being used for the About Authors sectionzenodo.json
.:author_1:
,:author_2:
, etc.) are automatically detected and processed.update_authors.py
)A script,
update_authors.py
, will automate the update ofzenodo.json
andCITATION.cff
files, and rewriteabout-authors.adoc
.How it Works
authors.adoc
: Extracts author metadata (name, affiliation, ORCID, and type).zenodo.json
: Populates the "creators" section with each author's name, affiliation, and ORCID.CITATION.cff
: Populates the "authors" YAML section with each author's given name, family name, affiliation, and ORCID (if applicable).about-authors.adoc
file: Writes splitting original and additional authors into a clean AsciiDoc format, which is being included by the main documentThe text was updated successfully, but these errors were encountered: