An owner's repos come with their topics, and a repo's topics can be read (PIPT-78) #2

Merged
merge-queue merged 1 commit from PIPT-78-topics into main 2026-11-30 16:23:42 -08:00
Owner

Work package: https://openproject.home.romaine.life/wp/PIPT-78

strip-owner stops reading pipeline-templates' fleet.json and reads each repo's own topics on Forgejo (its ci- suites, nas, applier-<service>.<where>, no-take-up). This gives the client what that needs:

  • Changed: Repos(owner) returns []Repo (full name and topics, archived ones still left out) instead of []string. Its only caller is romaine-life/pr's take-up search, which then needs no per-repo read.
  • Added: Topics(repo), one repo's topics; ErrNotFound when Forgejo has no such repo.
  • Unchanged: every other call.

The pr change that uses it follows once this releases.

Work package: https://openproject.home.romaine.life/wp/PIPT-78 strip-owner stops reading pipeline-templates' `fleet.json` and reads each repo's own topics on Forgejo (its `ci-` suites, `nas`, `applier-<service>.<where>`, `no-take-up`). This gives the client what that needs: - **Changed:** `Repos(owner)` returns `[]Repo` (full name and topics, archived ones still left out) instead of `[]string`. Its only caller is romaine-life/pr's take-up search, which then needs no per-repo read. - **Added:** `Topics(repo)`, one repo's topics; `ErrNotFound` when Forgejo has no such repo. - **Unchanged:** every other call. The pr change that uses it follows once this releases.
forgejo-api: an owner's repos come with their topics, and a repo's topics can be read (PIPT-78)
All checks were successful
Suite go / scope (pull_request) Successful in 6s
Suite release / scope (pull_request) Successful in 7s
Suite release / module (pull_request) Has been skipped
Suite release / publish (pull_request) Has been skipped
Suite release / deliver (pull_request) Has been skipped
Suite release / deliver-prune (pull_request) Has been skipped
Suite release / check-manifest (pull_request) Has been skipped
Suite release / finalize (pull_request) Has been skipped
Suite default / check-logs (pull_request) Successful in 10s
Suite default / reused-checks (pull_request) Successful in 11s
Suite release / reused-checks (pull_request) Has been skipped
Suite release / deploy-image (pull_request) Has been skipped
Suite default / check-rules (pull_request) Successful in 10s
Suite go / check-services (pull_request) Has been skipped
Suite release / build (none, ubuntu-latest) (ubuntu-latest, none) (pull_request) Has been skipped
Suite default / scope (pull_request) Successful in 7s
Suite go / check-test-linux (pull_request) Has been skipped
Suite default / check-fetches (pull_request) Has been skipped
Suite release / reserve (pull_request) Has been skipped
Suite release / check-package (pull_request) Has been skipped
Suite release / check-build (none, ubuntu-latest) (ubuntu-latest, none) (pull_request) Has been skipped
Suite go / check-format (pull_request) Successful in 13s
merge-queue landed on main
Suite go / check-test-windows (pull_request) Successful in 2m51s
Suite go / reused-checks (pull_request) Successful in 43s
30a60f276c
Repos lists an owner's unarchived repos as Repo, each with its topics, instead of bare
names, and Topics reads one repo's topics: strip-owner reads a repo's suites, nas and
applier from its topics instead of pipeline-templates' fleet.json. pr is Repos' only
caller.
Collaborator

merge-queue stopped this at 30a60f2: CI failed: Suite go / check-test-windows (pull_request), Suite go / reused-checks (pull_request) (never ran). Push a fix. A failure fixed on main lands once the queue label is removed and added again: the queue merges main in and CI runs on the new head.

merge-queue stopped this at 30a60f2: CI failed: Suite go / check-test-windows (pull_request), Suite go / reused-checks (pull_request) (never ran). Push a fix. A failure fixed on main lands once the `queue` label is removed and added again: the queue merges main in and CI runs on the new head.
Collaborator

merge-queue stopped this at 30a60f2: CI failed: Suite go / check-test-windows (pull_request), Suite go / reused-checks (pull_request) (never ran). Push a fix. A failure fixed on main lands once the queue label is removed and added again: the queue merges main in and CI runs on the new head.

merge-queue stopped this at 30a60f2: CI failed: Suite go / check-test-windows (pull_request), Suite go / reused-checks (pull_request) (never ran). Push a fix. A failure fixed on main lands once the `queue` label is removed and added again: the queue merges main in and CI runs on the new head.
merge-queue deleted branch PIPT-78-topics 2026-11-30 16:23:42 -08:00
Sign in to join this conversation.
No reviewers
No labels
queue
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/forgejo-api!2
No description provided.