meta: add a label taxonomy and setup script #97
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!97
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-97"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@raulmoracode on GitHub · 2026-11-21 15:56 UTC · original
raulmoracode:meta/label-taxonomy→main· +180 −0 · 2 files · 1 commits · draftRefs #93
Draft: merge only after the RFC accepts the label names and the maintainer is ready to create the labels.
Change
Adds
docs/labels.mdand an idempotenttools/setup-labels.ps1. The scriptcreates new labels with
gh label createand updates only existing labels whosecolor or description differs with
gh label edit; it never deletes labels.Verification
git diff --checkpasses. The taxonomy is documented in the RFC.pwsh -NoProfile -File ./tools/setup-labels.ps1 -DryRunprints 19CREATErowsagainst the current 10 existing labels. It also lists the existing labels that
would remain untouched. The dry-run output is in the pull request discussion.
Evidence and follow-up
Labels are repository settings. This pull request does not create them by itself
and does not run automatically. A maintainer must review the names, colors and
descriptions, then run the script.
@R0Y00 on GitHub · 2026-11-21 16:23 UTC · original
Please keep this as a draft while we review the proposed labels. Could you attach the -DryRun output for this repository and distinguish newly created labels from updates to existing names, colors or descriptions?
@raulmoracode on GitHub · 2026-11-21 16:27 UTC · original
Kept as a draft. I added an existing-label comparison to the dry run: the script now reads the current labels with
gh label list, printsCREATE,UPDATEorUNCHANGEDfor each proposed label, and shows old and new colors or descriptions for updates.On current
main(88fd8c5), all 19 proposed labels are new and the 10 existing labels would remain untouched:Existing labels not in the proposal (unchanged): accessibility, bug, documentation, duplicate, enhancement, good first issue, help wanted, invalid, question, wontfix.
The script uses
gh label createonly for new names andgh label editfor existing names. It never deletes labels.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.