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.
Rebuild the docs as a MkDocs site
1f8afe73515d58c14774878f30f33bfe318d0c3b · Keenan Nemetz · 21d ago · parent 7c02af12
Rebuild the docs as a MkDocs site Replace the mdBook configuration with MkDocs and a local theme that uses Vole's Everforest dark/medium palette. Move the contents order into nav, make docs/index.md the homepage, and carry the install, quickstart, deployment, and reference pages into the new tree. Add the docs build to verify, with pinned requirements and python3-venv in the image, so a broken nav entry or theme asset fails before a pages deploy.
docs/packaging.md +12−25
| @@ -1,30 +1,17 @@ | |||
| 1 | 1 | # Packages | |
| 2 | 2 | ||
| 3 | A release can be installed with the system package manager instead of unpacking a | ||
| 4 | tarball. Pushing an annotated tag builds the `.deb` and the `.rpm` for `amd64` and | ||
| 5 | `arm64` and attaches them to the release page; nothing is published anywhere else. | ||
| 6 | |||
| 7 | ```sh | ||
| 8 | dpkg -i vole_0.2.0-1_amd64.deb # Debian, Ubuntu | ||
| 9 | dnf install ./vole-0.2.0-1.x86_64.rpm # Fedora, RHEL, Rocky | ||
| 10 | ``` | ||
| 11 | |||
| 12 | There is no apt or dnf repository and no signature on these files yet. Each release | ||
| 13 | page also carries `SHA256SUMS`; compare it before installing. | ||
| 14 | |||
| 15 | To have a fresh cloud machine install and configure the package for you, use the | ||
| 16 | [deployment guides](deploy/README.md). They need the URL of the file above, which | ||
| 17 | is how a `.deb` from a release page is named: | ||
| 18 | `.../vole/releases/v0.2.0/artifacts/vole_0.2.0-1_amd64.deb`, or `arm64` for an | ||
| 19 | `arm64` machine. | ||
| 20 | |||
| 21 | Both packages depend on `git` and the system SQLite library: `libsqlite3-0` on | ||
| 22 | Debian and Ubuntu, `sqlite-libs` on Fedora, RHEL, and Rocky. Vole links SQLite | ||
| 23 | dynamically, so the library must be present where the binary runs; the package | ||
| 24 | manager installs it with the package. The system library must include SQLite's | ||
| 25 | FTS5 module, which every distribution listed above enables in its build; the | ||
| 26 | command palette is what needs it, and the binary carries the tag that asks for it | ||
| 27 | when the driver's bundled copy is used instead. | ||
| 3 | A release is published as a `.deb` and an `.rpm`, for `amd64` and `arm64`, built | ||
| 4 | when an annotated tag is pushed and attached to that release page; nothing is | ||
| 5 | published anywhere else. [Install § Package](install.md#package) is how to install | ||
| 6 | one. | ||
| 7 | |||
| 8 | This page is what the package does once it is installed: the paths it writes, the | ||
| 9 | unit it starts, how to upgrade, and how the release itself is built. | ||
| 10 | |||
| 11 | Both packages depend on `git` and the system SQLite library (`libsqlite3-0` on | ||
| 12 | Debian and Ubuntu, `sqlite-libs` on Fedora, RHEL, and Rocky), which is the same | ||
| 13 | requirement the standalone binary has; [Install § Release | ||
| 14 | binary](install.md#release-binary) explains why. | ||
| 28 | 15 | ||
| 29 | 16 | ## What the package installs | |
| 30 | 17 | ||