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.
Rewrite documentation around reader tasks
d1f44d838966c0a4762073f12375ec7562582fdf · Keenan Nemetz · 21h ago · parent 9103f6a8
docs/index.md +94−31
| @@ -1,45 +1,108 @@ | |||
| 1 | # Vole | ||
| 1 | # Overview | ||
| 2 | 2 | ||
| 3 | Vole is a self-hosted forge for Git repositories, issues, change requests, CI, | ||
| 4 | releases, large files, and static sites. One binary runs the server; one directory | ||
| 5 | holds its state. | ||
| 3 | Vole is a self-hosted forge for teams that want to own their entire development | ||
| 4 | history without operating a collection of separate services. It combines Git | ||
| 5 | hosting, issues, change requests, CI, releases, large-file storage, and static | ||
| 6 | sites in one application. | ||
| 6 | 7 | ||
| 7 | ## Your work travels with the repository | ||
| 8 | Vole makes two choices that set it apart. Collaboration history lives in Git | ||
| 9 | alongside the code it discusses, and one static binary provides the server, CLI, | ||
| 10 | and CI runner. Your project's decisions remain as portable as its source, while | ||
| 11 | the forge stays one application to deploy rather than an integration project. | ||
| 8 | 12 | ||
| 9 | Vole stores source code on ordinary Git branches and collaboration history on a | ||
| 10 | branch named `vole`: | ||
| 13 | ## Keep the project's history with the project | ||
| 14 | |||
| 15 | A hosted forge keeps issues, reviews, and releases in its own service. Vole | ||
| 16 | stores them as files on a branch named `vole` in the repository itself: | ||
| 11 | 17 | ||
| 12 | 18 | ```text | |
| 13 | main branch Source code, tests, and workflow definitions | ||
| 14 | vole branch Issues and comments | ||
| 15 | Change requests, reviews, and approvals | ||
| 16 | Release records | ||
| 19 | main branch Source code, tests, and workflow definitions | ||
| 20 | vole branch | ||
| 21 | ├── issues/ Issues and their comments | ||
| 22 | ├── changes/ Change requests, review comments, and approvals | ||
| 23 | └── releases/ Release records and attachment pointers | ||
| 17 | 24 | ``` | |
| 18 | 25 | ||
| 19 | A clone includes both code and collaboration history. You can read issues and | ||
| 20 | reviews without connecting to the server, and Git records every change to them. | ||
| 26 | A clone includes both histories. You can read issues and reviews offline, | ||
| 27 | inspect how a decision evolved with Git, and move the repository without leaving | ||
| 28 | its discussion behind. The records are Markdown files with Git history, not rows | ||
| 29 | that only the forge's database can interpret. | ||
| 30 | |||
| 31 | Instance-owned state stays on the instance: accounts, permissions, CI records, | ||
| 32 | file locks, and the bytes behind LFS objects and release attachments. | ||
| 33 | [Instance data](configuration.md#instance-data) draws that boundary and explains | ||
| 34 | what a backup must include. | ||
| 35 | |||
| 36 | ## Run a forge, not a stack of services | ||
| 37 | |||
| 38 | `vole serve` provides the web interface, Git access, collaboration, CI queue, | ||
| 39 | and storage. SQLite is compiled into the binary, so Vole does not need an | ||
| 40 | external database, cache, queue, or search service. Server state lives under a | ||
| 41 | data directory you can inspect and back up. | ||
| 42 | |||
| 43 | The same executable also provides the repository CLI and `vole runner`. A runner | ||
| 44 | can execute CI jobs on a separate host; only that host needs a container | ||
| 45 | runtime. This gives you a complete forge without making you integrate and | ||
| 46 | operate a separate issue tracker, review service, CI controller, artifact store, | ||
| 47 | and site host. | ||
| 48 | |||
| 49 | ## Cover the whole development workflow | ||
| 50 | |||
| 51 | Vole includes the functions a team needs from the first issue through | ||
| 52 | publication: | ||
| 53 | |||
| 54 | | Capability | What Vole provides | | ||
| 55 | |---|---| | ||
| 56 | | Git hosting | Public and private repositories, authenticated SSH writes, anonymous HTTP reads, repository browsing, and code search | | ||
| 57 | | [Issues](issues.md) | Labels, assignments, threaded comments, mentions, filters, and links to the changes that close them | | ||
| 58 | | [Change requests](change-requests.md) | Diffs, line comments, exact-commit approvals, protected branches, required checks, and combined-result testing | | ||
| 59 | | [Workflows](workflows.md) and [runners](runner.md) | Versioned YAML workflows, repository and schedule triggers, container jobs, services, caches, secrets, and artifacts | | ||
| 60 | | [Releases](releases.md) | Markdown notes, source archives, attached builds, and stable channel URLs | | ||
| 61 | | [Git LFS and locking](lfs.md) | Standard large-file storage and server-enforced locks for files that cannot be merged | | ||
| 62 | | [Static sites](sites.md) | Publishing from a branch, a local build directory, or CI to the repository's site host | | ||
| 63 | |||
| 64 | Use the browser for repository, review, and administration work, or use the CLI | ||
| 65 | from a clone and in scripts. Git and Git LFS clients keep their normal workflows; | ||
| 66 | Vole adds the collaboration and automation around them. | ||
| 67 | |||
| 68 | ## Land what you reviewed | ||
| 69 | |||
| 70 | Vole connects review and CI instead of treating them as unrelated integrations. | ||
| 71 | An approval names the exact base and proposed head. A new head needs fresh | ||
| 72 | approval and checks, and Vole refuses self-approval. Protected branches can | ||
| 73 | require both maintainer approvals and trusted CI results before they move. | ||
| 74 | |||
| 75 | If the base branch advances and the reviewed head can no longer fast-forward, | ||
| 76 | Vole builds and tests the combined result. The merge lands only after the tree | ||
| 77 | you would actually publish passes, not merely after the proposed branch passes | ||
| 78 | on an older base. | ||
| 21 | 79 | ||
| 22 | Accounts, permissions, CI results, and stored artifacts remain on the instance. | ||
| 23 | [Instance data](reference/configuration.md#instance-data) explains what a clone | ||
| 24 | contains and what an operator must back up. | ||
| 80 | Contributor branches add another boundary: CI waits for a maintainer to allow | ||
| 81 | the exact proposed commit. A runner then executes the job in an OCI container | ||
| 82 | and reports the result over its authenticated SSH connection. The forge server | ||
| 83 | does not execute repository code. | ||
| 25 | 84 | ||
| 26 | Vole uses SSH keys for Git writes and remote administration. The web interface | ||
| 27 | uses passkeys for sign-in, while Git over HTTP provides anonymous reads for | ||
| 28 | public repositories. | ||
| 85 | You can also run a workflow before pushing it. `vole workflow run` executes the | ||
| 86 | job in the image named by the repository's workflow and mounts your working | ||
| 87 | tree, including uncommitted changes. The same definition can then run on a | ||
| 88 | runner in response to pushes, tags, collaboration events, schedules, or manual | ||
| 89 | requests. | ||
| 29 | 90 | ||
| 30 | ## Current scope | ||
| 91 | ## Apply one identity and one set of rules | ||
| 31 | 92 | ||
| 32 | Vole is an early preview used as the primary forge for Rodent Software. Use it at | ||
| 33 | your own risk and back up an instance before relying on it. | ||
| 93 | SSH keys authenticate Git writes, remote administration, and CI runners. | ||
| 94 | Passkeys authenticate browser sessions. Both resolve to the same account, so | ||
| 95 | roles, approvals, and audit records do not change meaning with the transport. | ||
| 96 | Vole has no password database to reset or leak. | ||
| 34 | 97 | ||
| 35 | Vole is built for one team on one server. It does not provide federation, | ||
| 36 | multiple tenants, or horizontal scaling. | ||
| 98 | Repository roles separate readers, contributors, runners, maintainers, and | ||
| 99 | admins. Contributors work in their own branch namespaces, while browser writes | ||
| 100 | and Git pushes pass through the same metadata validation. Vole records accepted | ||
| 101 | privileged changes in `data/audit.log`. | ||
| 37 | 102 | ||
| 38 | ## Start here | ||
| 103 | ## Start | ||
| 39 | 104 | ||
| 40 | - **Try Vole:** follow [Install](install.md), then [Quickstart](quickstart.md) to | ||
| 41 | create a repository, push a commit, and open an issue. | ||
| 42 | - **Run a team instance:** follow [Deploy a server](deploy/index.md), then | ||
| 43 | [Back up an instance](operations.md#back-up-an-instance). | ||
| 44 | - **Work on Vole itself:** use `DEVELOPMENT.md` and `CONTRIBUTING.md` in the | ||
| 45 | [source repository](https://rodent.software/vole). | ||
| 105 | Follow the [Quickstart](quickstart.md) to create a local instance, push a | ||
| 106 | repository, and open an issue. Use [Deploy on Linux](deploy/linux.md) when you | ||
| 107 | are ready to run a team server, or browse the [CLI reference](cli.md) to see the | ||
| 108 | complete command surface. | ||