Rename the tool to lucisv (Language Utility for Coding In SystemVerilog)

This commit is contained in:
lucio committed 2026-08-25 23:36:00 -07:00
1 parent a284e33110
commit eeaffafd56
188 files changed
+2825 -2802

No files matched your search

+18 -18
View File
@@ -1,4 +1,4 @@
# Releasing vfmt
# Releasing lucisv
Everything here runs on a normal developer machine with cargo, node and
`shasum`. Nothing in the main checklist needs an account anywhere: the
@@ -16,7 +16,7 @@ Linux — statically linked, no glibc dependency) and `x86_64-pc-windows-gnu`
distributions: the messense toolchain's sysroot keeps the highest
referenced symbol at `GLIBC_2.28`, which is RHEL 8's own glibc, so it
runs on RHEL 8.x (verified for 8.10 by symbol audit:
`x86_64-unknown-linux-gnu-objdump -T dist/vfmt-server-* | grep -o
`x86_64-unknown-linux-gnu-objdump -T dist/lucisv-server-* | grep -o
'GLIBC_[0-9.]*' | sort -Vu | tail -1`; every NEEDED library is in a base
install). The static musl build runs there too — the gnu build exists
for shops that require a native glibc link. The `.vsix` is
@@ -57,13 +57,13 @@ Four files, one number. Keep them identical.
| `editors/vscode/package.json` | `"version"` |
| `editors/vscode/package-lock.json` | `"version"` in **both** places (the top level and the `packages[""]` entry) |
Nothing hard-codes a version string in Rust: `vfmt --version` and the language
Nothing hard-codes a version string in Rust: `lucisv --version` and the language
server's `initialize` → `serverInfo.version` both read `env!("CARGO_PKG_VERSION")`,
so the workspace bump reaches them for free. Verify after bumping:
```bash
cargo build --release
target/release/vfmt --version # vfmt X.Y.Z
target/release/lucisv --version # lucisv X.Y.Z
```
## 2. Write the changelog
@@ -95,15 +95,15 @@ tools/release.sh # or: tools/release.sh -o /some/other/dir
It builds `--release`, copies the two binaries into `dist/` under
version-and-host names, smoke-tests the server binary with
`editors/vscode/smoke.js`, packages the extension into `dist/vfmt-<version>.vsix`,
`editors/vscode/smoke.js`, packages the extension into `dist/lucisv-<version>.vsix`,
and writes `dist/SHA256SUMS`. `dist/` is gitignored and is deleted and
recreated on every run.
```
dist/
vfmt-0.7.0-aarch64-apple-darwin
vfmt-server-0.7.0-aarch64-apple-darwin
vfmt-0.7.0.vsix
lucisv-0.7.0-aarch64-apple-darwin
lucisv-server-0.7.0-aarch64-apple-darwin
lucisv-0.7.0.vsix
SHA256SUMS
```
@@ -126,7 +126,7 @@ The script runs, inside `editors/vscode/`:
```bash
npm ci # 8 packages, exact lockfile
npx @vscode/vsce package --out ../../dist/vfmt-<version>.vsix
npx @vscode/vsce package --out ../../dist/lucisv-<version>.vsix
```
- **No `--skip-license`.** `vsce` requires a `LICENSE` file next to
@@ -145,19 +145,19 @@ npx @vscode/vsce package --out ../../dist/vfmt-<version>.vsix
repo and only writes its *output* to `-o`.
- `.vscodeignore` keeps `smoke.js`, `.vscode/**` and `.gitignore` out of the
package. Check that after any change to it:
`unzip -l dist/vfmt-<version>.vsix | grep smoke` must print nothing, and
`unzip -l dist/vfmt-<version>.vsix | grep syntaxes` must print the grammar —
`unzip -l dist/lucisv-<version>.vsix | grep smoke` must print nothing, and
`unzip -l dist/lucisv-<version>.vsix | grep syntaxes` must print the grammar —
without it, hover cards ship unhighlighted.
## 5. Install / distribute
```bash
# the CLI and the server: anywhere on PATH
install -m 755 dist/vfmt-0.7.0-aarch64-apple-darwin ~/.local/bin/vfmt
install -m 755 dist/vfmt-server-0.7.0-aarch64-apple-darwin ~/.local/bin/vfmt-server
install -m 755 dist/lucisv-0.7.0-aarch64-apple-darwin ~/.local/bin/lucisv
install -m 755 dist/lucisv-server-0.7.0-aarch64-apple-darwin ~/.local/bin/lucisv-server
# the editor extension: sideload, no marketplace involved
code --install-extension dist/vfmt-0.7.0.vsix
code --install-extension dist/lucisv-0.7.0.vsix
```
Publishing the artifacts is a matter of attaching `dist/`'s contents plus
@@ -165,13 +165,13 @@ Publishing the artifacts is a matter of attaching `dist/`'s contents plus
gate is green:
```bash
git tag -a v0.5.0 -m 'vfmt 0.5.0'
git tag -a v0.5.0 -m 'lucisv 0.5.0'
git push origin v0.5.0
```
## Appendix — if the owner ever publishes to a marketplace
**Optional and deferred.** Sideloading covers every use vfmt has today, and
**Optional and deferred.** Sideloading covers every use lucisv has today, and
none of the steps below can be run by anyone but the repo owner: they need
accounts, tokens and a decision about the published identity. Recorded here so
the information is not lost, not as a checklist step.
@@ -194,10 +194,10 @@ The commands themselves, once those exist:
# VS Code Marketplace: needs an Azure DevOps PAT for the publisher
npx @vscode/vsce publish -p "$VSCE_TOKEN"
# ... or publish an already-built package
npx @vscode/vsce publish --packagePath dist/vfmt-0.7.0.vsix -p "$VSCE_TOKEN"
npx @vscode/vsce publish --packagePath dist/lucisv-0.7.0.vsix -p "$VSCE_TOKEN"
# Open VSX (VSCodium, Gitpod, Cursor): needs an Eclipse Foundation account
npx ovsx publish dist/vfmt-0.7.0.vsix -p "$OVSX_TOKEN"
npx ovsx publish dist/lucisv-0.7.0.vsix -p "$OVSX_TOKEN"
```
Both tokens are secrets. Neither belongs in this repo, in a shell history, or