Org-level labels, milestones, and cross-repository closes: decide #203

closed cmc opened this on 2026-09-07 21:59 UTC · issues orgs

Discussion

cmc 2026-09-07 21:59 UTC

Labels, milestones, secrets, CODEOWNERS, protection and watch state are per repository; closes #N acts in the same repository only (internal/control/commitrefs.go:15). An org with several repositories recreates its labels in each and cannot close ttorg/widget#1 from a commit to ttorg/lib. Org-level labels and cross-repository closes are what Forgejo migrants ask for first.

Decide which of these move to the org level and which stay per repository, and record the decision on the wiki either way.

Ref #185

referenced in commit 08fa65c1b5 by cmc: e2e: a duplicate milestone title exits 1

2026-09-11 16:54 UTC

referenced in commit 7e1d129093 by cmc: control, wiki: a duplicate milestone title exits 1

2026-09-11 16:54 UTC

referenced in commit 433da19b99 by cmc: web: the milestone picker skips the readable scope, org links follow visibility

2026-09-11 16:54 UTC

referenced in commit b0b75f8f4c by cmc: store: a failed fk-off migration step re-enables foreign keys

2026-09-11 16:54 UTC

referenced in commit 02fa58993b by cmc: store: a transfer into an org folds duplicate labels and milestones

2026-09-11 16:54 UTC

referenced in commit 480aeee73f by cmc: store, web: the issue list shows the org's labels

2026-09-11 16:54 UTC

referenced in commit 314c9ca55c by cmc: control, sshd, hookd: a cross-repo close is checked against the pushing key

2026-09-11 16:54 UTC

closed by commit ba9cd01976 by cmc: e2e: org labels, milestones and a cross-repository close

2026-09-11 16:54 UTC

referenced in commit d775997ead by cmc: wiki: org labels, milestones and cross-repository closes

2026-09-11 16:54 UTC

referenced in commit b893d66995 by cmc: web: org label and milestone pages under /{org}/-/, org mark on repository pages

2026-09-11 16:54 UTC

referenced in commit ee971df409 by cmc: control: Closes owner/name#N acts on a repository the actor can write to

2026-09-11 16:54 UTC

referenced in commit 749296f8f3 by cmc: control, cli: org milestone create, list, close, reopen

2026-09-11 16:54 UTC

referenced in commit fed065d4fe by cmc: control, cli: org label set, list, remove

2026-09-11 16:54 UTC

referenced in commit 784b5dfad3 by cmc: control, web: repository commands see org labels and milestones and refuse to change them

2026-09-11 16:54 UTC

referenced in commit eec3395d09 by cmc: store: milestones resolve through the repository's org

2026-09-11 16:54 UTC

referenced in commit 8a7642b427 by cmc: store: SetLabel and DeleteLabel check the org inside their transaction

2026-09-11 16:54 UTC

referenced in commit d722ba57f3 by cmc: store: labels resolve through the repository's org

2026-09-11 16:54 UTC

referenced in commit cc98ed4532 by cmc: store: migrations opt out of foreign keys with a first-line directive

2026-09-11 16:54 UTC

referenced in commit 6a03ea8472 by cmc: store: migration 0052 scopes labels and milestones to a repo or an org

2026-09-11 16:54 UTC

referenced in commit c08edd0c19 by cmc: docs: plan for org labels, milestones and cross-repository closes

2026-09-11 16:54 UTC

referenced in commit fd856464cc by cmc: docs: spec for org labels, milestones and cross-repository closes

2026-09-11 16:54 UTC