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.

Code

527 commit(s) on main

Put job execution behind an interface Keenan Nemetz · 2h ago de3eec16
source preview history blame raw 5.5 KiB
1# Overview
2
3Vole is a self-hosted forge for teams that want to own their entire development
4history without operating a collection of separate services. It combines Git
5hosting, issues, change requests, CI, releases, large-file storage, and static
6sites in one application.
7
8Vole makes two choices that set it apart. Collaboration history lives in Git
9alongside the code it discusses, and one static binary provides the server, CLI,
10and CI runner. Your project's decisions remain as portable as its source, while
11the forge stays one application to deploy rather than an integration project.
12
13## Keep the project's history with the project
14
15A hosted forge keeps issues, reviews, and releases in its own service. Vole
16stores them as files on a branch named `vole` in the repository itself:
17
18```text
19main branch Source code, tests, and workflow definitions
20vole branch
21├── issues/ Issues and their comments
22├── changes/ Change requests, review comments, and approvals
23└── releases/ Release records and attachment pointers
24```
25
26A clone includes both histories. You can read issues and reviews offline,
27inspect how a decision evolved with Git, and move the repository without leaving
28its discussion behind. The records are Markdown files with Git history, not rows
29that only the forge's database can interpret.
30
31Instance-owned state stays on the instance: accounts, permissions, CI records,
32file locks, and the bytes behind LFS objects and release attachments.
33[Instance data](configuration.md#instance-data) draws that boundary and explains
34what 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,
39and storage. SQLite is compiled into the binary, so Vole does not need an
40external database, cache, queue, or search service. Server state lives under a
41data directory you can inspect and back up.
42
43The same executable also provides the repository CLI and `vole runner`. A runner
44can execute CI jobs on a separate host; only that host needs a container
45runtime. This gives you a complete forge without making you integrate and
46operate a separate issue tracker, review service, CI controller, artifact store,
47and site host.
48
49## Cover the whole development workflow
50
51Vole includes the functions a team needs from the first issue through
52publication:
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
64Use the browser for repository, review, and administration work, or use the CLI
65from a clone and in scripts. Git and Git LFS clients keep their normal workflows;
66Vole adds the collaboration and automation around them.
67
68## Land what you reviewed
69
70Vole connects review and CI instead of treating them as unrelated integrations.
71An approval names the exact base and proposed head. A new head needs fresh
72approval and checks, and Vole refuses self-approval. Protected branches can
73require both maintainer approvals and trusted CI results before they move.
74
75If the base branch advances and the reviewed head can no longer fast-forward,
76Vole builds and tests the combined result. The merge lands only after the tree
77you would actually publish passes, not merely after the proposed branch passes
78on an older base.
79
80Contributor branches add another boundary: CI waits for a maintainer to allow
81the exact proposed commit. A runner then executes the job in an OCI container
82and reports the result over its authenticated SSH connection. The forge server
83does not execute repository code.
84
85You can also run a workflow before pushing it. `vole workflow run` executes the
86job in the image named by the repository's workflow and mounts your working
87tree, including uncommitted changes. The same definition can then run on a
88runner in response to pushes, tags, collaboration events, schedules, or manual
89requests.
90
91## Apply one identity and one set of rules
92
93SSH keys authenticate Git writes, remote administration, and CI runners.
94Passkeys authenticate browser sessions. Both resolve to the same account, so
95roles, approvals, and audit records do not change meaning with the transport.
96Vole has no password database to reset or leak.
97
98Repository roles separate readers, contributors, runners, maintainers, and
99admins. Contributors work in their own branch namespaces, while browser writes
100and Git pushes pass through the same metadata validation. Vole records accepted
101privileged changes in `data/audit.log`.
102
103## Start
104
105Follow the [Quickstart](quickstart.md) to create a local instance, push a
106repository, and open an issue. Use [Deploy on Linux](deploy/linux.md) when you
107are ready to run a team server, or browse the [CLI reference](cli.md) to see the
108complete command surface.
109