Skip to content

fix: missing dotfile dependencies - #44

Merged
MrPointer merged 3 commits into
mainfrom
fix/missing-dependencies
Nov 14, 2026
Merged

MrPointer merged 3 commits into
mainfrom
fix/missing-dependencies

Conversation

@MrPointer

@MrPointer MrPointer commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

📝 Summary

Handles missing dependencies needed during dotfile rendering, installation, and CI.

Key Decisions

Optional GPG Data

Read GPG data safely before checking defaults or keys, so missing optional data does not stop template rendering.

Required jq Installation

Install jq as a compatibility prerequisite across supported platforms because setup and hooks require it before optional tools are installed.

Authenticated Chezmoi Lookups

Pass the GitHub token to both installer E2E modes so chezmoi release lookups avoid anonymous shared-IP rate limits.

🔄 Before & After

Area Before After
GPG templates Missing GPG data could fail rendering Missing GPG data renders safely
jq Installed as an optional tool Installed as a compatibility prerequisite
Installer CI Chezmoi lookups were anonymous Chezmoi lookups use the GitHub token

Read the optional GPG namespace safely so installations that skip GPG\nsetup can render Git and Zsh configuration.
Ensure jq is available before chezmoi applies settings and agent hooks.\nRemove it from optional tools, which are installed after dotfiles apply.
Pass the Actions token to both installer E2E steps so chezmoi avoids
shared anonymous GitHub API rate limits when resolving releases.
@MrPointer MrPointer changed the title fix: handle missing dotfile dependencies fix: missing dotfile dependencies Nov 14, 2026
@MrPointer
MrPointer merged commit d9de399 into main Nov 14, 2026
9 checks passed
@MrPointer
MrPointer deleted the fix/missing-dependencies branch November 14, 2026 18:51
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.

1 participant