diff options
| author | user <user@clank> | 2026-08-08 21:24:00 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-08 21:24:00 +0200 |
| commit | 51ee9ba249ed5147defe10e1c08296880e59526f (patch) | |
| tree | 5ecba51bd00bff94fa1e5a5b1957dec660268c02 | |
| parent | docs: prepend sl0ppij fork header to README (diff) | |
| download | sl0ppij-51ee9ba249ed5147defe10e1c08296880e59526f.tar.gz sl0ppij-51ee9ba249ed5147defe10e1c08296880e59526f.tar.xz sl0ppij-51ee9ba249ed5147defe10e1c08296880e59526f.zip | |
sl0p: tag fork builds as 0.45.0+sl0p1
`zellij --version` was identical to upstream, so there was no way to tell a
fork binary from a stock one.
Uses BUILD METADATA (+sl0p1) rather than a prerelease (-sl0p1): cargo ignores
build metadata when matching version requirements, so the intra-workspace
`zellij-utils = "0.45.0"` dependencies still resolve. The prerelease form was
tried first and fails to resolve - it would require updating every member
manifest to depend on the exact prerelease.
Checked against the places VERSION is actually consumed:
- shared::version_number() yields 4500 for both 0.45.0 and 0.45.0+sl0p1, so
terminal version reporting is byte-identical, and still orders below 0.46.0.
- client/server compatibility keys off CLIENT_SERVER_CONTRACT_VERSION, not
this, so existing sessions are unaffected.
- ZELLIJ_PLUGIN_ARTIFACT_DIR is keyed by VERSION, so the bundled wasm plugins
are recompiled once on first run after a bump. One-time, harmless.
Baselines held: zellij-server 1421/30, zellij-utils 435/5.
| -rw-r--r-- | Cargo.lock | 14 | ||||
| -rw-r--r-- | Cargo.toml | 17 | ||||
| -rw-r--r-- | README.md | 19 |
3 files changed, 42 insertions, 8 deletions
@@ -4996,7 +4996,7 @@ dependencies = [ [[package]] name = "zellij" -version = "0.45.0" +version = "0.45.0+sl0p1" dependencies = [ "anyhow", "clap", @@ -5022,7 +5022,7 @@ dependencies = [ [[package]] name = "zellij-client" -version = "0.45.0" +version = "0.45.0+sl0p1" dependencies = [ "anyhow", "async-trait", @@ -5068,7 +5068,7 @@ dependencies = [ [[package]] name = "zellij-integration-tests" -version = "0.45.0" +version = "0.45.0+sl0p1" dependencies = [ "anyhow", "async-trait", @@ -5087,7 +5087,7 @@ dependencies = [ [[package]] name = "zellij-server" -version = "0.45.0" +version = "0.45.0+sl0p1" dependencies = [ "ansi_term", "anyhow", @@ -5137,7 +5137,7 @@ dependencies = [ [[package]] name = "zellij-tile" -version = "0.45.0" +version = "0.45.0+sl0p1" dependencies = [ "prost", "serde", @@ -5149,14 +5149,14 @@ dependencies = [ [[package]] name = "zellij-tile-utils" -version = "0.45.0" +version = "0.45.0+sl0p1" dependencies = [ "ansi_term", ] [[package]] name = "zellij-utils" -version = "0.45.0" +version = "0.45.0+sl0p1" dependencies = [ "anyhow", "backtrace", @@ -70,7 +70,22 @@ members = [ edition = "2021" license = "MIT" repository = "https://github.com/zellij-org/zellij" -version = "0.45.0" +# sl0p fork: the `-sl0pN` suffix marks a fork build so `zellij --version` is +# distinguishable from upstream. Bump the suffix for each published fork build; +# reset it to 1 when rebasing onto a new upstream version. +# +# Safe against the places VERSION is consumed: +# - it is BUILD METADATA ('+'), not a prerelease ('-'): cargo ignores build +# metadata when matching version requirements, so the intra-workspace +# `zellij-utils = "0.45.0"` deps still resolve. A `-sl0p1` prerelease does +# NOT resolve and would need every member manifest updated. +# - shared::version_number() still yields the same number as 0.45.0, so +# terminal version reporting is unaffected. +# - client/server compatibility keys off CLIENT_SERVER_CONTRACT_VERSION, not +# this, so sessions are unaffected. +# - ZELLIJ_PLUGIN_ARTIFACT_DIR is keyed by VERSION, so a bump means the wasm +# plugin cache is rebuilt once on first run. +version = "0.45.0+sl0p1" # NOTE: When updating this, modify `channel` in `rust-toolchain.toml` accordingly rust-version = "1.95" @@ -90,6 +90,25 @@ the fork — check against `upstream/main` before chasing one). use for them and adding proto fields would mean regenerating the committed prost assets in `zellij-utils/assets/prost/`. +## Version string + +Fork builds report a `+sl0pN` build-metadata suffix, so `zellij --version` is +distinguishable from upstream: + +``` +$ zellij --version +zellij 0.45.0+sl0p1 +``` + +Build metadata rather than a `-sl0pN` prerelease on purpose: cargo ignores build +metadata when matching version requirements, so the intra-workspace +`zellij-utils = "0.45.0"` dependencies still resolve. A prerelease suffix does not, +and would require editing every member manifest. + +Bump the suffix per published fork build; reset to 1 when rebasing onto a new +upstream release. Note that a version bump changes `ZELLIJ_PLUGIN_ARTIFACT_DIR`, so +the bundled wasm plugins are recompiled once on first run. + ## Staying current with upstream ``` |
