diff --git a/.run_status.toml b/.run_status.toml index 9acfa55..b7db2d6 100644 --- a/.run_status.toml +++ b/.run_status.toml @@ -1,11 +1,11 @@ [last_run_clean] run_status = "Success" -lines_parsed = 439 +lines_parsed = 440 coverage = 92.72 [last_run_clean.run_duration] secs = 62 -nanos = 838606094 +nanos = 709259686 [last_run_incremental] run_status = "Success" diff --git a/CHANGELOG.md b/CHANGELOG.md index ce06e6a..6764b69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ All notable changes to John Slop are recorded here. The format follows ## [Unreleased] +## [0.1.27-rc.5] - 2026-09-30 + +### Added + +- Added `cargo-binstall` package metadata for downloading versioned target + archives from Gitea releases. + ## [0.1.27-rc.4] - 2026-09-30 ### Fixed @@ -183,7 +190,8 @@ All notable changes to John Slop are recorded here. The format follows - Stdio LSP replacement diagnostics and versioned quick fixes. - Runnable examples, reviewed fixtures, fuzz targets, benchmarks, and CI gates. -[Unreleased]: https://proxy.dandaedre.com/gitea/idle-org/john-slop/compare/v0.1.27-rc.4...HEAD +[Unreleased]: https://proxy.dandaedre.com/gitea/idle-org/john-slop/compare/v0.1.27-rc.5...HEAD +[0.1.27-rc.5]: https://proxy.dandaedre.com/gitea/idle-org/john-slop/compare/v0.1.27-rc.4...v0.1.27-rc.5 [0.1.27-rc.4]: https://proxy.dandaedre.com/gitea/idle-org/john-slop/compare/v0.1.27-rc.3...v0.1.27-rc.4 [0.1.27-rc.3]: https://proxy.dandaedre.com/gitea/idle-org/john-slop/compare/v0.1.27-rc.2...v0.1.27-rc.3 [0.1.27-rc.2]: https://proxy.dandaedre.com/gitea/idle-org/john-slop/compare/v0.1.27-rc.1...v0.1.27-rc.2 diff --git a/Cargo.lock b/Cargo.lock index 0bc1e04..aeb1bbd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -699,7 +699,7 @@ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" [[package]] name = "john-slop" -version = "0.1.27-rc.4" +version = "0.1.27-rc.5" dependencies = [ "clap", "criterion", @@ -724,7 +724,7 @@ dependencies = [ [[package]] name = "john-slop-core" -version = "0.1.27-rc.4" +version = "0.1.27-rc.5" dependencies = [ "directories", "figment", @@ -742,7 +742,7 @@ dependencies = [ [[package]] name = "john-slop-lsp" -version = "0.1.27-rc.4" +version = "0.1.27-rc.5" dependencies = [ "john-slop-core", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index 0f327c1..3e2b32b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ default-members = [".", "crates/john-slop-core", "crates/john-slop-lsp"] resolver = "3" [workspace.package] -version = "0.1.27-rc.4" +version = "0.1.27-rc.5" edition = "2024" rust-version = "1.98.1" license = "MIT" @@ -18,8 +18,8 @@ figment = { version = "0.10.19", default-features = false, features = ["toml"] } futures = { version = "0.3.34", default-features = false, features = ["std"] } globset = { version = "0.4.20", default-features = false } insta = { version = "1.48.0", default-features = false } -john-slop-core = { version = "0.1.27-rc.4", path = "crates/john-slop-core" } -john-slop-lsp-engine = { package = "john-slop-lsp", version = "0.1.27-rc.4", path = "crates/john-slop-lsp" } +john-slop-core = { version = "0.1.27-rc.5", path = "crates/john-slop-core" } +john-slop-lsp-engine = { package = "john-slop-lsp", version = "0.1.27-rc.5", path = "crates/john-slop-lsp" } miette = { version = "7.6.0", default-features = false, features = ["derive"] } regex = "1.13.1" serde = { version = "1.0.229", features = ["derive"] } @@ -49,6 +49,11 @@ repository.workspace = true description = "Inspect files, directories, or ZIP-based documents for low-care signals" autobins = false +[package.metadata.binstall] +pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }-v{ version }.tgz" +pkg-fmt = "tgz" +bin-dir = "{ name }-{ target }-v{ version }/{ bin }{ binary-ext }" + [[bin]] name = "john-slop" path = "src/bin/john-slop.rs" diff --git a/badges/version.svg b/badges/version.svg index d42ebb5..a64e9aa 100644 --- a/badges/version.svg +++ b/badges/version.svg @@ -1 +1 @@ -version: 0.1.27-rc.4version0.1.27-rc.4 \ No newline at end of file +version: 0.1.27-rc.5version0.1.27-rc.5 \ No newline at end of file diff --git a/docs/releasing.md b/docs/releasing.md index d8f702e..b6d267b 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -55,7 +55,7 @@ The wrapper keeps the token out of command-line arguments, exports it as and publishes raw binary artifacts. It temporarily selects the canonical HTTPS origin for publication, then restores the SSH development origin after both successful and failed attempts. A hyphenated Cargo version such as -`0.1.27-rc.4` automatically marks the Gitea release as a prerelease. Additional +`0.1.27-rc.5` automatically marks the Gitea release as a prerelease. Additional arguments are forwarded, so use `--dry-run` before publication and `--replace-assets` only after reviewing an existing release collision. The checkout must be clean and its local and remote `vX.Y.Z` tag must match the diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index 190670a..e098605 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -385,7 +385,7 @@ dependencies = [ [[package]] name = "john-slop-core" -version = "0.1.27-rc.4" +version = "0.1.27-rc.5" dependencies = [ "directories", "figment", @@ -411,7 +411,7 @@ dependencies = [ [[package]] name = "john-slop-lsp" -version = "0.1.27-rc.4" +version = "0.1.27-rc.5" dependencies = [ "john-slop-core", "serde_json", @@ -422,7 +422,7 @@ dependencies = [ [[package]] name = "john-slop" -version = "0.1.27-rc.4" +version = "0.1.27-rc.5" dependencies = [ "clap", "globset", diff --git a/tasks.md b/tasks.md index f6c99df..40e4203 100644 --- a/tasks.md +++ b/tasks.md @@ -807,6 +807,24 @@ both feature test matrices, documentation, RustSec, dependency policy, package assembly, exact binary versions, and 92.72% clean coverage passed. Earlier RC tags remain unchanged before RC4 is tagged. +## Release candidate 0.1.27-rc.5 + +- [x] Add `cargo-binstall` package metadata matching the versioned target + archives produced by the release publisher. +- [x] Synchronize release artifacts at `0.1.27-rc.5`, run the complete quality + and release gates, and publish immutable prerelease `v0.1.27-rc.5` without + moving any earlier release-candidate tag. + +Acceptance: Cargo exposes the requested `pkg-url`, `pkg-fmt`, and `bin-dir` +templates; all release metadata and binary versions agree on `0.1.27-rc.5`; +the complete gates and release dry-run pass before RC5 is tagged and published. + +Accepted on 2026-09-30: the exact `cargo-binstall` metadata contract, +formatting, Clippy, both feature test matrices, documentation, MSRV, RustSec, +dependency policy, package assembly, exact binary versions, and 92.72% clean +coverage passed. Earlier RC tags remain unchanged before RC5 is tagged and +published. + ## Deferred by design - Statistical or model-based authorship classification. diff --git a/tests/fixtures/evaluation/signoff.toml b/tests/fixtures/evaluation/signoff.toml index 7f54690..78a33fe 100644 --- a/tests/fixtures/evaluation/signoff.toml +++ b/tests/fixtures/evaluation/signoff.toml @@ -1,5 +1,5 @@ schema_version = 1 -release = "0.1.27-rc.4" +release = "0.1.27-rc.5" reviewed_on = "2026-09-30" status = "accepted-with-runtime-catalog-boundary" catalog_sha256 = "da34ce00dfd2d801e772fa440d932abb98c929f5ad08ff3ad5e47e0ed4d84d5a" diff --git a/tests/release_wrapper.rs b/tests/release_wrapper.rs index 76b55ff..c1c8a84 100644 --- a/tests/release_wrapper.rs +++ b/tests/release_wrapper.rs @@ -39,7 +39,7 @@ fn release_wrapper_uses_https_then_restores_ssh_on_every_exit() { .expect("release wrapper should be copied"); fs::write( repository.join("Cargo.toml"), - "[package]\nname = \"john-slop\"\nversion = \"0.1.27-rc.4\"\n", + "[package]\nname = \"john-slop\"\nversion = \"0.1.27-rc.5\"\n", ) .expect("manifest should be written"); fs::write(repository.join("token.txt"), "test-token\n") diff --git a/tests/workspace_contract.rs b/tests/workspace_contract.rs index ce2d77e..f841929 100644 --- a/tests/workspace_contract.rs +++ b/tests/workspace_contract.rs @@ -111,6 +111,24 @@ fn workspace_members_and_resolved_versions_are_synchronized() { ); } +#[test] +fn cargo_binstall_metadata_matches_release_archives() { + let root = manifest("Cargo.toml"); + let binstall = root["package"]["metadata"]["binstall"] + .as_table() + .expect("package.metadata.binstall must be a table"); + + assert_eq!( + binstall["pkg-url"].as_str(), + Some("{ repo }/releases/download/v{ version }/{ name }-{ target }-v{ version }.tgz") + ); + assert_eq!(binstall["pkg-fmt"].as_str(), Some("tgz")); + assert_eq!( + binstall["bin-dir"].as_str(), + Some("{ name }-{ target }-v{ version }/{ bin }{ binary-ext }") + ); +} + #[test] fn packages_inherit_metadata_and_dependency_sources() { let root = manifest("Cargo.toml");