From db0d154f19e4a4aa78bad83eae08b6a44c387845 Mon Sep 17 00:00:00 2001 From: "https://christian.amsuess.com/chrysn" Date: Wed, 14 Feb 2018 14:12:14 +0000 Subject: [PATCH] add wishlist item "creating importfeed does not work with socks proxy" --- doc/bugs/importfeed_does_not_work_with_socks_proxy.mdwn | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 doc/bugs/importfeed_does_not_work_with_socks_proxy.mdwn diff --git a/doc/bugs/importfeed_does_not_work_with_socks_proxy.mdwn b/doc/bugs/importfeed_does_not_work_with_socks_proxy.mdwn new file mode 100644 index 0000000000..cee34367e8 --- /dev/null +++ b/doc/bugs/importfeed_does_not_work_with_socks_proxy.mdwn @@ -0,0 +1,5 @@ +It appears that `git annex importfeed` can not be used in with socks proxies because it uses wget unconditionally (at least in the Debian build). + +For `addurl`, I could configure the system to use a socks proxy by setting `git config annex.web-download-command "curl --silent --preproxy socks4a://localhost:1080 %url -o %file"`; for `importfeed`, I found no option to override the command used to fetch the URL, and `wget` [lacks SOCKS support](https://savannah.gnu.org/bugs/?func=detailitem&item_id=43576). + +Please consider using `web-download-command` for `importfeed` too, introducing a dedicated option `web-get-command` (that would output to stdout rather than %file), or otherwise supporting operation behind a SOCKS proxy.