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

Issue 23867003: Docserver: Consolidate features caching and access. (Closed)

Created:
7 years, 3 months ago by Ken Rockot(use gerrit already)
Modified:
7 years, 2 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Docserver: Consolidate features caching and access. This is just a refactor to reduce some code duplication and homogenize features processing a bit. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226413

Patch Set 1 #

Total comments: 15

Patch Set 2 : refactor features #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 7

Patch Set 5 : simplification #

Patch Set 6 : no version bump #

Total comments: 36

Patch Set 7 : cleanup, tests #

Patch Set 8 : - #

Patch Set 9 : - #

Patch Set 10 : rebase (version bump) #

Patch Set 11 : fix bad rebase #

Patch Set 12 : wot. #

Patch Set 13 : let's try this again, shall we? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+753 lines, -347 lines) Patch
M chrome/common/extensions/api/_api_features.json View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_list_data_source.py View 1 2 3 4 5 6 7 8 1 chunk +84 lines, -54 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_list_data_source_test.py View 1 2 3 4 5 6 2 chunks +102 lines, -40 lines 0 comments Download
M chrome/common/extensions/docs/server2/app.yaml View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/cron.yaml View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/docs_server_utils.py View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/features_bundle.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +91 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/features_bundle_test.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +260 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/features_utility.py View 1 2 3 4 5 6 4 chunks +14 lines, -7 lines 0 comments Download
M chrome/common/extensions/docs/server2/features_utility_test.py View 1 2 3 4 6 chunks +14 lines, -14 lines 0 comments Download
M chrome/common/extensions/docs/server2/manifest_data_source.py View 1 2 3 4 5 6 2 chunks +18 lines, -22 lines 0 comments Download
M chrome/common/extensions/docs/server2/manifest_data_source_test.py View 1 2 3 4 5 6 5 chunks +28 lines, -32 lines 0 comments Download
M chrome/common/extensions/docs/server2/manifest_features.py View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -18 lines 0 comments Download
M chrome/common/extensions/docs/server2/manifest_features_test.py View 1 2 3 4 2 chunks +1 line, -47 lines 0 comments Download
D chrome/common/extensions/docs/server2/permissions_data_source.py View 1 2 3 4 5 6 3 chunks +17 lines, -26 lines 0 comments Download
M chrome/common/extensions/docs/server2/permissions_data_source_test.py View 1 2 3 4 5 6 4 chunks +75 lines, -69 lines 0 comments Download
M chrome/common/extensions/docs/server2/server_instance.py View 1 2 3 4 5 6 6 chunks +13 lines, -14 lines 0 comments Download
M chrome/common/extensions/docs/server2/svn_constants.py View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/template_data_source_test.py View 1 2 3 4 5 6 3 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Ken Rockot(use gerrit already)
PTAL Note that the additions of devtools.* to _api_features is necessary to get them listed ...
7 years, 3 months ago (2013-09-19 18:15:39 UTC) #1
not at google - send to devlin
awesome, glad this is happening; some superficial comments but generally try to move the feature ...
7 years, 3 months ago (2013-09-19 19:21:52 UTC) #2
Ken Rockot(use gerrit already)
I took a pass at refactoring features. No tests written yet and existing tests are ...
7 years, 3 months ago (2013-09-20 20:53:37 UTC) #3
not at google - send to devlin
Right, so two comments: - I should document this stuff better, but the "data source" ...
7 years, 3 months ago (2013-09-23 18:31:30 UTC) #4
Ken Rockot(use gerrit already)
Much simpler approach here; features are once again plain old dicts, now managed directly by ...
7 years, 2 months ago (2013-10-01 02:12:21 UTC) #5
not at google - send to devlin
https://codereview.chromium.org/23867003/diff/26001/chrome/common/extensions/docs/server2/api_list_data_source.py File chrome/common/extensions/docs/server2/api_list_data_source.py (right): https://codereview.chromium.org/23867003/diff/26001/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode60 chrome/common/extensions/docs/server2/api_list_data_source.py:60: return sorted(map(lambda name: name.replace('_', '.'), template_names)) see comments below ...
7 years, 2 months ago (2013-10-01 16:34:33 UTC) #6
Ken Rockot(use gerrit already)
Cleanup, FeaturesBundle tests, and ObjectStore replaces in-memory caches in {APIList,Manifest,Permissions}DataSource. https://codereview.chromium.org/23867003/diff/26001/chrome/common/extensions/docs/server2/api_list_data_source.py File chrome/common/extensions/docs/server2/api_list_data_source.py (right): https://codereview.chromium.org/23867003/diff/26001/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode60 ...
7 years, 2 months ago (2013-10-01 22:18:15 UTC) #7
not at google - send to devlin
lgtm
7 years, 2 months ago (2013-10-01 23:09:33 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/23867003/56001
7 years, 2 months ago (2013-10-01 23:33:16 UTC) #9
commit-bot: I haz the power
Failed to apply patch for chrome/common/extensions/docs/server2/app.yaml: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 2 months ago (2013-10-01 23:33:26 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/23867003/74001
7 years, 2 months ago (2013-10-01 23:39:57 UTC) #11
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=28342
7 years, 2 months ago (2013-10-02 00:04:20 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/23867003/83001
7 years, 2 months ago (2013-10-02 04:11:48 UTC) #13
commit-bot: I haz the power
Failed to apply patch for chrome/common/extensions/docs/server2/app.yaml: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 2 months ago (2013-10-02 04:11:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/23867003/87001
7 years, 2 months ago (2013-10-02 04:14:31 UTC) #15
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=28377
7 years, 2 months ago (2013-10-02 04:40:31 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/23867003/87001
7 years, 2 months ago (2013-10-02 04:54:43 UTC) #17
commit-bot: I haz the power
7 years, 2 months ago (2013-10-02 07:20:21 UTC) #18
Message was sent while issue was closed.
Change committed as 226413

Powered by Google App Engine
This is Rietveld 408576698