Repository navigation
feat(personal): clone the homelab repository - #48
Merged
Merged
Conversation
Clone nettlesh/homelab to ~/homelab on machines with the personal environment. The clone uses HTTPS because repositories are cloned before dotfiles deploy the 1Password SSH agent configuration, so it relies on gh's Git credential helper, which the README now lists as a prerequisite. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gh auth setup-git records the path of the gh binary that ran it, which under mise is one installed version's directory, so pruning old versions breaks HTTPS authentication. Setting GH_PATH to the mise shim keeps the helper stable across gh updates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
nettlesh/homelabrepository to~/homelabon machines with thepersonalenvironment, using mise's[bootstrap.repos].workandrestricteddon't load it. Bootstrap clones it only when it's missing, and never moves or overwrites an existing checkoutpersonalmachine, sign in to GitHub before bootstrappingGH_PATH.gh auth setup-gitotherwise records one installed version's path (.../installs/gh/2.99.0/...), which breaks HTTPS authentication once that version is prunedTesting
mise bootstrap repos applycloned the private, empty repository over HTTPS andrepos statusreported it ascurrentrepos statuslists~/homelabonly with-E personalmise x ghcreates theghshim, and the shim resolves gh without a global config~/.gitconfighelper to the shim;git ls-remoteagainst two private repositories succeeds with prompts disabledhk checkpasses🤖 Generated with Claude Code