The tracker's labels are defined in the repository and a script creates or updates them on Forgejo #3
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
lantea-one/ninlil#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Why
Keeping labels in a file makes them reviewable and repeatable, and they can be recreated if the repository moves. The pipeline already has a Forgejo API helper that keeps the token off the command line.
What changes
.forgejo/labels.json(new). One object per label:name,color(hex without#),description,exclusive. The content is the table in #2,agent/rows included (Q-PROC-1)..forgejo/scripts/sync-labels.sh(new):.forgejo/scripts/forgejo-api.sh(inputsNINLIL_CI_TOKENandFORGEJO_API, as in its header at lines 10-13).owner/namefrom an argument.forgejo_paginate /repos/{o}/{r}/labels.POST /repos/{o}/{r}/labels) and updates any label whose colour, description orexclusivediffers (PATCH /repos/{o}/{r}/labels/{id}).exclusivelabel has no/(Forgejo ignores exclusivity without a scope) or when two labels have the same name. The scope is the text before the last/(FORGEJO-FACTS.md).created,updatedorunchanged..forgejo/scripts/tests/sync-labels.test.sh(new). It followscleanup.test.sh, usingharness.shandfake-forgejo.pywith a routes file. Cases:/→ the script exits non-zero and sends nothing.lint.shpicks up the test without a change (.forgejo/scripts/lint.sh:77).Acceptance
./.forgejo/scripts/in-container.sh lint ./.forgejo/scripts/lint.shends withLint passed..forgejo/scripts/is listed). CONTRIBUTING.md gets one line naming the script (done in #5).Source
.forgejo/scripts/forgejo-api.sh:1-29. Test harness:.forgejo/scripts/tests/fake-forgejo.py:1-15. FORGEJO-FACTS.md (exclusive-label behaviour).claude referenced this issue2026-10-31 13:03:11 -04:00
Ghost referenced this issue2026-10-31 13:03:14 -04:00
Ghost referenced this issue2026-10-31 13:50:01 -04:00