Skip to content
quarry View Ticket
Login

View Ticket

Repository About panel: description, homepage, topics, marker files, latest release

Closed765689a7ac44139ac7363b5e298802ca29d188e3Created 103.5 days agoUpdated 68.0 days ago
Description2026-08-19 13:00:03
GitHub's repo sidebar, translated into quarry's mechanisms. Most of it is composition of things we already have; the genuinely new pieces are one config file and one panel.

### What each element maps to

**Description** — exists (the fleet listing already shows one per repo). The panel gives it a second home on the repo page itself.

**Website link + topic tags** — new, and the home for them already exists: `.quarry/repo.json`, the second tenant of the `.quarry/` convention beside tickets.json. Something like:

{ "homepage": "https://woodpecker-ci.org", "topics": ["automation", "ci", "docker"] }

Read through an op the way ticket.config is (cat at tip hash, memoized, defaults on absent/malformed). Topics should be clickable — filter the fleet listing by topic — or they are decoration, not navigation.

**Readme / Contributing / Security policy / License** — marker-file detection at the tip: README*, CONTRIBUTING*, SECURITY*, LICENSE*. One tree listing (already memoized per tip) answers all four; each found file links to its rendered page. License NAME detection (showing "Apache-2.0" rather than "License") is a classifier over the file's first lines — worth doing only for the common ten, with "License" as the honest fallback.

**Activity** — the timeline; the panel links it, maybe with the spark of the last 30 days the fleet page already knows how to count.

**Stars / watching** — #1e247f5164 (praise, watch-with-notify, unique clones). The panel is where those numbers will LIVE, which is an argument for building the panel first with the slots empty.

**Forks** — no forge-level fork model; omit rather than fake.

**Releases + latest** — the tag list already exists (tag.list, newest first): "latest" is its first row, named and dated, linking to the tag page. Hosted artifacts per release are #e77c25ca01 and slot in later.

### Shape

A sidebar (or header strip on narrow screens) on the repo landing — which is the files page — rendered from one new op, `repo.about`, that aggregates: description, homepage, topics, marker files, latest tag, counts. One op so the JSON API gets the same panel (0001 §9) and so the page pays one invoke, not six.

### Order of work

1. `.quarry/repo.json` (homepage, topics) + `repo.about` op. 2. The panel: description, homepage, topics, marker files, latest tag, counts already in repo.counts. 3. Topic filter on the fleet listing. 4. Slots that fill as their features land: praise/watch (#1e247f5164), release artifacts (#e77c25ca01), language bar (#32709698c6), avatar (#8a2f7bf96d).

Related: #8a2f7bf96d, #32709698c6, #1e247f5164, #e77c25ca01.

2026-08-19 13:03:21

Two more sections for the panel, per review of GitHub's sidebar:

Contributors — the folded contributor table already answers this (count + busiest-first, the /people data). The panel shows the top N as chips linking to their /people pages, "+ K contributors" linking to the full list.

One deliberate departure from GitHub: no avatar images. quarry has no avatar store, and fetching gravatars would send every reader's identity to a third party — the same reasoning the header avatar already records. Contributor chips are initials in the circle style the header uses. If projects want real faces, that is #8a2f7bf96d's territory (uploaded, self-hosted), not an email-hash lookup.

Languages — the bar is #32709698c6; the panel is where it lives. Slot reserved; mechanics on that ticket.

2026-08-19 17:11:49

Shipped in 8ae30f59 (one invoke, one panel, per the design):

  • repo.about aggregates description, homepage + topics (.quarry/repo.json — same read path and failure posture as tickets.json), the document tab set, the latest tag, and the contributor count. It also renders the SELECTED tab, so the landing page pays one op call; ?doc= outside the tab set is refused with 404 — the strip is curated, not a render-any-file endpoint.
  • Tabs by convention (README | Contributing | License | Security at the root, case-insensitive, LICENSE/COPYING deduped) or curated by the config's docs list, which REPLACES the convention. Tab choice is URL state: linkable, back-button-correct, scriptless.
  • The About card floats beside the panel at width, stacks on narrow. Deeper tree views and pinned versions stay working views — no panel.
  • Dogfooded: quarry's own .quarry/repo.json carries homepage + topics. Warm render 5ms (config and doc reads memoize at the tip hash).

Deferred, still open on this ticket:

  • topics as fleet-filter links (needs the filter to match topics);
  • contributor chips (grid of initials linking to /people);
  • language bar slot (#32709698c6);
  • license NAME detection (tab says "License", not "BSD-2-Clause").
2026-08-23 10:22:02

Shipped. The About panel renders on a repository page — description, homepage link, topics and the marker-file document rows — from .quarry/repo.json through repo.about. Verified live at /r/quarry.