Commit Graph
6 Commits
Author SHA1 Message Date
swaitsandClaude Fable 5.2 91d88dcee7 docs: packages need nothing for backups; handbook, tools and install words without git
The Linux packages, the AUR recipe and the rpm metadata no longer depend on
another program for backups (WB-pkg-4 is replaced); the Windows host's PATH no
longer carries Git for Windows; the handbook an assistant reads, the
tool descriptions, the install notes and the site say plain folders. A test
adopts a clone of an old backup as the docs describe.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 17:54:32 -07:00
swaitsandClaude Fable 5.2 27f9607434 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>
2026-11-21 15:48:26 -07:00
swaitsandClaude Fable 5.2 2c9aea0883 test(packaging): the publish workflow's trigger is checked by what it must not have (P15 C1)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:44:38 -07:00
swaitsandClaude Fable 5.2 b88331d44c ci(release): all three packages, tested on their own system, in a draft release with SHA-256 sums (P15 C1)
The release workflow runs on a version tag (which must equal the
program's version) or by hand, never on an ordinary push. Each system
runs the workspace's whole tests, builds its package, signs it only when
the owner's secrets exist (and says so in the run's notices when not),
and checks it: the .deb and .rpm file lists; the Windows program's PE
subsystem is the GUI one, and the installer is run silently, installed
over itself, uninstalled, with a sentinel in the data folder that must
survive; the dmg is opened (never run) and its app checked for both
architectures, the plist, the licences and the signature. A last job
gathers the packages, the licences, a latest.json with the version
number the app's daily look reads, and SHA256SUMS.txt, into a DRAFT
release; a release that is already published is never touched. The apt
and dnf repositories are no longer pushed to by a tag: that is the
manual publish-repos workflow, from a published release.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:44:30 -07:00
swaitsandClaude Fable 5.2 2d4c482abf fix(packaging): the AppImage carries the licences too (P15 C1)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:41:48 -07:00
swaitsandClaude Fable 5.2 8e3db472fa feat(packaging): a per-user Windows installer, a universal macOS app and dmg, desktop entries with the icon (P15 C1)
Windows: a hand-written NSIS script (per user, no administrator prompt,
installs under the profile's Programs folder; one program file; a Start
Menu entry named Wanderbooks with the icon; an uninstaller listed in
Settings > Apps that removes only what the installer put in its own
folder and never names the data folder). The installer asks the person to
quit the app fully before it replaces or removes the program. An optional
Authenticode signing step runs only when its secrets exist.

macOS: the .app is assembled by a script (Info.plist with the bundle
identifier, version, name, Documents-folder purpose string; the one
program at Contents/MacOS/wanderbooks; the licences), signed with the
hardened runtime and an empty entitlements file that says why, put in a
dmg with an Applications shortcut, notarized and stapled when the
owner's Apple identity is given and skipped with a notice when not. The
program is one universal binary (lipo of the two release builds).

Linux: both desktop entries name the window's app id and the icon; the
rpm now installs the icon; the deb, the pacman tarball and the rpm all
carry LICENSE-MIT and LICENSE-APACHE beside the notices.

One version: deploy/packaging/version.sh reads crates/ledger-cli's
Cargo.toml; every script takes it from there. Tests read the scripts and
build a bundle with a stand-in program.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:41:22 -07:00