Hangar Floor
DemoDownloadGitHub

Milestones

Each day (or each release) has one milestone in each repo. Each open issue has the milestone of the day that plans to close it. At the end of the day, the open issues move to the next milestone. The reason: a milestone then always shows what ships, and the owner sees the plan of each day on GitHub.

The script

assets/milestones.tcl uses only the GitHub CLI gh. Check gh auth status first. --gh PROGRAM runs another program in place of gh, such as a fake one for a test. --help prints the usage.

A dry run is the default. It reads the milestones and the issues and prints each change as would run: gh .... Show that output to the owner. Run the same command with --apply only after the owner's yes, because milestones and issue edits are visible to everyone who watches the repo.

Create a plan of days

tclsh assets/milestones.tcl create -R example-org/lumen -R example-org/lumen-web \
    --start 2026-12-02 --days 5 --title "v0.{n}.0" --first 4 \
    --focus-file focus.txt --due-time 17:00 --tz Europe/Berlin

Move the open issues at the end of a day

tclsh assets/milestones.tcl shift -R example-org/lumen --from v0.4.0 --to v0.5.0 --close

It moves each open issue of --from to --to. --close also closes --from. Make --to with create first.

Look at the plan

tclsh assets/milestones.tcl list -R example-org/lumen

How to plan

Next: the release.