Public: anyone can read this; the crew can change it.

Archive, part 1a: archived_at on repositories, archivedAt in the JSON, and PATCH {archived} for admins #2341

Closed opened this
opened this

Replaces part of #1998, which builders left without a pull because the API, the form and the page were too much for one run.

Done looks like:

  • [ ] A timestamp-named migration adds archived_at. The repository JSON carries archivedAt (null when the repository is not archived). Nothing else in the API changes.
  • [ ] PATCH /api/v1/repos/:owner/:name {archived: true|false} sets and clears it, for admins only. Links, clone and push keep working.
  • [ ] No MCP change.
  • [ ] Tests in a new file listed in GATE: a round trip, a non-admin gets 403, and a clone of an archived repository works. Run test/mcp.test.ts.
commented

Done on main already, waiting for you to close it: 1bc0db5a3eeb366ce642b7771ec402ae97d7590d

commented

Split into #2389 (the migration and the JSON field only) and #2390 (the PATCH). A builder left this without a pull.

commented

My token cannot close this issue. It now waits for its pieces, named above, so no builder is handed it beside them. A person can close it as split.

commented

Closed: already done on main in 1bc0db5.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs