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

Issue 183793010: Added OAuth2 authentication to apply_issue (Closed)

Created:
6 years, 9 months ago by pgervais
Modified:
6 years, 9 months ago
Reviewers:
Vadim Sh., M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org, iannucci
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Added OAuth2 authentication to apply_issue Added oauth2client and httplib to third_party BUG=348233 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=259643

Patch Set 1 #

Patch Set 2 : Added another option #

Total comments: 47

Patch Set 3 : Style and bug fixes #

Total comments: 1

Patch Set 4 : Added third_party change information #

Total comments: 2

Patch Set 5 : Fixed README #

Total comments: 1

Patch Set 6 : oauth2client #

Total comments: 1

Patch Set 7 : moved diff in place #

Total comments: 9

Patch Set 8 : Fixed nits #

Patch Set 9 : Fixed invocation #

Total comments: 10

Patch Set 10 : Fixed typos #

Patch Set 11 : openssl package is now optional #

Patch Set 12 : openssl package is now optional (correct patch) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10913 lines, -38 lines) Patch
M apply_issue.py View 1 2 3 4 5 6 7 8 9 4 chunks +65 lines, -36 lines 0 comments Download
M rietveld.py View 1 2 3 4 5 6 7 8 9 10 3 chunks +133 lines, -3 lines 0 comments Download
A third_party/httplib2/LICENSE View 1 chunk +1339 lines, -0 lines 0 comments Download
A third_party/httplib2/README.chromium View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/httplib2/__init__.py View 1 2 3 1 chunk +1680 lines, -0 lines 0 comments Download
A third_party/httplib2/cacerts.txt View 1 2 3 1 chunk +2183 lines, -0 lines 0 comments Download
A third_party/httplib2/iri2uri.py View 1 2 3 1 chunk +110 lines, -0 lines 0 comments Download
A third_party/httplib2/socks.py View 1 chunk +438 lines, -0 lines 0 comments Download
A + third_party/oauth2client/LICENSE View 1 2 3 4 5 6 7 8 9 10 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/oauth2client/MODIFICATIONS.diff View 1 2 3 4 5 6 1 chunk +36 lines, -0 lines 0 comments Download
A third_party/oauth2client/README.chromium View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
A + third_party/oauth2client/__init__.py View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
A third_party/oauth2client/anyjson.py View 1 chunk +32 lines, -0 lines 0 comments Download
A third_party/oauth2client/appengine.py View 1 2 3 4 5 1 chunk +963 lines, -0 lines 0 comments Download
A third_party/oauth2client/client.py View 1 2 3 4 5 1 chunk +1363 lines, -0 lines 0 comments Download
A third_party/oauth2client/clientsecrets.py View 1 2 3 4 5 1 chunk +153 lines, -0 lines 0 comments Download
A third_party/oauth2client/crypt.py View 1 2 3 4 5 1 chunk +377 lines, -0 lines 0 comments Download
A third_party/oauth2client/django_orm.py View 1 2 3 4 5 1 chunk +134 lines, -0 lines 0 comments Download
A third_party/oauth2client/file.py View 1 2 3 4 5 1 chunk +124 lines, -0 lines 0 comments Download
A third_party/oauth2client/gce.py View 1 2 3 4 5 1 chunk +90 lines, -0 lines 0 comments Download
A third_party/oauth2client/keyring_storage.py View 1 2 3 4 5 1 chunk +109 lines, -0 lines 0 comments Download
A third_party/oauth2client/locked_file.py View 1 2 3 4 5 1 chunk +373 lines, -0 lines 0 comments Download
A third_party/oauth2client/multistore_file.py View 1 2 3 4 5 1 chunk +465 lines, -0 lines 0 comments Download
A third_party/oauth2client/old_run.py View 1 2 3 4 5 1 chunk +160 lines, -0 lines 0 comments Download
A third_party/oauth2client/tools.py View 1 2 3 4 5 1 chunk +243 lines, -0 lines 0 comments Download
A third_party/oauth2client/util.py View 1 2 3 4 5 1 chunk +196 lines, -0 lines 0 comments Download
A third_party/oauth2client/xsrfutil.py View 1 2 3 4 5 1 chunk +113 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (0 generated)
pgervais
I added OAuth2 authentication support to apply_issue. Chrome for iOS needs it. It's kind of ...
6 years, 9 months ago (2014-03-06 00:07:47 UTC) #1
pgervais
I added another option to avoid doing convoluted things in recipes (namely reading the client ...
6 years, 9 months ago (2014-03-06 02:03:20 UTC) #2
pgervais
ping (feel free to hand the CR to someone else if you're swamped)
6 years, 9 months ago (2014-03-07 19:27:29 UTC) #3
pgervais
Sorry to ping you again, but I really need this modification to make the Bling ...
6 years, 9 months ago (2014-03-13 01:17:09 UTC) #4
M-A Ruel
Remove test files. Sorry I was sick in the past days, OOO before. https://codereview.chromium.org/183793010/diff/20001/apply_issue.py File ...
6 years, 9 months ago (2014-03-13 01:31:26 UTC) #5
Vadim Sh.
https://codereview.chromium.org/183793010/diff/20001/rietveld.py File rietveld.py (right): https://codereview.chromium.org/183793010/diff/20001/rietveld.py#newcode460 rietveld.py:460: host_parts = host.split('://') On 2014/03/13 01:31:27, M-A Ruel wrote: ...
6 years, 9 months ago (2014-03-13 18:28:41 UTC) #6
pgervais
Some answers to your comments, fixes on the way. https://codereview.chromium.org/183793010/diff/20001/apply_issue.py File apply_issue.py (right): https://codereview.chromium.org/183793010/diff/20001/apply_issue.py#newcode58 apply_issue.py:58: ...
6 years, 9 months ago (2014-03-13 22:38:37 UTC) #7
pgervais
New patchset uploaded
6 years, 9 months ago (2014-03-13 22:44:40 UTC) #8
Vadim Sh.
https://codereview.chromium.org/183793010/diff/20001/third_party/oauth2client/client.py File third_party/oauth2client/client.py (right): https://codereview.chromium.org/183793010/diff/20001/third_party/oauth2client/client.py#newcode26 third_party/oauth2client/client.py:26: from .. import httplib2 On 2014/03/13 22:38:38, pgervais wrote: ...
6 years, 9 months ago (2014-03-13 22:46:25 UTC) #9
pgervais
https://codereview.chromium.org/183793010/diff/20001/third_party/oauth2client/client.py File third_party/oauth2client/client.py (right): https://codereview.chromium.org/183793010/diff/20001/third_party/oauth2client/client.py#newcode26 third_party/oauth2client/client.py:26: from .. import httplib2 On 2014/03/13 22:46:26, Vadim Sh. ...
6 years, 9 months ago (2014-03-13 23:04:25 UTC) #10
Vadim Sh.
Looks good. Waiting for a diff to oauth2client :P https://codereview.chromium.org/183793010/diff/40001/apply_issue.py File apply_issue.py (right): https://codereview.chromium.org/183793010/diff/40001/apply_issue.py#newcode131 apply_issue.py:131: ...
6 years, 9 months ago (2014-03-14 01:55:34 UTC) #11
pgervais
On 2014/03/14 01:55:34, Vadim Sh. wrote: > Looks good. > > Waiting for a diff ...
6 years, 9 months ago (2014-03-14 15:41:27 UTC) #12
Vadim Sh.
On 2014/03/14 15:41:27, pgervais wrote: > On 2014/03/14 01:55:34, Vadim Sh. wrote: > > Looks ...
6 years, 9 months ago (2014-03-14 17:28:56 UTC) #13
pgervais
On 2014/03/14 17:28:56, Vadim Sh. wrote: > On 2014/03/14 15:41:27, pgervais wrote: > > On ...
6 years, 9 months ago (2014-03-14 17:36:57 UTC) #14
pgervais
Uploaded a new patchset, which hopefully addresses all your concerns.
6 years, 9 months ago (2014-03-14 18:09:46 UTC) #15
Vadim Sh.
https://codereview.chromium.org/183793010/diff/60001/third_party/oauth2client/README.depot_tools File third_party/oauth2client/README.depot_tools (right): https://codereview.chromium.org/183793010/diff/60001/third_party/oauth2client/README.depot_tools#newcode1 third_party/oauth2client/README.depot_tools:1: Name: oauth2client depot_tools seems to be using .chromium suffix: ...
6 years, 9 months ago (2014-03-14 18:15:19 UTC) #16
pgervais
On 2014/03/14 18:15:19, Vadim Sh. wrote: > https://codereview.chromium.org/183793010/diff/60001/third_party/oauth2client/README.depot_tools > File third_party/oauth2client/README.depot_tools (right): > > https://codereview.chromium.org/183793010/diff/60001/third_party/oauth2client/README.depot_tools#newcode1 ...
6 years, 9 months ago (2014-03-14 18:31:50 UTC) #17
pgervais
New patchset uploaded. I took the occasion to check that apply_issue.py still works on codereview.chromium.org.
6 years, 9 months ago (2014-03-14 18:40:37 UTC) #18
Vadim Sh.
https://codereview.chromium.org/183793010/diff/80001/third_party/oauth2client/MODIFICATIONS.diff File third_party/oauth2client/MODIFICATIONS.diff (right): https://codereview.chromium.org/183793010/diff/80001/third_party/oauth2client/MODIFICATIONS.diff#newcode20 third_party/oauth2client/MODIFICATIONS.diff:20: - from oauth2client.crypt import Signer I'm sorry for being ...
6 years, 9 months ago (2014-03-14 18:56:46 UTC) #19
pgervais
On 2014/03/14 18:56:46, Vadim Sh. wrote: > https://codereview.chromium.org/183793010/diff/80001/third_party/oauth2client/MODIFICATIONS.diff > File third_party/oauth2client/MODIFICATIONS.diff (right): > > https://codereview.chromium.org/183793010/diff/80001/third_party/oauth2client/MODIFICATIONS.diff#newcode20 ...
6 years, 9 months ago (2014-03-14 20:43:50 UTC) #20
pgervais
6 years, 9 months ago (2014-03-14 20:44:00 UTC) #21
pgervais
Alright, this time everything should be consistent (and work).
6 years, 9 months ago (2014-03-14 21:24:42 UTC) #22
Vadim Sh.
One final nit :) Also, you answered all M-A's comments, right? https://codereview.chromium.org/183793010/diff/100001/MODIFICATIONS.diff File MODIFICATIONS.diff (right): ...
6 years, 9 months ago (2014-03-14 21:55:24 UTC) #23
pgervais
On 2014/03/14 21:55:24, Vadim Sh. wrote: > One final nit :) > Also, you answered ...
6 years, 9 months ago (2014-03-14 22:06:38 UTC) #24
Vadim Sh.
lgtm, but please wait for lgtm from M-A as well and be careful when landing ...
6 years, 9 months ago (2014-03-14 23:04:40 UTC) #25
pgervais
On 2014/03/14 23:04:40, Vadim Sh. wrote: > lgtm, but please wait for lgtm from M-A ...
6 years, 9 months ago (2014-03-14 23:13:39 UTC) #26
Vadim Sh.
On 2014/03/14 23:13:39, pgervais wrote: > On 2014/03/14 23:04:40, Vadim Sh. wrote: > > lgtm, ...
6 years, 9 months ago (2014-03-14 23:18:29 UTC) #27
M-A Ruel
few questiosn https://codereview.chromium.org/183793010/diff/120001/apply_issue.py File apply_issue.py (right): https://codereview.chromium.org/183793010/diff/120001/apply_issue.py#newcode131 apply_issue.py:131: options.email, alignment That's why I prefer +4. ...
6 years, 9 months ago (2014-03-15 01:15:30 UTC) #28
pgervais
I've answered some of your comments, and pushed another patchset. https://codereview.chromium.org/183793010/diff/120001/apply_issue.py File apply_issue.py (right): https://codereview.chromium.org/183793010/diff/120001/apply_issue.py#newcode133 ...
6 years, 9 months ago (2014-03-17 17:35:10 UTC) #29
pgervais
Unless someone strongly objects, I'll commit this next Monday, around 4pm (low tryserver usage and ...
6 years, 9 months ago (2014-03-21 23:02:46 UTC) #30
M-A Ruel
https://codereview.chromium.org/183793010/diff/160001/apply_issue.py File apply_issue.py (right): https://codereview.chromium.org/183793010/diff/160001/apply_issue.py#newcode59 apply_issue.py:59: help='Password for email addressed. Use - to read password ...
6 years, 9 months ago (2014-03-22 01:09:09 UTC) #31
pgervais
https://codereview.chromium.org/183793010/diff/160001/apply_issue.py File apply_issue.py (right): https://codereview.chromium.org/183793010/diff/160001/apply_issue.py#newcode59 apply_issue.py:59: help='Password for email addressed. Use - to read password ...
6 years, 9 months ago (2014-03-24 20:27:35 UTC) #32
pgervais
The CQ bit was checked by pgervais@chromium.org
6 years, 9 months ago (2014-03-24 23:15:30 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pgervais@chromium.org/183793010/180001
6 years, 9 months ago (2014-03-24 23:15:33 UTC) #34
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-24 23:16:50 UTC) #35
commit-bot: I haz the power
Presubmit check for 183793010-180001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 9 months ago (2014-03-24 23:16:51 UTC) #36
pgervais
I've fixed the issue by making the OpenSSL package optional, and added some more logging. ...
6 years, 9 months ago (2014-03-26 16:56:31 UTC) #37
M-A Ruel
On 2014/03/26 16:56:31, pgervais wrote: > I've fixed the issue by making the OpenSSL package ...
6 years, 9 months ago (2014-03-26 18:27:13 UTC) #38
pgervais
The CQ bit was checked by pgervais@chromium.org
6 years, 9 months ago (2014-03-26 18:41:38 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pgervais@chromium.org/183793010/220001
6 years, 9 months ago (2014-03-26 18:41:49 UTC) #40
commit-bot: I haz the power
6 years, 9 months ago (2014-03-26 18:44:45 UTC) #41
Message was sent while issue was closed.
Change committed as 259643

Powered by Google App Engine
This is Rietveld 408576698