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

Issue 24047003: my_activity.py: Use gerrit new REST API. (Closed)

Created:
7 years, 3 months ago by deymo
Modified:
7 years, 3 months ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org, szager1
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

my_activity.py: Use gerrit new REST API. This patch makes my_activity.py use the new REST API to access the list of gerrit changes. The client doesn't authenticate with the server, so only the public changes are shown. BUG=chromium:281695 TEST=Ran my_activity.py, shows changes&reviews and links work. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=222767

Patch Set 1 #

Total comments: 4

Patch Set 2 : use urlencode #

Patch Set 3 : support both interfaces. #

Total comments: 1

Patch Set 4 : added error message when marker not found #

Total comments: 4

Patch Set 5 : review_url uses https. #

Total comments: 1

Patch Set 6 : Added note about https for crosreview.com #

Total comments: 18

Patch Set 7 : maruel comments #

Total comments: 2

Patch Set 8 : maruel nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -29 lines) Patch
M my_activity.py View 1 2 3 4 5 6 7 4 chunks +109 lines, -29 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
deymo
cmp@ for OWNER review. cjhopman@ seems to be the last person who modified the gerrit ...
7 years, 3 months ago (2013-09-09 21:35:52 UTC) #1
cjhopman
This feels so much better than the ssh api. It seems that Chrome for Android's ...
7 years, 3 months ago (2013-09-09 21:50:05 UTC) #2
deymo
New patch with the comments included. I don't know about the Chrome for Android workflow, ...
7 years, 3 months ago (2013-09-09 22:09:40 UTC) #3
deymo
Hi! I changed the CL so it now supports changes from both interfaces. I thinks ...
7 years, 3 months ago (2013-09-09 23:57:16 UTC) #4
cjhopman
lgtm https://codereview.chromium.org/24047003/diff/8001/my_activity.py File my_activity.py (right): https://codereview.chromium.org/24047003/diff/8001/my_activity.py#newcode424 my_activity.py:424: if stdout[0:5] != ")]}'\n": maybe print a short ...
7 years, 3 months ago (2013-09-10 19:57:51 UTC) #5
deymo
Ok, added a new log message as pointed by cjhopman@ cmp@, could you please OWNER ...
7 years, 3 months ago (2013-09-10 21:44:54 UTC) #6
cmp
lgtm with two changes +szager fyi https://codereview.chromium.org/24047003/diff/13001/my_activity.py File my_activity.py (right): https://codereview.chromium.org/24047003/diff/13001/my_activity.py#newcode488 my_activity.py:488: ret['review_url'] = 'http://%s/%s' ...
7 years, 3 months ago (2013-09-10 22:03:56 UTC) #7
deymo
Only changed one of the urls to https. The short url doesn't support https. https://codereview.chromium.org/24047003/diff/13001/my_activity.py ...
7 years, 3 months ago (2013-09-10 22:17:36 UTC) #8
szager
Just FYI, the python module chromite/lib/gob_util.py has a lot of useful boilerplate for interacting with ...
7 years, 3 months ago (2013-09-10 22:19:08 UTC) #9
cmp_google
lgtm with nit https://codereview.chromium.org/24047003/diff/2001/my_activity.py File my_activity.py (right): https://codereview.chromium.org/24047003/diff/2001/my_activity.py#newcode490 my_activity.py:490: ret['review_url'] = 'http://%s/%s' % (instance['shorturl'], Can ...
7 years, 3 months ago (2013-09-10 23:29:32 UTC) #10
cmp
lgtm with nit (from my @chromium.org acct)
7 years, 3 months ago (2013-09-10 23:32:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/deymo@chromium.org/24047003/3001
7 years, 3 months ago (2013-09-11 01:05:13 UTC) #12
commit-bot: I haz the power
Presubmit check for 24047003-3001 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 3 months ago (2013-09-11 01:06:44 UTC) #13
M-A Ruel
The CQ failure looks totally unrelated, a few notes on the CL. https://codereview.chromium.org/24047003/diff/3001/my_activity.py File my_activity.py ...
7 years, 3 months ago (2013-09-11 13:47:25 UTC) #14
deymo
I addressed most of maruel comments. I must point out that the diff here might ...
7 years, 3 months ago (2013-09-11 21:14:34 UTC) #15
M-A Ruel
lgtm https://codereview.chromium.org/24047003/diff/25001/my_activity.py File my_activity.py (right): https://codereview.chromium.org/24047003/diff/25001/my_activity.py#newcode440 my_activity.py:440: for issue in issues] style nit: I prefer ...
7 years, 3 months ago (2013-09-12 00:15:29 UTC) #16
deymo
https://codereview.chromium.org/24047003/diff/25001/my_activity.py File my_activity.py (right): https://codereview.chromium.org/24047003/diff/25001/my_activity.py#newcode440 my_activity.py:440: for issue in issues] On 2013/09/12 00:15:30, M-A Ruel ...
7 years, 3 months ago (2013-09-12 00:35:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/deymo@chromium.org/24047003/30001
7 years, 3 months ago (2013-09-12 00:35:55 UTC) #18
commit-bot: I haz the power
Presubmit check for 24047003-30001 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 3 months ago (2013-09-12 00:37:27 UTC) #19
M-A Ruel
On 2013/09/12 00:37:27, I haz the power (commit-bot) wrote: > Presubmit check for 24047003-30001 failed ...
7 years, 3 months ago (2013-09-12 01:04:19 UTC) #20
rmistry
On 2013/09/12 01:04:19, M-A Ruel wrote: > On 2013/09/12 00:37:27, I haz the power (commit-bot) ...
7 years, 3 months ago (2013-09-12 02:09:49 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/deymo@chromium.org/24047003/30001
7 years, 3 months ago (2013-09-12 12:26:38 UTC) #22
commit-bot: I haz the power
7 years, 3 months ago (2013-09-12 12:28:13 UTC) #23
Message was sent while issue was closed.
Change committed as 222767

Powered by Google App Engine
This is Rietveld 408576698