Skip to content

Add a CITATION.cff - #272

Merged
MakisH merged 5 commits into
mainfrom
citation
Sep 11, 2026
Merged

Add a CITATION.cff#272
MakisH merged 5 commits into
mainfrom
citation

Conversation

@MakisH

@MakisH MakisH commented May 25, 2026

Copy link
Copy Markdown
Contributor

As suggested by @uekerman, this points to https://doi.org/10.5281/zenodo.18823855, until we have a proper publication of the material.

The file passes validation. I had to use type: article for the preferred-citation (presentation was not accepted).

Schema: https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md

@MakisH MakisH self-assigned this May 25, 2026
@MakisH
MakisH requested a review from uekerman May 25, 2026 14:54

@uekerman uekerman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With cff, I am always confused what goes on the top level and what on the preferred-citation level. Shouldn't doi, data-released, and version point to the repo itself?

Comment thread CITATION.cff Outdated
Comment thread CITATION.cff Outdated
@MakisH

MakisH commented May 26, 2026

Copy link
Copy Markdown
Contributor Author

With cff, I am always confused what goes on the top level and what on the preferred-citation level. Shouldn't doi, data-released, and version point to the repo itself?

For that, we would need a release of the repository published on Zenodo, which is a different path (but the intended one by CFF).

@uekerman

Copy link
Copy Markdown
Member

For that, we would need a release of the repository published on Zenodo, which is a different path (but the intended one by CFF).

This is probably what we should do in the future: release after each semester. So, we hack the system currently? And we are doing the best possible hack? :)

MakisH and others added 2 commits September 9, 2026 17:11
Co-authored-by: Benjamin Uekermann <benjamin.uekermann@ipvs.uni-stuttgart.de>
@MakisH

MakisH commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

Looking again at the description of the preferred-citation:

Credit redirection

Sometimes you want to redirect any credit your work may receive towards a second work (typically one of your own). A
common example is, that when you write software and then write a paper about it, you may want to be credited for the paper
instead of for the software itself. For this case, your CITATION.cff should contain metadata about the software at
the root of the CITATION.cff file, but additionally, you can add a preferred-citation key with the metadata of
the paper (or other work) you want people to cite. Usually, the message also reflects the authors' wishes on how they want to be credited.

authors:
  - family-names: Druskat
    given-names: Stephan
cff-version: 1.2.0
message: "If you use this software, please cite both the article from preferred-citation and the software itself."
preferred-citation:
  authors:
    - family-names: Druskat
      given-names: Stephan
  title: "Software paper about My Research Software"
  type: article
title: "My Research Software"

In the way I have currently written this, it corresponds to the repository version, which we indeed do not have (but should have). However, a version is not required in the minimal example:

A minimal example of a valid CITATION.cff file, that contains only the required keys, could look like this:

authors:
  - family-names: Druskat
    given-names: Stephan
cff-version: 1.2.0
message: "If you use this software, please cite it using these metadata."
title: "My Research Software"

Therefore, I suggest:

  • Root:
    • Removing the version, since we don't have a release yet,
    • Remove the DOI, since the repository is not yet archived
  • preferred-citation:
    • Move the DOI there
    • Move the version there, as v1

That would already pass validation.

However, I prefer to release the material now and put it on Zenodo, to be able to start modifying it. Would you like to reserve a DOI for it on Zenodo, or should I?

We still need a versioning system. Let's go with vYYYYMM.patch, similarly to the preCICE tutorials. If you are fine with this, I will prepare the release.

In this way, we get the snapshot archived, and we signal that we prefer the presentation to be cited.

@MakisH

MakisH commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

Reserved DOI https://doi.org/10.18419/DARUS-6463

Merging this PR to make a release and continue with the files upload.

@MakisH
MakisH merged commit 5cbd8cc into main Sep 11, 2026
4 checks passed
@MakisH
MakisH deleted the citation branch September 11, 2026 14:25
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