Repository navigation
feat: add opt-in per-project contribution stats to README - #27
Merged
Merged
Conversation
Projects listed under stats_projects in the JSON config get a counter table at the top of the README with totals per contribution type (bug fixes, features, chores, ...). Enabled for the Kilo projects. Also pretty-print oss-contributions.json.
A stats_projects entry can now be {"name": ..., "repos": [...]} to sum
those repos into a single row. The Kilo repos are merged as "Kilo Code".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a counter table at the top of the README showing how many merged contributions a project has, broken down by type — bug fixes, features, chores, and so on — plus a total.
It's opt-in via a new
stats_projectslist inoss-contributions.json. An entry can be a single repo, or a named group whose repos are summed into one row — handy when a project spans several repos, like Kilo's current and legacy repos. With an empty list the README looks exactly as before. For now it's enabled for Kilo:Only merged PRs are counted, so the numbers reflect work that actually landed; open PRs still appear in the monthly tables as before. The type comes from the PR title's conventional-commit prefix (
fix:,feat:, …), with anything else counted as "Other". Private repos are never included.Also:
oss-contributions.jsonso it's readable instead of a single line.[skip ci]. Those commits only touch generated files, and without it each one started a Tests run stuck waiting for maintainer approval.