Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Ask the build for FTS5

41dd571fae2d00dab2f7bc4a2299e220a134fa13 · Keenan Nemetz · 9d ago · parent 72f22292

Ask the build for FTS5

Search needs SQLite's FTS5 module. The driver's bundled SQLite only
compiles it in with a build tag, so every build and test command that can
reach the index now passes `sqlite_fts5` beside `libsqlite3`: the verify
and release images, both workflows, and the commands the docs give for
building and testing from source.

With the system library the tag is inert — the module is whatever the
distribution built — and the packages already depend on that library.
Debian, Ubuntu, Fedora, RHEL and Rocky all enable FTS5, and
docs/packaging.md now says the dependency includes it.

docs/getting-started.md +4−3

@@ -11,7 +11,8 @@ to configure. You can have a working forge in a few minutes.
11 11 - A C compiler and the SQLite development headers: `libsqlite3-dev` on Debian and
12 12 Ubuntu, `sqlite-devel` on Fedora and RHEL. Vole links SQLite dynamically, so
13 13 the binary needs `libsqlite3.so.0` on the machine that runs it; the packages
14 install it for you.
14 install it for you. The library must be built with FTS5 (the distributions
15 above enable it), which is what the search page uses.
15 16 - Git.
16 17 - An SSH key. Vole uses the key to recognize you when you push. If you already use
17 18 GitHub or another forge with SSH, you can reuse that key.
@@ -24,13 +25,13 @@ From a source checkout:
24 25 ```sh
25 26 git clone <repository-url>
26 27 cd vole
27 go build -tags libsqlite3 -o vole ./cmd/vole
28 go build -tags libsqlite3,sqlite_fts5 -o vole ./cmd/vole
28 29 ```
29 30
30 31 Or build it directly:
31 32
32 33 ```sh
33 go build -tags libsqlite3 -o vole github.com/rodent-software/vole/cmd/vole
34 go build -tags libsqlite3,sqlite_fts5 -o vole github.com/rodent-software/vole/cmd/vole
34 35 ```
35 36
36 37 ## Create an instance