Skip to content

fix: respect user proxy settings when executing git clone and fetch commands - #163

Open
RayZh-hs wants to merge 1 commit into
geode-sdk:mainfrom
RayZh-hs:fix/respect-system-proxy
Open

fix: respect user proxy settings when executing git clone and fetch commands#163
RayZh-hs wants to merge 1 commit into
geode-sdk:mainfrom
RayZh-hs:fix/respect-system-proxy

Conversation

@RayZh-hs

@RayZh-hs RayZh-hs commented Aug 15, 2026

Copy link
Copy Markdown

Currently Geode CLI does not follow http and https proxy git settings. This PR fixes this issue by invoking

let mut proxy = ProxyOptions::new();
proxy.auto();

and using proxy in FetchOptions before exeucting git2 fetch or clone commands, facilitating automatic detection of git proxy settings. Built and tested on Arch Linux, x86_64, but it should take effect in all OSes.

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