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

Issue 736773002: Docserver: Add commit history and _reset_commit servlet (Closed)

Created:
6 years, 1 month ago by Ken Rockot(use gerrit already)
Modified:
5 years, 10 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Docserver: Add commit history and _reset_commit servlet This adds commit history to named commits in the CommitTracker. The history can be viewed by requesting /_query_commit/<commit-name>. This also adds a _reset_commit servlet which will reset the current commit ID of a named commit. This servlet will only obey the request if the given commit ID is present in the named commit's history. BUG=None R=kalman@chromium.org NOTRY=true Committed: https://crrev.com/34477f1239c60bf8a7e3243ad3aa6ae893072cba Cr-Commit-Position: refs/heads/master@{#314395}

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 8

Patch Set 4 : Cleanup, test for commit reset #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -50 lines) Patch
A chrome/common/extensions/docs/server2/admin_servlets.py View 1 2 3 1 chunk +111 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/admin_servlets_test.py View 1 2 3 1 chunk +89 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/app.yaml View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/availability_finder.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/commit_tracker.py View 1 2 3 1 chunk +37 lines, -2 lines 2 comments Download
M chrome/common/extensions/docs/server2/handler.py View 1 2 3 2 chunks +6 lines, -47 lines 0 comments Download
M chrome/common/extensions/docs/server2/servlet.py View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (1 generated)
Ken Rockot(use gerrit already)
hey im code
6 years, 1 month ago (2014-11-18 22:54:55 UTC) #1
not at google - send to devlin
https://codereview.chromium.org/736773002/diff/20001/chrome/common/extensions/docs/server2/handler.py File chrome/common/extensions/docs/server2/handler.py (right): https://codereview.chromium.org/736773002/diff/20001/chrome/common/extensions/docs/server2/handler.py#newcode76 chrome/common/extensions/docs/server2/handler.py:76: commit_name, commit_id = self._request.path.split('/') Is there some kind of ...
6 years, 1 month ago (2014-11-18 23:05:48 UTC) #2
Ken Rockot(use gerrit already)
Yeah, actually I thought about this too. My next patch will solve this, so I ...
6 years, 1 month ago (2014-11-18 23:09:11 UTC) #3
not at google - send to devlin
On 2014/11/18 23:09:11, Ken Rockot wrote: > Yeah, actually I thought about this too. My ...
6 years, 1 month ago (2014-11-18 23:10:15 UTC) #4
Ken Rockot(use gerrit already)
Here we go. I just added the history tracking bits to this CL. Also moved ...
6 years, 1 month ago (2014-11-19 00:24:37 UTC) #5
not at google - send to devlin
Would be nice to see tests for some of these things, like, a least a ...
6 years, 1 month ago (2014-11-19 19:32:42 UTC) #6
Ken Rockot(use gerrit already)
https://codereview.chromium.org/736773002/diff/40001/chrome/common/extensions/docs/server2/admin_servlets.py File chrome/common/extensions/docs/server2/admin_servlets.py (right): https://codereview.chromium.org/736773002/diff/40001/chrome/common/extensions/docs/server2/admin_servlets.py#newcode81 chrome/common/extensions/docs/server2/admin_servlets.py:81: commit_name, commit_id = self._request.path.split('/') On 2014/11/19 19:32:41, kalman wrote: ...
5 years, 10 months ago (2015-02-02 23:57:45 UTC) #7
not at google - send to devlin
lgtm https://codereview.chromium.org/736773002/diff/60001/chrome/common/extensions/docs/server2/commit_tracker.py File chrome/common/extensions/docs/server2/commit_tracker.py (right): https://codereview.chromium.org/736773002/diff/60001/chrome/common/extensions/docs/server2/commit_tracker.py#newcode18 chrome/common/extensions/docs/server2/commit_tracker.py:18: |datetime| is used as a timestamp for when ...
5 years, 10 months ago (2015-02-03 18:17:20 UTC) #8
Ken Rockot(use gerrit already)
https://codereview.chromium.org/736773002/diff/60001/chrome/common/extensions/docs/server2/commit_tracker.py File chrome/common/extensions/docs/server2/commit_tracker.py (right): https://codereview.chromium.org/736773002/diff/60001/chrome/common/extensions/docs/server2/commit_tracker.py#newcode18 chrome/common/extensions/docs/server2/commit_tracker.py:18: |datetime| is used as a timestamp for when the ...
5 years, 10 months ago (2015-02-03 20:12:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/736773002/60001
5 years, 10 months ago (2015-02-03 20:13:07 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-03 20:14:20 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 20:16:56 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/34477f1239c60bf8a7e3243ad3aa6ae893072cba
Cr-Commit-Position: refs/heads/master@{#314395}

Powered by Google App Engine
This is Rietveld 408576698