docs(packaging): installing, the unit's claims, status, and the git decision; the Linux packages depend on git (P15 C1)

docs/install.md is three short sections for a person installing.
docs/packaging.md records what the installed app is on each system, why
NSIS and the macOS bundle are scripts of our own, how signing is wired
with the owner's secrets, what was left out, and what bundling git
would require (GPL-2.0, separate program, unmodified: notices, source
offer), which stays the owner's decision. WB-pkg-1 to WB-pkg-8 are the
product rules. The Linux packages, the AUR file and the rpm now depend
on git, so the package manager fetches it and a Linux person never meets
the missing-git words.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-21 15:48:26 -07:00
1 parent 2c9aea0883
commit 27f9607434
11 files changed
+399 -13

No files matched your search

+2
View File
@@ -75,6 +75,8 @@ workspace = true
# program: `just package-linux`. Paths are relative to the workspace root.
[package.metadata.generate-rpm]
name = "wanderbooks"
# Backups run the system's git (WB-pkg-4): dnf fetches it.
requires = { git = "*" }
summary = "Double-entry bookkeeping your agent keeps and you can read"
license = "MIT OR Apache-2.0"
url = "https://wanderbooks.ai"
+4 -2
View File
@@ -6,8 +6,10 @@
//! ```text
//! GOAL: a package the Claude desktop app can install, naming this
//! program's bridge for one company, with nothing secret in it.
//! SOURCE: WB-pkg-5; github.com/anthropics/mcpb (MANIFEST.md, the 0.3
//! schema); ledger-host extension.rs.
//! SOURCE: WB-pkg-5; Anthropic's MCP Bundle manifest specification
//! (the manifest page and the version 0.3 JSON schema of its
//! mcpb repository on GitHub); the writer's own spec block in
//! the host crate.
//! INVARIANTS:
//! 1. The package is a zip whose root holds `manifest.json`; every file
//! the manifest names (`icon`, `server.entry_point`) is in the zip.
+24
View File
@@ -683,3 +683,27 @@ fn only_a_person_runs_the_workflow_that_publishes_the_repositories() {
"it refuses a draft"
);
}
/// WB-pkg-4: on Linux git is a dependency of every package, so the package
/// manager fetches it; nothing carries a git of its own.
#[test]
fn the_linux_packages_depend_on_git_and_none_carries_one() {
let packager = read("deploy/packaging/packager.toml");
assert_eq!(
packager.matches("\"git\"").count(),
2,
"the deb and the pacman package depend on git"
);
assert!(read("crates/ledger-cli/Cargo.toml").contains("requires = { git = \"*\" }"));
assert!(read("deploy/packaging/aur/PKGBUILD").contains("'git'"));
for file in [
"deploy/packaging/windows/wanderbooks.nsi",
"deploy/packaging/macos/build-macos.sh",
] {
let text = read(file).to_lowercase();
assert!(
!text.contains("mingit") && !text.contains("git.exe"),
"{file} bundles a git"
);
}
}