From 0b0c1828f704d275d5d79c4155fd299b114206ba Mon Sep 17 00:00:00 2001 From: nerdalytics <97166791+nerdalytics@users.noreply.github.com> Date: Sun, 20 Sep 2026 14:46:49 +0200 Subject: [PATCH] fix: restore cargo-deny config validity and the LFS filter path cargo-deny 0.20.2 removed the `unlicensed` key (EmbarkStudios/cargo-deny#611), so `cargo deny check` aborts on config validation before it inspects anything. The `allow` list already denies a crate whose license cannot be determined. .gitattributes still names `crates/rgbuilder-analysis`, a path that no longer exists after the rgbuilder to rgctl rename, so `git check-attr filter` reports `unspecified` for the real asset. Signed-off-by: nerdalytics <97166791+nerdalytics@users.noreply.github.com> --- .gitattributes | 2 +- deny.toml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index d9e7fb8f..0ebb37b7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,2 @@ # ONNX external weights exceed GitHub's 100 MB blob limit — stored via Git LFS. -crates/rgbuilder-analysis/assets/code-daemon-embed-v1/model.onnx.data filter=lfs diff=lfs merge=lfs -text +crates/rgctl-analysis/assets/code-daemon-embed-v1/model.onnx.data filter=lfs diff=lfs merge=lfs -text diff --git a/deny.toml b/deny.toml index 505b0f89..cfe5301e 100644 --- a/deny.toml +++ b/deny.toml @@ -14,6 +14,8 @@ unknown-git = "warn" github = ["*"] [licenses] -unlicensed = "deny" -allow = ["MIT", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "ISC", "Unicode-3.0"] +# `unlicensed` was removed in cargo-deny (EmbarkStudios/cargo-deny#611): a +# crate whose license cannot be determined now fails against `allow` below, +# which is what this key asked for anyway. +allow =["MIT", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "ISC", "Unicode-3.0"] confidence-threshold = 0.8