Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software/vole.git

Self-hosted forge that lives in your Git repo.

Publish apt and yum repositories with each release

73e98b74cf29c19adeeef3b4a277016838c3debe · Keenan Nemetz · 15d ago · parent eee732ec

Publish apt and yum repositories with each release

A release tree and a channel give one stable URL, but apt needs a flat Packages/Release repository and dnf needs repodata. Build both from the release packages, attach the dist tree so they sit under apt/ and yum/, cover the metadata in SHA256SUMS, and document installing and upgrading from the stable channel.

docs/releases.md +7−2

@@ -123,7 +123,11 @@ curl -O https://forge.example.com/demo/channels/stable/apt/Packages
123 123
124 124 The forge does not know about apt, yum, or any other client. A package layout is
125 125 just a directory in the release tree; the release workflow decides the paths and
126 the client points at the channel. A channel is server-side state in
126 the client points at the channel. Vole's own release publishes an `apt/` and a
127 `yum/` layout, so its `stable` channel is a package source for both clients;
128 [Install](install.md#install-from-the-package-repository) has the source lines.
129 A private repository serves `404` to anonymous clients, so a package manager
130 needs a public repository or a mirror. A channel is server-side state in
127 131 `data/instance.db`, not a Git commit: it is consumed from the instance URL, it
128 132 needs maintain access to move, and the move is recorded in the audit log. Back it
129 133 up with the other authoritative databases. A channel whose target tag is missing
@@ -193,7 +197,8 @@ file makes its bytes collectable after the grace period.
193 197
194 198 ## Next
195 199
196 - [Install](install.md) — download and verify Vole's own release artifacts.
200 - [Install](install.md) — install and upgrade Vole from a channel, a package
201 file, or a release binary.
197 202 - [Packages and upgrades](packaging.md) — manage Vole's installed packages.
198 203 - [Workflows](workflows.md#build-a-release) — automate releases from annotated
199 204 tags.