Maintainer Mode
Sign in with GitHub
Work in progress. Maintainer Mode changes every day: pages, numbers and links can change or break. Tell us what is wrong or missing.

Data

All docs · The source is docs/data.md.

How Maintainer Mode reads GitHub and the other sources, what it keeps, and its known limits.

How the data is pulled

The notifications poller

The poller makes a change on GitHub show here in about a minute. The full walk stays as the safety net.

The nixpkgs event log

Maintainer Mode keeps every public event on NixOS/nixpkgs that it can see. docs/events.md gives the plan and the measured size.

curl -N -H 'Last-Event-ID: 0' 'https://<host>/api/v1/events?type=PullRequestReviewEvent'

The archive of issues and pull requests

Maintainer Mode keeps a full copy of each issue and pull request of NixOS/nixpkgs, so that GitHub is not the only place that holds them. docs/ingest.md gives the plan, the measured size and the cost.

curl https://<host>/api/v1/archive/NixOS/nixpkgs/1
maintainer-mode archive export --repo NixOS/nixpkgs --out ./export

The export writes one ndjson.zst file per 10 000 numbers. To archive more repositories, add them to services.maintainer-mode.archive.repositories. An empty list turns the archive off.

Known limits of slice one

The pull request page

/pr/<number> shows one nixpkgs pull request in Maintainer Mode. Links to pull requests across the site open this page. A small GitHub icon next to each title opens GitHub.

curl https://<host>/api/v1/prs/123456