Skip to content

feat(packages): install starship/yazi/tree-sitter-cli/viddy from community (#71) - #74

Merged
Gerrrt merged 2 commits into
mainfrom
claude/dotfiles-core-issues-296-305-efqw94
Jul 28, 2026
Merged

feat(packages): install starship/yazi/tree-sitter-cli/viddy from community (#71)#74
Gerrrt merged 2 commits into
mainfrom
claude/dotfiles-core-issues-296-305-efqw94

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Resolves the availability drift flagged in the os-package-availability run (#71).

starship, yazi, tree-sitter-cli and viddy have all landed in Alpine's community repo (native musl builds) since this list was written — the ideal case for the musl outlier.

Changes

  • install/packages.txt — add the four to the apk list; refresh the header; drop the stale sd MED-confidence hedge (confirmed in community).
  • bootstrap.sh — reword the starship/yazi/tree-sitter-cli/viddy blocks to note apk installs the community build first; the existing presence-guarded source builds now act as fallbacks.

Why this is safe

Every source-build block is guarded by if ! command -v X, and apk_install is per-package resilient (a name missing on a box is skipped, never fatal). So the change is purely additive: where the community package resolves, apk installs the native musl build and the cargo/curl fallback no-ops; where it doesn't, the fallback builds it exactly as before. Zero regression regardless.

Deliberately excluded

  • jujutsu — now in Alpine community too, but it's an opt-in tool not carried in any OS repo's packages.txt; adding it only here would create single-repo fleet drift. The matrix's stale "not in Alpine" claim is corrected in the companion Core PR without wiring it in.

The matching PORTING-MATRIX.md update is in a companion dotfiles-core PR.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WYbU5Xm57LrLg7RrNJoMxu


Generated by Claude Code

…unity (#71)

These four landed in Alpine community (native musl builds) since the list was
written. apk now installs them first; bootstrap.sh keeps the presence-guarded
cargo/curl source builds as fallbacks, so the change is purely additive. Also
drops the stale sd MED-confidence hedge.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYbU5Xm57LrLg7RrNJoMxu
Copilot AI review requested due to automatic review settings July 28, 2026 22:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Alpine OS-layer package list to prefer native apk installs for tools that are now available as musl builds in Alpine’s community repository, while keeping the existing source-install blocks in bootstrap.sh as presence-guarded fallbacks.

Changes:

  • Add starship, yazi, tree-sitter-cli, and viddy to install/packages.txt now that they’re packaged in community.
  • Refresh and expand the install/packages.txt header/comments to reflect the new “apk first, fallback second” approach.
  • Reword the related sections in bootstrap.sh to clarify that the curl/cargo installs are fallbacks when apk doesn’t provide the binaries.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
install/packages.txt Adds newly-available community packages and updates the file’s explanatory header/comments.
bootstrap.sh Updates comments to describe source installs as presence-guarded fallbacks after apk package installation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread install/packages.txt Outdated
# presence-guarded fallbacks that skip when apk already provided the binary.
starship # prompt (musl build in community; official installer kept as fallback)
yazi # file manager (community; cargo build kept as fallback)
tree-sitter-cli # nvim parser CLI — the community build IS the musl build (>=0.26.1 floor met)
Comment thread install/packages.txt Outdated
Comment on lines +3 to +7
# Tools still built from source on musl (tealdeer — testing-only; duf/glow/sesh via
# go install) are handled by bootstrap.sh — keep them OUT of here. Tools that recently
# landed in `community` (starship, yazi, tree-sitter-cli, viddy) are now apk-installed
# below; bootstrap.sh keeps a presence-guarded source build as a fallback for boxes
# where the community package is missing.
…eview)

Header no longer claims duf/glow are kept out (they're listed as best-effort);
fold the tree-sitter-cli detail into the block comment to keep the column aligned.
Addresses Copilot review on #74.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYbU5Xm57LrLg7RrNJoMxu
@Gerrrt
Gerrrt merged commit 3651fc7 into main Jul 28, 2026
5 checks passed
@Gerrrt
Gerrrt deleted the claude/dotfiles-core-issues-296-305-efqw94 branch August 1, 2026 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants