[Bug 1762709] Re: Unable to fetch git repos via python subprocess with proxy configured git 2.17.0-1ubuntu1

2018-04-12 Thread Po-Hsu Lin
Patch applied, tested with positive result, I will just close this bug
with Fix-released.

http://kernel.ubuntu.com/git/ubuntu/autotest-client-tests.git/commit/?h=master-next
http://kernel.ubuntu.com/git/ubuntu/kernel-testing.git/commit/?h=master-next=712c14f8b9e23c2769e3e43a39d116289da61ea9

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Changed in: linux (Ubuntu)
   Status: Confirmed => Fix Released

** Changed in: git (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762709

Title:
  Unable to fetch git repos via python subprocess with proxy configured
  git 2.17.0-1ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1762709/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1762709] Re: Unable to fetch git repos via python subprocess with proxy configured git 2.17.0-1ubuntu1

2018-04-11 Thread Po-Hsu Lin
Contacted IS, yes we should use http for https_proxy:

 sajoupa, I would like to know if I set my https_proxy to it, should I 
use https://squid.internal:3128 or http://squid.internal:3128?
 PHLin: set it to http://
 sajoupa, ok, just curious because it used to work with https, but not 
with git package updated
 sajoupa, thanks
 PHLin: yes, it usually works with https:// but the supported way is 
http://
 sajoupa, so it should not be considered as a bug if https:// is not 
working anymore, right?
 PHLin: no

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762709

Title:
  Unable to fetch git repos via python subprocess with proxy configured
  git 2.17.0-1ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1762709/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1762709] Re: Unable to fetch git repos via python subprocess with proxy configured git 2.17.0-1ubuntu1

2018-04-11 Thread Po-Hsu Lin
More tests:
  1. PASS - proxy configured with export, git clone with python
  2. FAIL - proxy configures with python, git clone with python

And I think I have found the cause:
The https_proxy should be using the proxy server with http, not https.

Not sure why this works with older git version (and why it works with
proxy configured in shell), maybe the check was not that strict?

Anyway, I will prepare the fix for the SRU testing infrastructure.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762709

Title:
  Unable to fetch git repos via python subprocess with proxy configured
  git 2.17.0-1ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1762709/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs