A short progress chart in the README, and when to update it #7

Open
opened 2026-11-27 03:13:28 +00:00 by github-bot · 0 comments
Owner

@⁠Marshmellow31 on GitHub · 2026-11-24 18:08 UTC · original

I would like to send a small pull request and want to check the approach first, as CONTRIBUTING.md asks.

What it adds

  1. A short chart in the README (900 x 248, 4 KB), drawn from docs/status/status.json by a new command,
    fivestar progress summary. The wiki image is 1,372 px tall and 382 KB, too large for the README. The chart shows
    the boot stages as a strip, names the stage being worked on, and shows every other area as one bar.
  2. A section "When to update progress" in CONTRIBUTING.md and a pull request template with a short checklist for it, so
    contributors know whether their change needs an edit to docs/status/manual.json.
  3. A CI step (Linux, read-only) that fails when the images do not match manual.json. It needs no write access, so it
    works on pull requests from forks. It cannot tell whether a code change should have moved a number.

One difference to decide on. The chart counts only finished items, so boot reads "10 of 12 stages, 1 partial". The
wiki image counts partial work as finished (91.6%, 11/12). I did not change the wiki image.

Seen on the way, not part of this. From reading StatusCollector.Merge, progress collect with both --manual and
--shaders looks like it throws on a duplicate key once status.json exists, because manual.json also holds the
shaders area. I have not run it. The same goes for --dump and textures.

Is this welcome? If you would rather not have the CI step or the template, I can leave either out.

**@⁠Marshmellow31** on GitHub · 2026-11-24 18:08 UTC · [original](https://github.com/ThatRecompDev/five-star-recomp/issues/7) I would like to send a small pull request and want to check the approach first, as CONTRIBUTING.md asks. **What it adds** 1. A short chart in the README (900 x 248, 4 KB), drawn from `docs/status/status.json` by a new command, `fivestar progress summary`. The wiki image is 1,372 px tall and 382 KB, too large for the README. The chart shows the boot stages as a strip, names the stage being worked on, and shows every other area as one bar. 2. A section "When to update progress" in CONTRIBUTING.md and a pull request template with a short checklist for it, so contributors know whether their change needs an edit to `docs/status/manual.json`. 3. A CI step (Linux, read-only) that fails when the images do not match `manual.json`. It needs no write access, so it works on pull requests from forks. It cannot tell whether a code change should have moved a number. **One difference to decide on.** The chart counts only finished items, so boot reads "10 of 12 stages, 1 partial". The wiki image counts partial work as finished (91.6%, 11/12). I did not change the wiki image. **Seen on the way, not part of this.** From reading `StatusCollector.Merge`, `progress collect` with both `--manual` and `--shaders` looks like it throws on a duplicate key once `status.json` exists, because `manual.json` also holds the `shaders` area. I have not run it. The same goes for `--dump` and `textures`. Is this welcome? If you would rather not have the CI step or the template, I can leave either out.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 03:13:28 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.