From b560909a7621190d34b6ecfc09961a552609fba7 Mon Sep 17 00:00:00 2001 From: Guoliang Chen Date: Wed, 26 Aug 2026 02:10:54 -0700 Subject: [PATCH] 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 --- .DS_Store | Bin 8196 -> 0 bytes .gitignore | 1 + README.md | 48 +++++++++++++++++++++++++++++++----------------- 3 files changed, 32 insertions(+), 17 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 8435edf5cb8147f9634ab5df466f600d91ba2d35..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8196 zcmeHMTWl0n7(U;$lo>j-1GKVW2R2=ZfGw=0*m6s@H|1VrTe>ZmWp`(!1JjwZGrKL8 zn#RNz5RFe7Z;>Z&kp~qezG$K-`lx7vF+N~4>We1$qVnKBb7r9zNPI9xaZWPlKmYBV z`TzO;GkazkV`wjE_b?V=jEQu4RH>xyCe71(*Ni3vl5(OTf0i9_hO?%fCI0*j>rfD8 zAk09RfiMGM2Eq*d8!|xeY_Ey8c<*y<*oPSiGw{F6fVV$H>GEhIpc9<>TL*Ri5rC+7 z1n?V;6>mT^8qh>QCpaYyHE>s=+!etQ1KgeD(ZDVd&eCBq^;# z#>SfC%?;7!d)JLOM90=Q#l3O!__!q2#@1}ylRjz=S@uaD0)lOT&7Bs~smbw}PO*c3 zk0?u);`yo+k2I%Jo~!ny`Um#OX=Q$qZoGTgHEhe-tLGh}X{Fks0Jr9BYj(pz3!%FpTxyPa4MJ2-xSIcp^ z=O{ryQXDQ>E3Z>~%}iD|B}L=ww8|UQz9P@Rq-^KH&2p`p%GpCh6rv+>S)1CS9`u&o zk#XGaVcqg>=_1$NN4f!LFq7B2M+kz!9c?42|42#hIdy4(htm4Di`$wYw$WL@E5$9rwUTi9BVx4RU zJH+yAjGbmrvoq{1c7c7wzF^<5AK6v*8-NPT#vD|l28*!_4OoX3v|>Hl(T&~MgCzE2 z5C)FG!6=Sn3@7j?PT~|!<8eHN=kWqw#2LJbH}EFT;cdK!i}(be;&WWVxA+d<<7fPi zKX6T$B`g#o!XlwwXb>8O)k2HVDr^uo3cG}EAthvlBZ4iA@&JTVsU6^asTYpZ==#<{ zr51ep6VBee)avfvvUS_`|4yl0uJVhkruL47(dDbwG`DVUyADE*+7eJF!{5jJluGe2 z?_**bUN8AoC@)!BD!Utn$P2TVibWq4y_!{K2iCD=A{C1=D_~cwBzC(}!P&aT)gl$9 zBKWLa*R)om@>9wJwy}j+a7Ny^Nuokj$^&*uf>`D=b#U diff --git a/.gitignore b/.gitignore index d87ba8a..5c3b761 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /dist /.lucisv_cache /.score-results.tsv +.DS_Store diff --git a/README.md b/README.md index 932bf46..4a74495 100644 --- a/README.md +++ b/README.md @@ -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-.vsix -code --install-extension dist/lucisv-0.5.0.vsix +code --install-extension dist/lucisv-.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--`, -`lucisv-server--`, `lucisv-.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