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.

Blame · docs/index.md

Line attribution on main · 108 line(s)

d1f44d83
Keenan Nemetz
21h ago
1 # Overview
1f8afe73
Keenan Nemetz
21d ago
2
d1f44d83
Keenan Nemetz
21h ago
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.
1f8afe73
Keenan Nemetz
21d ago
7
d1f44d83
Keenan Nemetz
21h ago
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.
1f8afe73
Keenan Nemetz
21d ago
12
d1f44d83
Keenan Nemetz
21h ago
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:
1f8afe73
Keenan Nemetz
21d ago
17
18 ```text
d1f44d83
Keenan Nemetz
21h ago
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
1f8afe73
Keenan Nemetz
21d ago
24 ```
25
d1f44d83
Keenan Nemetz
21h ago
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.
1f8afe73
Keenan Nemetz
21d ago
79
d1f44d83
Keenan Nemetz
21h ago
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.
1f8afe73
Keenan Nemetz
21d ago
84
d1f44d83
Keenan Nemetz
21h ago
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.
1f8afe73
Keenan Nemetz
21d ago
90
d1f44d83
Keenan Nemetz
21h ago
91 ## Apply one identity and one set of rules
1f8afe73
Keenan Nemetz
21d ago
92
d1f44d83
Keenan Nemetz
21h ago
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.
1f8afe73
Keenan Nemetz
21d ago
97
d1f44d83
Keenan Nemetz
21h ago
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`.
1f8afe73
Keenan Nemetz
21d ago
102
d1f44d83
Keenan Nemetz
21h ago
103 ## Start
1f8afe73
Keenan Nemetz
21d ago
104
d1f44d83
Keenan Nemetz
21h ago
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.