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/packaging.md +17

@@ -4,6 +4,20 @@ Vole provides `.deb` and `.rpm` packages for `amd64` and `arm64`. This page
4 4 describes the installed files, service sandbox, and upgrade procedure. For
5 5 installation, see [Install](install.md).
6 6
7 ## Package repositories
8
9 Each release publishes its packages inside `apt/` and `yum/` as well as at the
10 release root. The `apt/` tree is a flat Debian repository and `yum/` is an RPM
11 repository, so a channel URL works as a package source for either client.
12 [Install from the package repository](install.md#install-from-the-package-repository)
13 shows the source lines, the upgrade commands, and what the unsigned repository
14 does and does not prove.
15
16 Both trees carry both architectures: Debian and Ubuntu read `Packages` and the
17 checksummed `Release` file, while Fedora, RHEL, and Rocky read
18 `repodata/repomd.xml`. Move the channel to a new release to publish it; a
19 machine following the channel picks the new version up with its next upgrade.
20
7 21 ## What the package installs
8 22
9 23 | Path | Purpose |
@@ -83,6 +97,9 @@ Follow [Back up an instance](operations.md#back-up-an-instance), including
83 97 ### 2. Install the new package
84 98
85 99 Install with `dpkg -i`, `apt install ./<package>`, or `dnf install ./<package>`.
100 On a machine pointed at the channel repository, use the package manager instead:
101 `sudo apt update && sudo apt upgrade vole`, or `sudo dnf upgrade vole`. The new
102 release is available once the channel names it.
86 103
87 104 Upgrading also creates the `git` account and `/run/vole` the first time this
88 105 version is installed, whether or not you intend to use the front door. An existing