feat(packaging): build the installer offline with distro Rust toolchains #186
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.50) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 622 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.385
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #186"
general
weight: 0.35
jdx
<!-- entire-trail-link-start -->
https://entire.io/gh/jdx/packslip/trails/63
<!-- entire-trail-link-end -->
Packslip can be built as a complete installer using a distribution's Rust toolchain, so it can bootstrap upstream package managers without requiring another language package manager to install Packslip. Add offline Debian/PPA and RPM/COPR source recipes, minimal installer packages, and publishing workflows for the jdxcode accounts.
Lower the declared minimum Rust version to 1.93 and require all-feature, library-only, and installer tests plus Clippy on five native platforms. Require offline Debian and RPM build/test/install checks on Linux x64 and ARM64. Vendored build inputs retain each separate crate's checksums and license files; the build does not run rustup or fetch dependencies.
Validated the full installer build, tests, package contents, and installation on native Ubuntu ARM64 without networking; an earlier recipe snapshot also passed on Fedora x64. Rust 1.93 full/minimal/installer tests and all-target Clippy pass on macOS ARM64. Debian source preparation now copies buildinfo and verifies all source upload files against .changes checksums; a missing-buildinfo probe is rejected before upload. Static and generated completion forms are validated against the existing spec, with five new conformance vectors. Unsigned Debian and RPM source preparation, shell lint, workflow security analysis, documentation examples/links, and browser preview pass. The native Windows CLI suite also passes. Both actions now run with macOS system Bash 3; the full Rust 1.93 suite passes with that shell. COPR authentication was verified with the pinned client, including its required rich dependency. Latest native CI checks provide the remaining platform evidence.
Builds on the merged installer and compatibility layers. The PPA and COPR project are created for x64/ARM64, the dedicated upload key is registered with Launchpad, and COPR credentials are configured and authenticated. The first stable publication remains pending a release containing the reviewed installer stack. These are interim upstream repositories, not admission to official distro archives. Signed APT/RPM hosting follows in the next layer.
AI-assisted — Tool: Codex; model: unavailable; version: unavailable.
<!-- CURSOR_SUMMARY -->
---
<!-- /CURSOR_SUMMARY -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
Added support for building Debian and RPM packages, with workflows to prepare and publish source packages.
Package builds include the command-line tool, manual page, configuration files, and Bash, Zsh, and Fish completions.
Compatibility
Repository builds now support Rust 1.93 and newer. The current crates.io release still requires Rust 1.95 or newer.
Documentation
Added guidance for building distribution packages and configuring package publication.
Bug Fixes
* Improved validation of shell completion declarations in release statements.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->