README truth pass: releases exist now, and the server reads lucisv.toml

The v0.7.1 release made three claims false: 'there are no prebuilt
downloads' (the releases page now has five platforms + the .vsix per
tag), 'the script builds for the host triple only' (--cross has existed
since 0.7.0's cross-platform release), and the hardcoded
lucisv-0.5.0.vsix example. The bigger correction: the 'server does not
read lucisv.toml yet' caveat has been stale since the config ladder
landed in lucisv_server/src/format.rs -- replaced with the actual
precedence (lucisv.toml > lucisv.* settings > tab size > default). Also
states plainly that Linux/Windows artifacts are audited, not executed.
.DS_Store untracked and gitignored.

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
lucioandClaude Fable 5 committed 2026-08-26 02:10:54 -07:00
1 parent 53f226981f
commit b560909a76
3 files changed
+32 -17

No files matched your search

Vendored
BIN
View File
Binary file not shown.
+1
View File
@@ -4,3 +4,4 @@
/dist
/.lucisv_cache
/.score-results.tsv
.DS_Store
+31 -17
View File
@@ -610,8 +610,9 @@ go-to-definition, references and document/workspace symbols — the full list,
and what is deliberately *not* advertised yet, is in
`docs/features/lucisv-server/README.md`.
**The binary comes from the same build as the CLI**, and nothing downloads it
for you:
**The binary comes from the same build as the CLI.** Download it from the
[releases page](https://git.luci.ooo/lucio/lucisv/releases) for your
platform, or build it yourself:
```bash
cargo build --release # target/release/lucisv-server (and target/release/lucisv)
@@ -626,11 +627,12 @@ registering the file types and starting the server:
```bash
tools/release.sh # builds dist/lucisv-<version>.vsix
code --install-extension dist/lucisv-0.5.0.vsix
code --install-extension dist/lucisv-<version>.vsix
```
Sideloading that `.vsix` is the supported install; the extension is not on any
marketplace. To package it by hand instead: `cd editors/vscode && npm ci &&
The `.vsix` is also attached to every release on the
[releases page](https://git.luci.ooo/lucio/lucisv/releases). Sideloading it
is the supported install; the extension is not on any marketplace. To package it by hand instead: `cd editors/vscode && npm ci &&
npx @vscode/vsce package`.
Settings are listed in `editors/vscode/README.md`, along with the full steps,
@@ -665,10 +667,13 @@ to the folder walk, so the index is never silently empty.
the handshake and the advertised capabilities are intact — which tells you
whether a failure is the server or your editor config.
One caveat, stated up front: the server does **not** read `lucisv.toml` yet, so
formatting through an editor uses the defaults (100 columns, 2-space indent)
with the editor's tab size overriding the indent. `lucisv` on the command line
does read it.
**Formatting through an editor reads `lucisv.toml` too**, discovered from the
buffer's own path by the CLI's rule, so format-on-save agrees with what
`lucisv --check` does in CI. Precedence, highest first: `lucisv.toml`, then
the editor's `lucisv.lineLength`/`lucisv.indent` settings, then the editor's
tab size (indent only — the protocol carries no line-length), then the
defaults. A broken config never blocks formatting: the buffer is formatted
with the next rung down and the error is surfaced in the editor.
## Contributing / workflow
@@ -687,18 +692,27 @@ expected outputs with `UPDATE_SNAPSHOTS=1 cargo test -p vlog_formatter`.
## Install and releases
There are no prebuilt downloads: you build the artifacts, or someone builds
them for your platform and hands you the files.
Prebuilt downloads live on the
[releases page](https://git.luci.ooo/lucio/lucisv/releases): every tagged
version carries `lucisv` and `lucisv-server` for Apple Silicon and Intel
macOS, static-musl and RHEL 8-compatible glibc Linux, and Windows, plus the
`.vsix` and a `SHA256SUMS` to verify them with
(`shasum -a 256 -c SHA256SUMS`). Copy the two binaries onto your `PATH` and
sideload the extension with `code --install-extension`. The macOS binaries
are smoke-tested on the build machine; the Linux and Windows ones are
cross-built and audited (file type, dynamic-linkage, glibc-version ceiling),
not executed — there is no Linux or Windows machine in the loop.
To build the same artifact set yourself:
```bash
tools/release.sh # release binaries + the .vsix + SHA256SUMS, into dist/
tools/release.sh # host binaries + the .vsix + SHA256SUMS, into dist/
tools/release.sh --cross # ...plus the four cross-built platforms
```
`dist/` then holds `lucisv-<version>-<host-triple>`,
`lucisv-server-<version>-<host-triple>`, `lucisv-<version>.vsix` and `SHA256SUMS`
(verify with `cd dist && shasum -a 256 -c SHA256SUMS`). Copy the two binaries
onto your `PATH` and sideload the extension with `code --install-extension`.
The script builds for the host triple only and publishes nothing anywhere.
The script itself publishes nothing anywhere; publishing is CI's job —
pushing a `vX.Y.Z` tag builds all of the above on Gitea Actions and attaches
it to a release, with that version's `CHANGELOG.md` section as the notes.
Release notes are in [`CHANGELOG.md`](CHANGELOG.md); the full checklist —
where the version number lives, how the `.vsix` is packaged, and what