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 signed pacman repositories with each release
fbdb3818bc53560d022234c741c539e59c82bc41 · Keenan Nemetz · 14d ago · parent fd86ba87
Publish signed pacman repositories with each release Build Arch packages with the same nfpm contents, publish one pacman database per architecture, and sign the packages and databases with the release key. repo-add stamps tar entries from the clock, so the databases are repacked with the tag time before signing. The maintainer script becomes post_install/post_upgrade bodies, so it no longer exits the shell. Document pacman-key, SigLevel, installation, and upgrades, and build and verify the Arch tree in CI.
docs/releases.md +5−4
| @@ -45,7 +45,7 @@ release root: | |||
| 45 | 45 | ||
| 46 | 46 | ```sh | |
| 47 | 47 | vole release attach v1.0.0 dist | |
| 48 | # publishes apt/Packages, apt/Packages.gz, yum/repodata/repomd.xml, ... | ||
| 48 | # publishes apt/Packages, yum/repodata/repomd.xml, pacman/x86_64/vole.db, ... | ||
| 49 | 49 | ||
| 50 | 50 | vole release attach v1.0.0 dist/apt | |
| 51 | 51 | # publishes Packages, Packages.gz, and the .deb files at the root | |
| @@ -123,8 +123,9 @@ 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. Vole's own release publishes signed `apt/` and | ||
| 127 | `yum/` layouts, so its `stable` channel is a package source for both clients; | ||
| 126 | the client points at the channel. Vole's own release publishes signed `apt/`, | ||
| 127 | `yum/`, and per-architecture `pacman/<arch>/` layouts, so its `stable` channel | ||
| 128 | is a package source for all three clients; | ||
| 128 | 129 | [Install](install.md#install-from-the-package-repository) has the source lines. | |
| 129 | 130 | A private repository serves `404` to anonymous clients, so a package manager | |
| 130 | 131 | needs a public repository or a mirror. A channel is server-side state in | |
| @@ -161,7 +162,7 @@ artifacts: | |||
| 161 | 162 | # - path: dist/apt | |
| 162 | 163 | # release: true # Packages, Packages.gz, the .deb files, ... | |
| 163 | 164 | # - path: dist | |
| 164 | # release: true # apt/Packages, yum/repodata/repomd.xml, ... | ||
| 165 | # release: true # apt/Packages, yum/repodata/repomd.xml, pacman/... | ||
| 165 | 166 | ``` | |
| 166 | 167 | ||
| 167 | 168 | The workflow writes the same attachment pointers as `vole release attach`. See | |