Description
Replace any exec.Command("git", "fetch-pack", rawURL) or equivalent raw-URL git fetch calls in Partio's CLI with git fetch origin <ref> so that git credential helpers (HTTPS) and SSH agents are used for authentication. Optionally adopt the go-git library with a credential-resolving auth method to avoid shelling out entirely. Add debug-level logging when fetch fallback paths are triggered rather than silently discarding errors.
Why
Raw URL fetches bypass credential helpers, causing failures on private HTTPS repositories and breaking setups that rely on credential managers, SSH agents, or token-based auth. Using the normal git credential chain ensures Partio works reliably across all repo configurations.
Source
Target Repos
Acceptance Criteria
Context Hints
Comment /minion build or add the minion-approved label to begin implementation.
Description
Replace any
exec.Command("git", "fetch-pack", rawURL)or equivalent raw-URL git fetch calls in Partio's CLI withgit fetch origin <ref>so that git credential helpers (HTTPS) and SSH agents are used for authentication. Optionally adopt the go-git library with a credential-resolving auth method to avoid shelling out entirely. Add debug-level logging when fetch fallback paths are triggered rather than silently discarding errors.Why
Raw URL fetches bypass credential helpers, causing failures on private HTTPS repositories and breaking setups that rely on credential managers, SSH agents, or token-based auth. Using the normal git credential chain ensures Partio works reliably across all repo configurations.
Source
entireio-cli-pullsTarget Repos
cliAcceptance Criteria
Context Hints
cli/internal/cli/cmd/Comment
/minion buildor add theminion-approvedlabel to begin implementation.