From 19daeed385b9dec05cc35276e7cb1aa2d2070aaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Fran=C3=A7ois?= Date: Wed, 3 Jun 2026 11:02:42 +0200 Subject: [PATCH 1/8] ci: add converter codemeta to zenodo --- .github/workflows/zenodo.yml | 27 +++++++++++++++++++++++++++ interrogate_badge.svg | 6 +++--- 2 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/zenodo.yml diff --git a/.github/workflows/zenodo.yml b/.github/workflows/zenodo.yml new file mode 100644 index 0000000..787aa79 --- /dev/null +++ b/.github/workflows/zenodo.yml @@ -0,0 +1,27 @@ +name: Update Zenodo Metadata + +on: + push: + paths: + - 'codemeta.json' + workflow_dispatch: + +jobs: + convert: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v6 + + - name: Convert CodeMeta to Zenodo + uses: escape2020/codemeta2zenodo@v1.1.0 + with: + overwrite: true + + - name: Commit changes + run: | + git config --local user.email "github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + git add .zenodo.json + git diff --quiet && git diff --staged --quiet || git commit -m "Update .zenodo.json from codemeta.json" + git push \ No newline at end of file diff --git a/interrogate_badge.svg b/interrogate_badge.svg index d52599c..bc91d28 100644 --- a/interrogate_badge.svg +++ b/interrogate_badge.svg @@ -1,5 +1,5 @@ - interrogate: 98.2% + interrogate: 100% @@ -12,8 +12,8 @@ interrogate interrogate - 98.2% - 98.2% + 100% + 100% From 7ce8023738b640371f5789cefc444f700d2e4240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Fran=C3=A7ois?= Date: Wed, 3 Jun 2026 11:08:06 +0200 Subject: [PATCH 2/8] Bump version to 0.5.1 --- README.md | 2 +- codemeta.json | 4 ++-- pyproject.toml | 2 +- uv.lock | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f3fa5da..00528d9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.19468976.svg)](https://doi.org/10.5281/zenodo.19468976) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) -[![Version](https://img.shields.io/badge/version-0.5.0-blue.svg)](https://github.com/SoftwareUnderstanding/sw-metadata-bot/releases) +[![Version](https://img.shields.io/badge/version-0.5.1-blue.svg)](https://github.com/SoftwareUnderstanding/sw-metadata-bot/releases) [![Python 3.11--3.12](https://img.shields.io/badge/python-3.11--3.12-blue.svg)](https://www.python.org/downloads/) [![CI (build)](https://github.com/SoftwareUnderstanding/sw-metadata-bot/actions/workflows/ci.yml/badge.svg)](https://github.com/SoftwareUnderstanding/sw-metadata-bot/actions/workflows/ci.yml) [![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://github.com/astral-sh/ruff) diff --git a/codemeta.json b/codemeta.json index 73f27aa..53edc4b 100644 --- a/codemeta.json +++ b/codemeta.json @@ -14,7 +14,7 @@ "email": "tom.francois@lapp.in2p3.fr", "@id": "https://orcid.org/0000-0001-5226-3089", "givenName": "Tom", - "familyName": "François", + "familyName": "Fran\u00e7ois", "@type": "Person" } ], @@ -47,7 +47,7 @@ "python-dotenv>=1.0.0", "requests>=2.32.5" ], - "version": "0.5.0", + "version": "0.5.1", "codemeta:contIntegration": { "@id": "https://raw.githubusercontent.com/SoftwareUnderstanding/sw-metadata-bot/main/.github/workflows/ci.yml" }, diff --git a/pyproject.toml b/pyproject.toml index b4f08f5..f23c008 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "sw-metadata-bot" -version = "0.5.0" +version = "0.5.1" description = "Metadata quality bot for software repositories, leveraging metacheck for analysis and GitHub/GitLab APIs for issue management." readme = "README.md" requires-python = ">=3.11,<3.13" diff --git a/uv.lock b/uv.lock index 8f3e1af..536d348 100644 --- a/uv.lock +++ b/uv.lock @@ -5053,7 +5053,7 @@ wheels = [ [[package]] name = "sw-metadata-bot" -version = "0.5.0" +version = "0.5.1" source = { editable = "." } dependencies = [ { name = "click" }, From 305296d7ce7feaf8e219fd218fb0ba7d9cbb1bd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Fran=C3=A7ois?= Date: Wed, 3 Jun 2026 13:45:59 +0200 Subject: [PATCH 3/8] doc: tmp change codemeta context to be validated by codemeta2zenodo action --- codemeta.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codemeta.json b/codemeta.json index 53edc4b..eeacd44 100644 --- a/codemeta.json +++ b/codemeta.json @@ -1,5 +1,5 @@ { - "@context": "https://w3id.org/codemeta/3.0", + "@context": "https://raw.githubusercontent.com/codemeta/codemeta/3.0/codemeta.jsonld", "applicationCategory": "SoftwareSourceCode", "author": [ { From c3589e9bd6fbbf8fa6701434df70b2a77cba09b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Fran=C3=A7ois?= Date: Wed, 3 Jun 2026 15:59:52 +0200 Subject: [PATCH 4/8] doc: update codemeta.json with values accepted by eossr-codemeta2zenodo --- codemeta.json | 49 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 46 insertions(+), 3 deletions(-) diff --git a/codemeta.json b/codemeta.json index eeacd44..2c53c43 100644 --- a/codemeta.json +++ b/codemeta.json @@ -4,7 +4,8 @@ "author": [ { "@id": "https://github.com/SoftwareUnderstanding", - "@type": "Organization" + "@type": "Organization", + "name":"Software Understanding" }, { "affiliation": { @@ -18,6 +19,41 @@ "@type": "Person" } ], + "contributor": [ + { + "id": "https://orcid.org/0000-0002-5686-2078", + "@type": "Person", + "affiliation": { + "@type": "Organization", + "name": "Univ. Savoie Mont-Blanc, CNRS, LAPP" + }, + "email": "thomas.vuillaume@lapp.in2p3.fr", + "familyName": "Vuillaume", + "givenName": "Thomas" + }, + { + "id": "https://orcid.org/0000-0003-0454-7145", + "@type": "Person", + "affiliation": { + "@type": "Organization", + "name": "Universidad Politécnica de Madrid " + }, + "email": "daniel.garijo@upm.es", + "familyName": "Garijo", + "givenName": "Daniel" + }, + { + "id": "https://orcid.org/0009-0005-6868-4511", + "@type": "Person", + "affiliation": { + "@type": "Organization", + "name": "Universidad Politécnica de Madrid " + }, + "email": "elhounsri.anas@gmail.com", + "familyName": "El Hounsri", + "givenName": "Anas" + } + ], "codeRepository": "https://github.com/SoftwareUnderstanding/sw-metadata-bot", "dateCreated": "2025-12-15", "dateModified": "2026-06-03", @@ -39,6 +75,7 @@ "version": "3" } ], + "runtimePlatform": "Python 3.11, Python 3.12", "releaseNotes": "## What's Changed\n* Fix beta test feedbacks by @francoto in https://github.com/SoftwareUnderstanding/sw-metadata-bot/pull/7\n\n\n**Full Changelog**: https://github.com/SoftwareUnderstanding/sw-metadata-bot/compare/v0.1.0...v0.1.1", "softwareRequirements": [ @@ -48,9 +85,15 @@ "requests>=2.32.5" ], "version": "0.5.1", - "codemeta:contIntegration": { - "@id": "https://raw.githubusercontent.com/SoftwareUnderstanding/sw-metadata-bot/main/.github/workflows/ci.yml" + "softwareVersion": "0.5.1", + "maintainer": { + "@id": "https://orcid.org/0000-0001-5226-3089", + "givenName": "Tom", + "familyName": "Fran\u00e7ois", + "email": "tom.francois@lapp.in2p3.fr", + "@type": "Person" }, + "readme": "https://raw.githubusercontent.com/SoftwareUnderstanding/sw-metadata-bot/main/README.md", "continuousIntegration": "https://raw.githubusercontent.com/SoftwareUnderstanding/sw-metadata-bot/main/.github/workflows/ci.yml", "developmentStatus": "active", "issueTracker": "https://github.com/SoftwareUnderstanding/sw-metadata-bot/issues", From b981c397699e5c1cbec72b3feca4c1c204f0406e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Fran=C3=A7ois?= Date: Wed, 3 Jun 2026 16:05:09 +0200 Subject: [PATCH 5/8] ci: update codemeta2zenodo action version to 1.3 --- .github/workflows/zenodo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/zenodo.yml b/.github/workflows/zenodo.yml index 787aa79..c3b32f3 100644 --- a/.github/workflows/zenodo.yml +++ b/.github/workflows/zenodo.yml @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@v6 - name: Convert CodeMeta to Zenodo - uses: escape2020/codemeta2zenodo@v1.1.0 + uses: escape2020/codemeta2zenodo@v1.3.0 with: overwrite: true From 49d3d8bcf039c010b11da372ead6361a88b689db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Fran=C3=A7ois?= Date: Wed, 3 Jun 2026 16:10:36 +0200 Subject: [PATCH 6/8] doc: small change on codemeta.json --- codemeta.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codemeta.json b/codemeta.json index 2c53c43..5653052 100644 --- a/codemeta.json +++ b/codemeta.json @@ -49,7 +49,7 @@ "@type": "Organization", "name": "Universidad Politécnica de Madrid " }, - "email": "elhounsri.anas@gmail.com", + "email": "a.elhounsri@upm.es", "familyName": "El Hounsri", "givenName": "Anas" } From 24a71d7589a3adc473710c482393afda6464537d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 3 Jun 2026 14:11:16 +0000 Subject: [PATCH 7/8] Update .zenodo.json from codemeta.json --- .zenodo.json | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 .zenodo.json diff --git a/.zenodo.json b/.zenodo.json new file mode 100644 index 0000000..164b4e6 --- /dev/null +++ b/.zenodo.json @@ -0,0 +1,61 @@ +{ + "upload_type": "software", + "creators": [ + { + "name": "Software Understanding" + }, + { + "name": "Tom François", + "affiliation": "Univ. Savoie Mont-Blanc, CNRS, LAPP", + "orcid": "https://orcid.org/0000-0001-5226-3089" + } + ], + "contributors": [ + { + "name": "Thomas Vuillaume", + "affiliation": "Univ. Savoie Mont-Blanc, CNRS, LAPP", + "type": "Other" + }, + { + "name": "Daniel Garijo", + "affiliation": "Universidad Politécnica de Madrid ", + "type": "Other" + }, + { + "name": "Anas El Hounsri", + "affiliation": "Universidad Politécnica de Madrid ", + "type": "Other" + }, + { + "name": "Tom François", + "orcid": "https://orcid.org/0000-0001-5226-3089", + "type": "ContactPerson" + } + ], + "related_identifiers": [ + { + "scheme": "url", + "identifier": "https://github.com/SoftwareUnderstanding/sw-metadata-bot", + "relation": "isDerivedFrom", + "resource_type": "software" + }, + { + "scheme": "url", + "identifier": "https://raw.githubusercontent.com/SoftwareUnderstanding/sw-metadata-bot/main/README.md", + "relation": "isDocumentedBy", + "resource_type": "publication-softwaredocumentation" + } + ], + "publication_date": "2026-01-16", + "description": "A repository to keep the code of the RSMetaCheck bot for pushing issues with existing repository metadata", + "keywords": [ + "codemeta", + "bot", + "software", + "metadata" + ], + "license": "mit", + "title": "sw-metadata-bot", + "version": "0.5.1", + "access_right": "open" +} \ No newline at end of file From 77d264217a46070d05b994ef9a3bfd811b6b6a23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Fran=C3=A7ois?= Date: Wed, 3 Jun 2026 16:18:26 +0200 Subject: [PATCH 8/8] doc: reset codemeta context to w3id.org link --- codemeta.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codemeta.json b/codemeta.json index 5653052..360f64e 100644 --- a/codemeta.json +++ b/codemeta.json @@ -1,5 +1,5 @@ { - "@context": "https://raw.githubusercontent.com/codemeta/codemeta/3.0/codemeta.jsonld", + "@context": "https://w3id.org/codemeta/3.0", "applicationCategory": "SoftwareSourceCode", "author": [ {