Skip to main content

Metadata quality bot for software repositories, leveraging metacheck for analysis and GitHub/GitLab APIs for issue management.

Project description

sw-metadata-bot

License: MIT Version Python 3.10--3.12 CI (build) Code style: ruff coverage interrogate

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.

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

Example Issues You Might See

  • Missing or incomplete LICENSE file
  • No CITATION.cff file (for software citation)
  • Incomplete or missing README sections
  • Missing repository metadata (topics, description, etc.)
  • Outdated dependencies
  • Missing software documentation

💬 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


🛠️ 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

Future:

  • Self-hosted GitLab instances

📝 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

sw_metadata_bot-0.3.1.tar.gz (43.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sw_metadata_bot-0.3.1-py3-none-any.whl (37.3 kB view details)

Uploaded Python 3

File details

Details for the file sw_metadata_bot-0.3.1.tar.gz.

File metadata

  • Download URL: sw_metadata_bot-0.3.1.tar.gz
  • Upload date:
  • Size: 43.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for sw_metadata_bot-0.3.1.tar.gz
Algorithm Hash digest
SHA256 9d031a7e85416b03b86545e5368af7286e460a2a15fb8aeb58e7223e8c21e99b
MD5 63064dfc62625ec105dc64c98beb40d8
BLAKE2b-256 e8451fd7271e944d3048348588ec96555798c327a779184b96c0dad59d35eb4e

See more details on using hashes here.

File details

Details for the file sw_metadata_bot-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sw_metadata_bot-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0cf43e3254e392a40e5104cbc13819fac851e369a937794f490f4308b5389be5
MD5 c0cbd0313a543d6745ae04a835e239b3
BLAKE2b-256 3419d950c76df5633a5d1285d2fe909c5c5a22f9d385e3145dc0041ba9e95511

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page