Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add status badges in README.md #968

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Lastique
Copy link
Member

This PR adds a new script status/update_status_badges.py. The script scans through git submodules in the superproject and generates a table with CI status badges as well as other relevant links for all the submodules. Multiple tables can be created for different git branches.

The script inserts the generated content between two marker Markdown comments in README.md, removing any previous content between them. This allows the script to be simply rerun to update the list of submodules.

This PR also adds the generated tables with CI badges for master and develop in README.md. You may view the result here.

The intended workflow is to run status/update_status_badges.py periodically when new git submodules are added or removed from the superproject, or the CI badges are added or removed in the submodules. It might be a good idea to run the script every once in a while (e.g. before a new Boost release preparation starts) to make sure the badges are up to date. Note that you do not need to run this script to update badge statuses (i.e. whether the CIs are passing or failing). This happens automatically as this information is pulled from CI via the badge image URLs.

I believe, this information could be useful to Boost release managers (@mclow, @glenfe, @igaztanaga) in order to monitor overall Boost health during the release preparation. This is specifically useful for monitoring libraries that are not actively maintained, as it sometimes happens that breakages that are visible on CI are not noticed by anyone until after the release.

I'm also open to suggestions on how this can be improved to be more useful. Also please let me know if this is not useful at all and not worth the effort.

The script scans through git submodules in the superproject and generates
a table with CI status badges as well as other relevant links for all the
submodules. Multiple tables can be created for different git branches.

The script inserts the generated content between two marker Markdown comments
in README.md, removing any previous content between them. This allows the
script to be simply rerun to update the list of submodules.

This commit also updates README.md with the generated tables for master and
develop.
@Lastique Lastique force-pushed the feature/add_ci_badges branch from a8469d9 to 84ed5d8 Compare October 21, 2024 00:46
@Lastique
Copy link
Member Author

Any comments? It might be a good time for a tool like this since 1.87 release is preparing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant