Skip to content

Latest commit

 

History

155 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rsmetacheck-bot

DOI SWH License: MIT Version Python 3.11--3.12 CI (build) Code style: ruff coverage interrogate rsmetacheck Validation

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.

Subscribe


📋 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.json file, 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

Install

pip install

pip install rsmetacheck-bot

uv

uv add rsmetacheck-bot

📚 Learn More


🛠️ For Maintainers Running This Bot

See CONTRIBUTING.md for setup and usage instructions.

Project storage policy: the repo-centric layout and migration rules are described in docs/output_storage.rst.

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).

Safe workflow for local validation

Use these commands when validating the bot without creating live issues:

  1. Legacy snapshot conversion
uv run sw-metadata-bot convert-legacy outputs/legacy_snapshot --target-root outputs/converted

This converts a legacy snapshot tree into the current repo-centric layout without publishing anything.

  1. Fresh dry-run analysis from scratch
uv run sw-metadata-bot run-analysis --config-file config.json --snapshot-tag 202603

This writes analysis outputs and run reports, but remains dry-run and does not create issues.

  1. Simulated publish review
uv run sw-metadata-bot simulate-publish --analysis-root outputs/batch-a/202603

This replays the analysis decisions with a fake issue client so you can review the generated issue bodies and opt-out logic without spamming real repositories.

Avoid the live publish command unless you explicitly want to create or update real repository issues.


📝 License

See LICENSE file.

About

A repository to keep the code of the RSMetaCheck bot for pushing issues with existing repository metadata

Resources

Contributing

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages