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

Issue 10387225: Die build.py, Die: Part 1 (BranchUtility and SubversionFetcher) (Closed)

Created:
8 years, 7 months ago by cduvall
Modified:
8 years, 7 months ago
Reviewers:
Aaron Boodman
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Die build.py, Die First few steps in the new docs server. This CL has the BranchUtility class and the SubversionFetcher class, along with unit tests for both. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=139132

Patch Set 1 #

Total comments: 19

Patch Set 2 : Fixed it up #

Patch Set 3 : Unit tests #

Total comments: 18

Patch Set 4 : Dependency injection #

Patch Set 5 : Resource fetcher #

Total comments: 21

Patch Set 6 : Final changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+539 lines, -0 lines) Patch
A chrome/common/extensions/docs/server2/PRESUBMIT.py View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/app.yaml View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/branch_utility.py View 1 2 3 4 5 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/branch_utility_test.py View 1 2 3 4 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/echo_handler.py View 1 2 3 4 5 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/resource_fetcher.py View 1 2 3 4 5 1 chunk +23 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/resource_fetcher_test.py View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/test_data/branch_utility/first.json View 1 2 3 4 1 chunk +261 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/test_data/subversion_fetcher/branch1/test.json View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/test_data/subversion_fetcher/branch2/test.json View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/test_data/subversion_fetcher/trunk/test.json View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/test_urlfetch.py View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/urlfetch.py View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
cduvall
https://chromiumcodereview.appspot.com/10387225/diff/1/chrome/common/extensions/docs/server2/branch_utility.py File chrome/common/extensions/docs/server2/branch_utility.py (right): https://chromiumcodereview.appspot.com/10387225/diff/1/chrome/common/extensions/docs/server2/branch_utility.py#newcode18 chrome/common/extensions/docs/server2/branch_utility.py:18: def GetChannelNameFromURL(self, url): Can probably make this shorter, but ...
8 years, 7 months ago (2012-05-22 00:07:40 UTC) #1
cduvall
Still TODO: mock memcache and fetch
8 years, 7 months ago (2012-05-22 00:12:47 UTC) #2
Aaron Boodman
Yup, this is roughly the right direction. You should also add some unit tests, though ...
8 years, 7 months ago (2012-05-22 00:20:34 UTC) #3
cduvall
http://codereview.chromium.org/10387225/diff/1/chrome/common/extensions/docs/server2/app.yaml File chrome/common/extensions/docs/server2/app.yaml (right): http://codereview.chromium.org/10387225/diff/1/chrome/common/extensions/docs/server2/app.yaml#newcode8 chrome/common/extensions/docs/server2/app.yaml:8: script: clark.py On 2012/05/22 00:20:34, Aaron Boodman wrote: > ...
8 years, 7 months ago (2012-05-22 01:23:54 UTC) #4
cduvall
Unit tests on the way!
8 years, 7 months ago (2012-05-22 01:28:18 UTC) #5
cduvall
On 2012/05/22 01:28:18, cduvall wrote: > Unit tests on the way! So here's what I ...
8 years, 7 months ago (2012-05-22 02:57:13 UTC) #6
Aaron Boodman
http://codereview.chromium.org/10387225/diff/10001/chrome/common/extensions/docs/server2/PRESUBMIT.py File chrome/common/extensions/docs/server2/PRESUBMIT.py (right): http://codereview.chromium.org/10387225/diff/10001/chrome/common/extensions/docs/server2/PRESUBMIT.py#newcode20 chrome/common/extensions/docs/server2/PRESUBMIT.py:20: input_api, output_api, '.', whitelist=WHITELIST) Huh. Never seen this approach ...
8 years, 7 months ago (2012-05-22 22:45:02 UTC) #7
cduvall
http://codereview.chromium.org/10387225/diff/10001/chrome/common/extensions/docs/server2/app.yaml File chrome/common/extensions/docs/server2/app.yaml (right): http://codereview.chromium.org/10387225/diff/10001/chrome/common/extensions/docs/server2/app.yaml#newcode1 chrome/common/extensions/docs/server2/app.yaml:1: application: chromeextensiondocs On 2012/05/22 22:45:02, Aaron Boodman wrote: > ...
8 years, 7 months ago (2012-05-24 00:15:40 UTC) #8
cduvall
Added a resource fetcher. Haven't checked it over too much though. http://codereview.chromium.org/10387225/diff/12014/chrome/common/extensions/docs/server2/echo_handler.py File chrome/common/extensions/docs/server2/echo_handler.py (right): ...
8 years, 7 months ago (2012-05-24 03:06:00 UTC) #9
Aaron Boodman
LGTM - please fix these issues and commit when done... you don't need to wait ...
8 years, 7 months ago (2012-05-24 06:10:23 UTC) #10
cduvall
http://codereview.chromium.org/10387225/diff/12014/chrome/common/extensions/docs/server2/branch_utility.py File chrome/common/extensions/docs/server2/branch_utility.py (right): http://codereview.chromium.org/10387225/diff/12014/chrome/common/extensions/docs/server2/branch_utility.py#newcode13 chrome/common/extensions/docs/server2/branch_utility.py:13: self.url = 'http://omahaproxy.appspot.com/json' On 2012/05/24 06:10:23, Aaron Boodman wrote: ...
8 years, 7 months ago (2012-05-25 20:02:22 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/10387225/14004
8 years, 7 months ago (2012-05-25 20:24:35 UTC) #12
commit-bot: I haz the power
8 years, 7 months ago (2012-05-25 22:20:21 UTC) #13
Change committed as 139132

Powered by Google App Engine
This is Rietveld 408576698