diff --git a/.github/workflows/zenodo.yml b/.github/workflows/zenodo.yml new file mode 100644 index 0000000..c3b32f3 --- /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.3.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/.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 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..360f64e 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": { @@ -14,10 +15,45 @@ "email": "tom.francois@lapp.in2p3.fr", "@id": "https://orcid.org/0000-0001-5226-3089", "givenName": "Tom", - "familyName": "François", + "familyName": "Fran\u00e7ois", "@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": "a.elhounsri@upm.es", + "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": [ @@ -47,10 +84,16 @@ "python-dotenv>=1.0.0", "requests>=2.32.5" ], - "version": "0.5.0", - "codemeta:contIntegration": { - "@id": "https://raw.githubusercontent.com/SoftwareUnderstanding/sw-metadata-bot/main/.github/workflows/ci.yml" + "version": "0.5.1", + "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", 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% 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" },