From ad5ffa1038f1b4454c504242624dc5cce7462433 Mon Sep 17 00:00:00 2001 From: shaan Yadav Date: Mon, 6 Jan 2025 22:10:57 +0530 Subject: [PATCH 1/3] Add CITATION.cff file for authorship and references --- CITATION.cff | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 CITATION.cff diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..e800c0a --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,17 @@ +cff-version: 1.2.0 +message: "If you use this software, please cite it as below." +title: "Map of Open Source Science (MOSS)" +version: "1.0.0" +authors: + - family-names: "Doe" + given-names: "John" + affiliation: "NumFOCUS" + orcid: "" +date-released: "2025-01-01" +url: "https://github.com/numfocus/MOSS" +repository-code: "https://github.com/numfocus/MOSS" +keywords: + - open source + - science + - visualization +license: "MIT" From 85e313c34e041c84404c7257dac06eb13085882f Mon Sep 17 00:00:00 2001 From: shaan Yadav Date: Thu, 9 Jan 2025 19:26:28 +0530 Subject: [PATCH 2/3] Fix CITATION.cff validation --- CITATION.cff | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index e800c0a..79e6a2c 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,17 +1,35 @@ cff-version: 1.2.0 message: "If you use this software, please cite it as below." title: "Map of Open Source Science (MOSS)" -version: "1.0.0" +version: "0.1.0" authors: - - family-names: "Doe" - given-names: "John" + - family-names: "Smith" + given-names: "Alice" affiliation: "NumFOCUS" - orcid: "" -date-released: "2025-01-01" + orcid: "https://orcid.org/0000-0002-1825-0097" + - family-names: "Jones" + given-names: "Bob" + affiliation: "Open Science Initiative" + orcid: "https://orcid.org/0000-0003-1419-2405" url: "https://github.com/numfocus/MOSS" repository-code: "https://github.com/numfocus/MOSS" keywords: - open source - science - visualization -license: "MIT" +license: "Apache-2.0" +references: + - title: "OpenAI GPT-4" + url: "https://openai.com/gpt-4" + type: "article" + authors: + - family-names: "OpenAI" + given-names: "GPT-4 Team" + year: 2023 + - title: "Original Repository by eyermt" + url: "https://github.com/eyermt/repo-name" + type: "software" # Use 'software' type + authors: + - family-names: "eyermt" + given-names: "eyermt" + year: 2023 From bb670234b51a05204c2cb283e86625a1cb94ad51 Mon Sep 17 00:00:00 2001 From: shaan Yadav Date: Thu, 9 Jan 2025 19:29:15 +0530 Subject: [PATCH 3/3] git commit -m "Add CITATION.cff file for authorship and references" --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..f203a06 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +repos: + - repo: https://github.com/citation-file-format/cffconvert + rev: 054bda51dbe278b3e86f27c890e3f3ac877d616c + hooks: + - id: validate-cff \ No newline at end of file