You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build a .deb from the release bundle and attach it to each release (refines #731) #784
enhancementNew feature or requestinfraDeployment, packaging, releasesoperator-holdThe operator's own hold: never picked or merged, not an owner ask; the operator removes itsize:MSized M against one local session
There is no package install. This is the first slice of #731 and needs no signing key and no hosting: a checksummed .deb attached to the release.
What it impacts
Ubuntu 24.04 DIY users and the release workflow, which gains one artefact.
How I found it
#731 is open in v1.20.0 under the owner's 2026-11-17 ruling. release.yml already builds the exact runtime tree plus SHA256SUMS (lines 44-60) for a draft release. The README has no package route.
How important is it
Medium: smallest deliverable of the apt ruling, behind the layout, marker and guard stories.
Acceptance criteria
scripts/build-deb.sh builds rigforge__all.deb with dpkg-deb from the same bundle release.yml builds, reproducibly, failing if VERSION disagrees with the tag.
Contents: code under /usr/lib/rigforge, a /usr/bin/rigforge wrapper exporting RIGFORGE_LIB and RIGFORGE_STATE, /etc/rigforge/config.json as a conffile, state under /var/lib/rigforge, the marker with value apt, and Depends listing every package rigforge.sh installs today (including jq, curl, nftables).
postinst only runs daemon-reload, creates the state dir and prints the first-run step; it never compiles, tunes, edits GRUB, reboots or starts a first miner. Remove stops and disables units and keeps config and state; purge removes both and never reverts system tuning.
release.yml adds the .deb to SHA256SUMS in the same draft release.
On clean Ubuntu 24.04 in a container, apt install ./rigforge_X.deb, rigforge --version and doctor pass, then remove and purge leave the residue the rules above state.
No reference to an internal test-runner or developer-tooling repository in the package or scripts.
Possible solutions
dpkg-deb over a staging dir (no new tooling). nfpm and debhelper add dependencies for no gain on a pure-bash tree. aarch64 is best effort pending the owner's open question on #707.
Grouped with #782, but PR #806 does not close it: Left out of this PR. The .deb wrapper has to export RIGFORGE_LIB and RIGFORGE_STATE, which #781 has not yet added to rigforge.sh. #783 is also still open, so the package has no writable-tree guard to ship with. #784 can be built once #781 and #783 have landed.. Released for its own pick.
Grouped with #783, but PR #827 does not close it: Unrelated change: it builds a .deb release artifact and does not touch the root-guard work in this PR.. Released for its own pick.
Held: PR #833 already implements this issue together with #731 (the .deb build and its release attachment are in the same change), so a second worker round on #784 would duplicate it. Review of #833 decides whether anything here is left; if it is, this issue is re-scoped to that remainder.
Release regroom (owner request, 2026-11-27): moved from v1.20.0 to v1.21.0. Its open PR delivers the first slice of #731 (v1.21.0), so it ships with it.
Operator ruling, 2026-12-01: config.json is state under /var/lib/rigforge. setup creates it and purge removes it. There is no shipped conffile and no /etc/rigforge/config.json. This supersedes the line '/etc/rigforge/config.json as a conffile' in this issue's Contents criterion. PR #833 implements it, and ADR 0003's purge line now matches.
enhancementNew feature or requestinfraDeployment, packaging, releasesoperator-holdThe operator's own hold: never picked or merged, not an owner ask; the operator removes itsize:MSized M against one local session
Activity
Name the github-pages deployment-tag step and the anchor's route to main
Publish a signed apt feed with a pinned fingerprint (#795)
pithead-developer commentedon Nov 24, 2026
Grouped with #782, but PR #806 does not close it: Left out of this PR. The .deb wrapper has to export RIGFORGE_LIB and RIGFORGE_STATE, which #781 has not yet added to rigforge.sh. #783 is also still open, so the package has no writable-tree guard to ship with. #784 can be built once #781 and #783 have landed.. Released for its own pick.
pithead-developer commentedon Nov 24, 2026
Grouped with #783, but PR #827 does not close it: Unrelated change: it builds a .deb release artifact and does not touch the root-guard work in this PR.. Released for its own pick.
pithead-architect commentedon Nov 24, 2026
Held: PR #833 already implements this issue together with #731 (the .deb build and its release attachment are in the same change), so a second worker round on #784 would duplicate it. Review of #833 decides whether anything here is left; if it is, this issue is re-scoped to that remainder.
pithead-architect commentedon Nov 27, 2026
Release regroom (owner request, 2026-11-27): moved from v1.20.0 to v1.21.0. Its open PR delivers the first slice of #731 (v1.21.0), so it ships with it.
pithead-developer commentedon Dec 1, 2026
Operator ruling, 2026-12-01:
config.jsonis state under/var/lib/rigforge.setupcreates it and purge removes it. There is no shipped conffile and no/etc/rigforge/config.json. This supersedes the line '/etc/rigforge/config.json as a conffile' in this issue's Contents criterion. PR #833 implements it, and ADR 0003's purge line now matches.package: add .deb build and apt install route (fixes #731; related: #784