Repository navigation
feat(bootstrap): add apk package support - #10476
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d54b1b2. Configure here.
Greptile SummaryThis PR adds Alpine Linux
Confidence Score: 5/5Safe to merge — the new ApkManager is additive, follows the established pattern exactly, and is only invoked when apk is explicitly requested or configured. The implementation is self-contained and well-tested. The one correctness risk (prefix matching No files require special attention. Important Files Changed
Reviews (3): Last reviewed commit: "feat(bootstrap): add apk package support" | Re-trigger Greptile |
d54b1b2 to
a59885e
Compare
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (22)
✅ Files skipped from review due to trivial changes (9)
🚧 Files skipped from review as they are similar to previous changes (11)
📝 WalkthroughWalkthroughAdds Alpine Linux ChangesAlpine apk Bootstrap Package Manager
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
a59885e to
043fe80
Compare
Hyperfine Performance
|
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
mise-2026.6.10 x -- echo |
19.0 ± 2.6 | 16.9 | 33.9 | 1.00 |
mise x -- echo |
19.3 ± 1.4 | 17.3 | 42.6 | 1.02 ± 0.16 |
mise env
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
mise-2026.6.10 env |
18.4 ± 0.8 | 16.9 | 21.9 | 1.00 |
mise env |
19.2 ± 1.0 | 17.4 | 24.1 | 1.04 ± 0.07 |
mise hook-env
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
mise-2026.6.10 hook-env |
19.0 ± 0.8 | 17.4 | 22.2 | 1.00 |
mise hook-env |
19.6 ± 0.9 | 17.8 | 25.0 | 1.03 ± 0.06 |
mise ls
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
mise-2026.6.10 ls |
15.9 ± 0.7 | 14.5 | 18.7 | 1.00 |
mise ls |
16.5 ± 0.8 | 14.9 | 21.8 | 1.04 ± 0.07 |
xtasks/test/perf
| Command | mise-2026.6.10 | mise | Variance |
|---|---|---|---|
| install (cached) | 134ms | 134ms | +0% |
| ls (cached) | 59ms | 59ms | +0% |
| bin-paths (cached) | 63ms | 64ms | -1% |
| task-ls (cached) | 126ms | 125ms | +0% |

Summary
apkas a bootstrap package manager for[bootstrap.packages]status,install,upgrade, explicit--manager apk, anduseversion pinsapkbootstrap packages and regenerate CLI usage docsCloses #10449
Testing
cargo fmt --checkcargo test system::packages::apkcargo test system::tests::test_parse_use_specmise run render:usagemise run test:e2e e2e/cli/test_system_status e2e/cli/test_system_use e2e/cli/test_system_install_apkThis PR description was generated by an AI coding assistant.
Note
Low Risk
Follows the existing bootstrap package-manager pattern; changes apply only on Linux when
apkis present and may run elevatedapkcommands during explicit bootstrap installs.Overview
Adds Alpine Linux
apkas a bootstrap package manager for[bootstrap.packages], using theapk:packagekey form alongside apt, dnf, pacman, and brew.A new
ApkManagerimplements status (apk info -e -v), install (apk add, with optional--update-cache), and upgrade (apk upgrade --available --update-cache), including version pins vianame=version. CLI--managerchoices,mise bootstrap --updatehelp, andpackages useparsing forapk:…@versionare wired through the same paths as other Linux managers.Docs gain a dedicated apk page and cross-links; usage/man/fig completions are regenerated. E2E coverage includes Alpine-only install/upgrade/
usetests plus shared status/use checks whenapkis absent.Reviewed by Cursor Bugbot for commit 043fe80. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by CodeRabbit
apk) package manager support for bootstrap packagesapk:package-name(including@versionpinning)--managerand related upgrade/install behavior to coverapkapkexamples and metadata-refresh detailsapkinstall, status, upgrade, and use/pinning behavior