Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Issue 809053002: gsutil: Use urllib2 instead of urllib. (Closed)

Created:
6 years ago by Raphael Kubo da Costa (rakuco)
Modified:
6 years ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Target Ref:
refs/heads/master
Project:
tools
Visibility:
Public.

Description

gsutil: Use urllib2 instead of urllib. This is similar to r247914 and r149742: urllib does not work with SSL connections behind proxies, we need to use urllib2 instead. Doing this should allow people behind proxies to download gsutils 4.7 after r293413. (Setting NOTRY here to be able to land the issue, otherwise the CQ fails when running some presubmit checks, see crbug.com/443232) R=maruel@chromium.org, hinoka@chromium.org, pgervais@chromium.org, primiano@chromium.org NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=293439

Patch Set 1 #

Total comments: 1

Patch Set 2 : Patch v2, sorted imports #

Patch Set 3 : Patch v3, update the tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -12 lines) Patch
M gsutil.py View 1 3 chunks +8 lines, -8 lines 0 comments Download
M tests/gsutil_test.py View 1 2 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (6 generated)
Raphael Kubo da Costa (rakuco)
6 years ago (2014-12-17 14:32:52 UTC) #1
Primiano Tucci (use gerrit)
This patch makes sense to me but I'm not an owner of depot tools.
6 years ago (2014-12-17 15:57:14 UTC) #2
M-A Ruel
lgtm https://codereview.chromium.org/809053002/diff/1/gsutil.py File gsutil.py (right): https://codereview.chromium.org/809053002/diff/1/gsutil.py#newcode9 gsutil.py:9: import argparse Ugh, can you sort the list ...
6 years ago (2014-12-17 16:01:45 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/809053002/20001
6 years ago (2014-12-17 16:18:53 UTC) #5
commit-bot: I haz the power
Presubmit check for 809053002-20001 failed and returned exit status 1. Running presubmit commit checks ...
6 years ago (2014-12-17 16:25:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/809053002/40001
6 years ago (2014-12-17 16:39:59 UTC) #9
commit-bot: I haz the power
Presubmit check for 809053002-40001 failed and returned exit status 1. Running presubmit commit checks ...
6 years ago (2014-12-17 16:42:53 UTC) #11
Raphael Kubo da Costa (rakuco)
The pylint errors above are all unrelated to this patch. What should I do?
6 years ago (2014-12-17 16:57:00 UTC) #12
Primiano Tucci (use gerrit)
It seems a case for NOTRY=true. Infra folks? On Wed, Dec 17, 2014 at 4:57 ...
6 years ago (2014-12-17 17:00:22 UTC) #13
pgervais
Yes, all these errors are probably caused by the recent switch to a new pylint. ...
6 years ago (2014-12-17 17:22:50 UTC) #14
Raphael Kubo da Costa (rakuco)
On 2014/12/17 17:22:50, pgervais wrote: > However, these presubmit errors have to be fixed. Could ...
6 years ago (2014-12-17 17:35:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/809053002/40001
6 years ago (2014-12-17 17:37:09 UTC) #17
commit-bot: I haz the power
Presubmit check for 809053002-40001 failed and returned exit status 1. Running presubmit commit checks ...
6 years ago (2014-12-17 17:39:59 UTC) #19
Raphael Kubo da Costa (rakuco)
Hmm, shouldn't it be enough to set "NOTRY=true" in the description here?
6 years ago (2014-12-17 17:44:36 UTC) #20
pgervais
On 2014/12/17 17:44:36, Raphael Kubo da Costa (rakuco) wrote: > Hmm, shouldn't it be enough ...
6 years ago (2014-12-17 18:02:42 UTC) #21
Primiano Tucci (use gerrit)
Committed patchset #3 (id:40001) manually as 293439.
6 years ago (2014-12-18 11:12:38 UTC) #22
Primiano Tucci (use gerrit)
6 years ago (2014-12-18 11:13:02 UTC) #23
Message was sent while issue was closed.
On 2014/12/18 11:12:38, Primiano Tucci wrote:
> Committed patchset #3 (id:40001) manually as 293439.

Landed this manually.

Powered by Google App Engine
This is Rietveld 408576698