Skip to content
quarry View Ticket
Login

View Ticket

2026-09-24
00:56 • Ticket [4b8508f3b0] Settings: configuration export, and mirror controls on the repository page status still Closed with 1 other change artifact: f007457266 user: zeitgeist
2026-09-23
17:28 • Closed ticket [4b8508f3b0]. artifact: 0ab29d52b4 user: zeitgeist
02:13 • Ticket [4b8508f3b0]: 2 changes artifact: f96e9654c2 user: zeitgeist
00:33 • Ticket [4b8508f3b0]: 2 changes artifact: dccd1dbc38 user: zeitgeist
2026-09-04
12:36 • New ticket [4b8508f3b0]. artifact: 794ca62de8 user: ai-local

Settings: configuration export, and mirror controls on the repository page

Closed4b8508f3b01527a3e0a89dcc695b72b71d675ce4Created 87.4 days agoUpdated 67.9 days ago
Description2026-09-04 12:36:17
The last two items of the RFC 0008 settings refit, unit 4. Everything else in that unit has landed (webhook deliveries, redeliver, ping, secret rotation with an overlap window, the recent-changes trail).

- **Configuration export** next to the existing Import, under Advanced. `config.import` exists and has no counterpart, so `back it up before you delete it` is not one click, or any number of clicks. - **Mirror controls on the repository.** Upstream URL, last pull and its outcome, Pull now, accept local writes — the controls that live on /fleet today, surfaced where someone asks the question, with a link to /fleet for credentials. Overlaps a06c9ad33f (mirror health) and bf5fbed5d6 (mirror admin); whichever is done first should decide where the shared rendering lives.

Not proposed here: splitting settings into subpages. See 58470338a1 for that decision, which the section rail deferred rather than settled.

2026-09-23 00:33:33

Measured on e53836294974: config.import exists and has no config.export counterpart — the op list has import only, and the settings page has Import and no Export. That half is untouched and is the one-click backup this ticket asked for. Mirror controls: mirror.list / mirror.set / mirror.run / mirror.detach / mirror.writes / mirror.chatbridge all exist, and the settings page mentions the mirror; whether the pull-now and last-outcome controls are on the repository page rather than /fleet I did not verify from an admin session. Leaving open; the export is the concrete remaining item.

2026-09-23 02:13:59

Export is blocked upstream, not on quarry. zit 0.3.27's config verb has pull, import and merge and no export — there is nothing for a config.export op to shell out to, and quarry does not read the store's tables itself to fake one. Filed as danmestas/zit#210 with the expected shape (zit config export AREA [FILE], the inverse of import over the same card format). When it ships, the quarry op is a sibling of config.import and an Export button beside Import.

Leaving this open on that, with the mirror-controls half still unmeasured from an admin session.

2026-09-23 17:28:28

Both halves measured on 0.1.0-beta+cdacb932f2ec. Export (landings c1aea6ed + fix 4326c4bd, zit 0.3.28 config export): GET /api/v1/r/quarry/config/export/user and /shun, and the settings Export links, download quarry-user.txt / quarry-shun.txt in fossil's format, private, no-cache; any other area 400; signed out 401 from the API, 303 to sign-in from the page. The user file holds password hashes, so only its headers and size were read. Mirror controls (landing 32d2b298): /r/sqlite/settings, looked at in a browser, has a Mirror rail entry and section: "Follows https://sqlite.org/src, every hour", "Last pull 9 minutes ago: succeeded", Pull now, an Accept local writes switch, and a line that address, interval and credentials are on the fleet page. Pressing Pull now came back to the section with "Pulled; nothing new" and "Last pull just now: succeeded". Not seen live: the fleet link a site admin gets there (the browser was authenticated with HTTP credentials, which web pages do not read as a signed-in session); covered by a template test.