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

Issue 10831269: Extensions Docs Server: BranchUtility not fetching branch numbers correctly (fixed) (Closed)

Created:
8 years, 4 months ago by cduvall
Modified:
8 years, 4 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Extensions Docs Server: BranchUtility not fetching branch numbers correctly BranchUtility was crashing when it tried to fetch the branch numbers for the dev, beta, and stable channels. There was also a problem using the branch number where the name should have been used. ServerInstances are no longer leaked. BUG=141909 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=151386 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=151401

Patch Set 1 #

Total comments: 15

Patch Set 2 : better testing and fixes #

Total comments: 6

Patch Set 3 : merge and fixes #

Patch Set 4 : fix typo #

Patch Set 5 : fix for index.htmls #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chrome/common/extensions/docs/server2/templates/public/apps/index.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/templates/public/extensions/index.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
cduvall
This should be fixed before we launch server2.
8 years, 4 months ago (2012-08-10 18:35:01 UTC) #1
not at google - send to devlin
https://chromiumcodereview.appspot.com/10831269/diff/1/chrome/common/extensions/docs/server2/branch_utility.py File chrome/common/extensions/docs/server2/branch_utility.py (right): https://chromiumcodereview.appspot.com/10831269/diff/1/chrome/common/extensions/docs/server2/branch_utility.py#newcode30 chrome/common/extensions/docs/server2/branch_utility.py:30: 'trunk' or 'local', then |channel_name| will be returned unchanged. ...
8 years, 4 months ago (2012-08-13 00:53:00 UTC) #2
not at google - send to devlin
https://chromiumcodereview.appspot.com/10831269/diff/1/chrome/common/extensions/docs/server2/template_data_source.py File chrome/common/extensions/docs/server2/template_data_source.py (right): https://chromiumcodereview.appspot.com/10831269/diff/1/chrome/common/extensions/docs/server2/template_data_source.py#newcode97 chrome/common/extensions/docs/server2/template_data_source.py:97: (('/' + channel_name) if channel_name != 'local' else '') ...
8 years, 4 months ago (2012-08-13 05:47:12 UTC) #3
cduvall
http://codereview.chromium.org/10831269/diff/1/chrome/common/extensions/docs/server2/branch_utility.py File chrome/common/extensions/docs/server2/branch_utility.py (right): http://codereview.chromium.org/10831269/diff/1/chrome/common/extensions/docs/server2/branch_utility.py#newcode30 chrome/common/extensions/docs/server2/branch_utility.py:30: 'trunk' or 'local', then |channel_name| will be returned unchanged. ...
8 years, 4 months ago (2012-08-13 21:45:04 UTC) #4
not at google - send to devlin
lgtm http://codereview.chromium.org/10831269/diff/8001/chrome/common/extensions/docs/server2/appengine_wrappers.py File chrome/common/extensions/docs/server2/appengine_wrappers.py (right): http://codereview.chromium.org/10831269/diff/8001/chrome/common/extensions/docs/server2/appengine_wrappers.py#newcode21 chrome/common/extensions/docs/server2/appengine_wrappers.py:21: def GetConfiguration(key): add like if not FAKE_URL_FETCHER_CONFIGURATION: raise ...
8 years, 4 months ago (2012-08-13 22:36:46 UTC) #5
cduvall
Had to do a little bit of merging for the apps samples patch. https://chromiumcodereview.appspot.com/10831269/diff/8001/chrome/common/extensions/docs/server2/appengine_wrappers.py File ...
8 years, 4 months ago (2012-08-13 23:17:22 UTC) #6
cduvall
Oops, forgot to rename some things, doing that now.
8 years, 4 months ago (2012-08-14 00:33:14 UTC) #7
cduvall
8 years, 4 months ago (2012-08-14 00:39:49 UTC) #8
Actually, the index.html pages just needed to include the right footer.

Powered by Google App Engine
This is Rietveld 408576698