Skip to content

feat(packman): allow user gitconfig credentials for remote network ops#7

Open
eric-jones wants to merge 1 commit into
mainfrom
topic/packman-gitconfig-creds
Open

feat(packman): allow user gitconfig credentials for remote network ops#7
eric-jones wants to merge 1 commit into
mainfrom
topic/packman-gitconfig-creds

Conversation

@eric-jones
Copy link
Copy Markdown
Owner

Fork-PR for review. Upstream: gastownhall#2305 WITHDRAWN 2026-05-20 (Q3: credential-handling security boundary; DIRTY anyway). Retained on fork.

@eric-jones eric-jones force-pushed the topic/packman-gitconfig-creds branch from b188e6e to 28a53ea Compare May 20, 2026 16:07
Network-facing git subcommands (clone, fetch, ls-remote, push) now
read credential configuration from the user's ~/.gitconfig so that
private remotes such as enthought/gascity_packs can be imported via
`gc import install`. Operations inside the cache repo continue to
run with GIT_CONFIG_NOSYSTEM=1 / GIT_CONFIG_GLOBAL=/dev/null so
global config cannot perturb cached checkouts.

doc-packman.md gains a `Subpath-of-repo sources` section pinning
the double-slash separator (`org/repo//subpath`) as canonical, and
an `Authenticating to private remotes` section describing the
expected credential-helper setup.

This addresses Phases 1-3 of gc-vgs6u.4 (tr-gepwb). Phase 4 — the
consumer-side switch of `cities/gascity-city/pack.toml` from local
filesystem imports to remote `github.com/enthought/gascity_packs//<pack>`
imports — is a separate downstream change that lives outside this
repo and is not included here.

Upstream-PR: gastownhall#2305
@eric-jones eric-jones force-pushed the topic/packman-gitconfig-creds branch from 28a53ea to a862912 Compare May 20, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant