Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,22 @@ Each project builds its packages and attaches them to its own GitHub
Release. This repository holds the signed indexes that point at those
assets, the repository keys, and the Cloudflare Worker that serves them.

Nothing is published yet. The design is in
[ADR 0001](docs/adr/0001-package-registry.md).
## Installing

On Debian or Ubuntu, amd64 or arm64:

```sh
sudo curl -fsSL https://pkg.shortarrow.jp/apt/shortarrow-archive-keyring.gpg \
-o /usr/share/keyrings/shortarrow-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/shortarrow-archive-keyring.gpg] https://pkg.shortarrow.jp/apt stable main" \
| sudo tee /etc/apt/sources.list.d/shortarrow.list
sudo apt update
sudo apt install shortarrow-archive-keyring runex
```

Replace `runex` with any package in the table. Installing
`shortarrow-archive-keyring` by name keeps the keyring, and the keys it
holds up to date, after the tool is removed.

The design is in [ADR 0001](docs/adr/0001-package-registry.md), and how
to run the registry in [docs/operations.md](docs/operations.md).
14 changes: 12 additions & 2 deletions docs/adr/0001-package-registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,5 +391,15 @@ Also on 2026-10-20, on `https://pkg.shortarrow.jp`, between 04:01 and
- Redeploying `public/` from `main` answered 404 for `apt/InRelease`
and the pool redirect again.

Not yet verified: `apt` itself against `https://pkg.shortarrow.jp`. It
is checked there before the first publish.
On 2026-10-21, after the first rebuild, deployed from `main` at 016eab2
as Worker version 10bcc496, against `https://pkg.shortarrow.jp/apt`:

- In `debian:bookworm` and `ubuntu:24.04` containers on amd64 and arm64
GitHub runners, the install guide's steps downloaded the keyring,
`apt update` verified `InRelease` against it, and
`shortarrow-archive-keyring` 2026.10.21.1 installed by name.
- In `debian:bookworm` and `ubuntu:24.04` containers on amd64, `apt`
installed `runex` 0.1.21-1 and `gitreant` 0.3.0-1 by name through the
`pool/` redirect to their release assets, and `gitreant --version`
printed `gitreant 0.3.0`. Asking for `runex` 0.1.99-1, which the index
does not hold, failed.
Loading