tsocks should work in a pinch. Running "tsocks git cl upload" should force all connections to be made through the proxy of your choice specified by the config file ~/.tsocks.conf
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
tsocks should work in a pinch. Running "tsocks git cl upload" should force all connections to be made through the proxy of your choice specified by the config file ~/.tsocks.conf
Thanks for sharing!The patch could be uploaded in my local env by both setting git proxy and tsocks. \o/I.g.1. Set git proxy:git config --global http.proxy socks5://127.0.0.1:1080git config --global https.proxy socks5://127.0.0.1:10802. Run in tsocks:tsocks git cl upload
在 2015年4月18日星期六 UTC+8下午12:24:53,Dan Beam写道:Hey all,
Is there a way I can upload patches through a SOCKS proxy from the command line? Currently using a hacky^Wtethered internet connection.
I've tried all kinds of fun stuff, e.g. setting these environment variables:
http_proxy, https_proxy, HTTP_PROXY, HTTPS_PROXY, SOCKS_SERVER
with all kinds of fun values:
socks5://127.0.0.1:8080, http://127.0.0.1:8080, s/127.0.0.1/localhost/
and have also tried hacking up depot_tools/git_cl.py with 2 version of socksipy[1] which generally results in:
urllib2.URLError: <urlopen error unknown url type: socks5>
Any ideas?
-- Dan
[1] https://code.google.com/p/socksipy-branch/
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/edb72e52-cebb-4733-8dcb-e96e17cb8b2c%40chromium.org.
Thanks for sharing!The patch could be uploaded in my local env by both setting git proxy and tsocks. \o/I.g.1. Set git proxy:git config --global http.proxy socks5://127.0.0.1:1080git config --global https.proxy socks5://127.0.0.1:10802. Run in tsocks:tsocks git cl upload