summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-17 22:09:13 +0000
committeraur-build <aur-build@localhost>2026-11-17 22:09:13 +0000
commit22983d23554071013fb9caaa3a018ff2b649718b (patch)
treef3d8e51c1555762b81244f88f3ad0cdd1239a253 /Cargo.toml
parent4ac1d19ca5dc540db0478943a0cd70a5353307da (diff)
downloadaur-build-22983d23554071013fb9caaa3a018ff2b649718b.tar.gz
aur-build-22983d23554071013fb9caaa3a018ff2b649718b.zip
cli: operator command line with the approval path (§7.2)
aur-build init/subscribe/detect/reviews/show/approve/reject/build/run/ builds/status/packages/audit. approve renders the review and then approves with the hashes it just rendered, so the CLI cannot approve a diff it did not show you; --identity/--diff reproduce the stale case explicitly and a refusal exits 2 (the web equivalent is 409). Approvals are now immutable at the schema level: migration 0006 rejects UPDATE and DELETE on the approval table, because that row is the only proof the system has of what a human actually looked at (§7.2, I10). Publishing also refuses when no approval is reachable, including the manual-rebuild path that inherits one. 10 tests, including two that drive the compiled binary end to end against a file:// AUR fixture.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index ed3b0f7..7a687f6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -50,7 +50,7 @@ serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.10"
hex = "0.4"
-clap = { version = "4", features = ["derive"] }
+clap = { version = "4", features = ["derive", "env"] }
chrono = { version = "0.4", features = ["serde"] }
walkdir = "2"
tar = "0.4"