Metadata quality bot for software repositories, leveraging metacheck for analysis and GitHub/GitLab APIs for issue management.
Project description
sw-metadata-bot
An automated bot that analyzes repository metadata quality and creates issues with improvement suggestions.
Part of the CodeMetaSoft project to improve research software metadata quality.
📋 What This Bot Does
If you received an issue from this bot, it means your repository's metadata was automatically analyzed and some improvements were detected on the main default branch.
The issue contains:
- Pitfalls: Critical metadata issues that should be fixed
- Warnings: Metadata improvements that are recommended
- Suggestions: Specific recommendations on how to fix each issue
- Codemeta.json generation: if your repo does not contain any
codemeta.jsonfile, the bot suggests one.
Example Issues You Might See
### [P002](https://w3id.org/rsmetacheck/catalog/#P002)
**Evidence:** P002 detected: LICENSE file contains unreplaced template placeholders
**Suggestion:** Update the copyright section with accurate names, organizations, and the current year. Personalizing this section ensures clarity and legal accuracy.
💬 How to Respond
If You Agree with the Suggestions
Fix the identified issues and close the issue with a comment explaining what you fixed. Your improvements help your software become more discoverable and citable!
If You Disagree or Have Questions
Feel free to comment on the issue. We're happy to discuss the suggestions and help clarify what's needed.
If You're Not Interested
Simply comment "unsubscribe" on the issue and we'll remove your repository from future analysis.
🔍 What Analysis Is Used
This bot uses RSMetaCheck, which analyzes:
- Software metadata completeness
- Citation and documentation quality
- Repository structure and best practices
The bot does not:
- Modify your code or files
- Make pull requests
- Have access to your repository secrets
📚 Learn More
- CodeMetaSoft Project - About the initiative
- RSMetaCheck - The analysis tool
- Citation File Format - How to add CITATION.cff
🛠️ For Maintainers Running This Bot
See CONTRIBUTING.md for setup and usage instructions.
The pipeline is config driven: one JSON file defines the repository list, issue message, inline opt-outs, and output layout.
Supported platforms:
- ✅ GitHub.com
- ✅ Gitlab.com
The bot is handling self-hosted gitlab platform but requires providing a token to this server (and not gitlab.com).
📝 License
See LICENSE file.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sw_metadata_bot-0.4.3.tar.gz.
File metadata
- Download URL: sw_metadata_bot-0.4.3.tar.gz
- Upload date:
- Size: 54.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
819fcd8bd08e1ae19cf866cf6241ba48a31d4f29ca014676fbcde181af7cb5a9
|
|
| MD5 |
30f1b281b5025f2aa7597f0e2c61956d
|
|
| BLAKE2b-256 |
45ebbebf0839493e6d0e48347c14193dcddfa756669644c3dd8861fd66cfaa58
|
Provenance
The following attestation bundles were made for sw_metadata_bot-0.4.3.tar.gz:
Publisher:
ci.yml on SoftwareUnderstanding/sw-metadata-bot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sw_metadata_bot-0.4.3.tar.gz -
Subject digest:
819fcd8bd08e1ae19cf866cf6241ba48a31d4f29ca014676fbcde181af7cb5a9 - Sigstore transparency entry: 1440004485
- Sigstore integration time:
-
Permalink:
SoftwareUnderstanding/sw-metadata-bot@ee196966690f11a6f31b3cad015aecdd8e2df228 -
Branch / Tag:
refs/tags/v0.4.3 - Owner: https://github.com/SoftwareUnderstanding
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@ee196966690f11a6f31b3cad015aecdd8e2df228 -
Trigger Event:
release
-
Statement type:
File details
Details for the file sw_metadata_bot-0.4.3-py3-none-any.whl.
File metadata
- Download URL: sw_metadata_bot-0.4.3-py3-none-any.whl
- Upload date:
- Size: 47.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc64c95d0f07d6d170ee2c4e8c59c8c7fab00b8db87785818ee9acc45327e86b
|
|
| MD5 |
fb5c3936081437458e8378e992f5c7e5
|
|
| BLAKE2b-256 |
4d5a2332ffb9b7d312305e367dddac1b205cacb1eebb4b05337b7e09f4272f95
|
Provenance
The following attestation bundles were made for sw_metadata_bot-0.4.3-py3-none-any.whl:
Publisher:
ci.yml on SoftwareUnderstanding/sw-metadata-bot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sw_metadata_bot-0.4.3-py3-none-any.whl -
Subject digest:
cc64c95d0f07d6d170ee2c4e8c59c8c7fab00b8db87785818ee9acc45327e86b - Sigstore transparency entry: 1440004502
- Sigstore integration time:
-
Permalink:
SoftwareUnderstanding/sw-metadata-bot@ee196966690f11a6f31b3cad015aecdd8e2df228 -
Branch / Tag:
refs/tags/v0.4.3 - Owner: https://github.com/SoftwareUnderstanding
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@ee196966690f11a6f31b3cad015aecdd8e2df228 -
Trigger Event:
release
-
Statement type: