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

Issue 16410002: Docserver manifest follow up (rewrite) (Closed)

Created:
7 years, 6 months ago by jshumway
Modified:
7 years, 4 months ago
CC:
chromium-reviews, hashimoto+watch_chromium.org, aboxhall+watch_chromium.org, yoshiki+watch_chromium.org, yuzo+watch_chromium.org, davidbarr+watch_chromium.org, Aaron Boodman, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, chromium-apps-reviews_chromium.org, ctguil+watch_chromium.org, zork+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@gen-manifest-try-2
Visibility:
Public.

Description

Manifest patch follow up. Adds manifest property nesting (to an arbitrary depth), fixed a bug that prevented some properties from displaying properly, removed some invalid pages, and added annotation support. Rewrote manifest.json and the data source to make merging manifest.json with _manifest_features.json in the future painless. It is now much much easier to add properties to manifest.json! Annotations are added automatically and appropriately to designate which properties are optional/required/etc and additional annotations added in manifest.json are supported. NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217753

Patch Set 1 #

Patch Set 2 : Quick style changes #

Patch Set 3 : Small URL change #

Total comments: 20

Patch Set 4 : Header absolute URL fix #

Patch Set 5 : manifest follow up (rewrite) #

Total comments: 28

Patch Set 6 : codereview #

Total comments: 14

Patch Set 7 : features utility renamed features model and imutified #

Patch Set 8 : subdoc rename #

Total comments: 14

Patch Set 9 : structural changes #

Total comments: 16

Patch Set 10 : codereview #

Patch Set 11 : replace dictionaries with Feature class #

Total comments: 10

Patch Set 12 : revert and clean up features utility, manifest data source #

Total comments: 6

Patch Set 13 : more idiomatic/less explicit copying #

Unified diffs Side-by-side diffs Delta from patch set Stats (+660 lines, -1043 lines) Patch
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
A chrome/common/extensions/docs/server2/features_utility.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +70 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/features_utility_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +115 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/manifest_data_source.py View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +126 lines, -64 lines 0 comments Download
M chrome/common/extensions/docs/server2/manifest_data_source_test.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +183 lines, -108 lines 0 comments Download
D chrome/common/extensions/docs/templates/articles/apps_manifest.html View 1 5 6 11 1 chunk +0 lines, -20 lines 0 comments Download
D chrome/common/extensions/docs/templates/articles/extensions_manifest.html View 1 5 6 11 1 chunk +0 lines, -20 lines 0 comments Download
M chrome/common/extensions/docs/templates/articles/manifest.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -638 lines 0 comments Download
M chrome/common/extensions/docs/templates/json/manifest.json View 1 2 3 4 5 11 1 chunk +140 lines, -172 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/manifest_example.html View 1 2 3 4 11 1 chunk +5 lines, -11 lines 0 comments Download
D chrome/common/extensions/docs/templates/private/manifest_properties.html View 1 2 3 4 11 1 chunk +0 lines, -6 lines 0 comments Download
A chrome/common/extensions/docs/templates/private/manifest_property.html View 1 2 3 4 5 6 7 11 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/manifest.html View 1 2 3 4 11 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/extensions/manifest.html View 1 2 3 4 5 11 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
not at google - send to devlin
Ok I have outstanding comments here, I have no idea how relevant they are or ...
7 years, 5 months ago (2013-07-02 18:23:11 UTC) #1
jshumway
https://codereview.chromium.org/16410002/diff/5001/chrome/common/extensions/docs/server2/app.yaml File chrome/common/extensions/docs/server2/app.yaml (right): https://codereview.chromium.org/16410002/diff/5001/chrome/common/extensions/docs/server2/app.yaml#newcode2 chrome/common/extensions/docs/server2/app.yaml:2: version: 2-8-1 On 2013/07/02 18:23:11, kalman wrote: > just ...
7 years, 5 months ago (2013-07-24 17:40:07 UTC) #2
not at google - send to devlin
I'm finding manifest_data_source.py a little bit hard to read, it's very compact and python-library-y. I ...
7 years, 5 months ago (2013-07-24 21:45:56 UTC) #3
jshumway
https://codereview.chromium.org/16410002/diff/38002/chrome/common/extensions/docs/server2/features_utility.py File chrome/common/extensions/docs/server2/features_utility.py (right): https://codereview.chromium.org/16410002/diff/38002/chrome/common/extensions/docs/server2/features_utility.py#newcode47 chrome/common/extensions/docs/server2/features_utility.py:47: dest[key] = value On 2013/07/24 21:45:56, kalman wrote: > ...
7 years, 4 months ago (2013-07-26 00:36:46 UTC) #4
not at google - send to devlin
ugh didn't get far, gotta run home for something and will continue there. https://codereview.chromium.org/16410002/diff/56001/chrome/common/extensions/docs/server2/features_utility.py File ...
7 years, 4 months ago (2013-07-29 23:30:09 UTC) #5
jshumway
https://codereview.chromium.org/16410002/diff/56001/chrome/common/extensions/docs/server2/features_utility.py File chrome/common/extensions/docs/server2/features_utility.py (right): https://codereview.chromium.org/16410002/diff/56001/chrome/common/extensions/docs/server2/features_utility.py#newcode1 chrome/common/extensions/docs/server2/features_utility.py:1: # Copyright 2013 The Chromium Authors. All rights reserved. ...
7 years, 4 months ago (2013-07-30 23:15:50 UTC) #6
not at google - send to devlin
nice, just a few structural comments. https://codereview.chromium.org/16410002/diff/71001/chrome/common/extensions/docs/server2/features_model.py File chrome/common/extensions/docs/server2/features_model.py (right): https://codereview.chromium.org/16410002/diff/71001/chrome/common/extensions/docs/server2/features_model.py#newcode14 chrome/common/extensions/docs/server2/features_model.py:14: def LoadFeaturesJson(self, features_json): ...
7 years, 4 months ago (2013-07-31 00:36:39 UTC) #7
jshumway
https://codereview.chromium.org/16410002/diff/71001/chrome/common/extensions/docs/server2/features_model.py File chrome/common/extensions/docs/server2/features_model.py (right): https://codereview.chromium.org/16410002/diff/71001/chrome/common/extensions/docs/server2/features_model.py#newcode14 chrome/common/extensions/docs/server2/features_model.py:14: def LoadFeaturesJson(self, features_json): On 2013/07/31 00:36:39, kalman wrote: > ...
7 years, 4 months ago (2013-07-31 18:10:28 UTC) #8
not at google - send to devlin
sorry I totally missed out that comment about the typed classes. It's just much better ...
7 years, 4 months ago (2013-07-31 18:50:19 UTC) #9
jshumway
Here is the manifest patch with the most recent review comments address. Patchset 10 is ...
7 years, 4 months ago (2013-08-01 22:27:50 UTC) #10
not at google - send to devlin
https://codereview.chromium.org/16410002/diff/94001/chrome/common/extensions/docs/server2/features_model.py File chrome/common/extensions/docs/server2/features_model.py (right): https://codereview.chromium.org/16410002/diff/94001/chrome/common/extensions/docs/server2/features_model.py#newcode29 chrome/common/extensions/docs/server2/features_model.py:29: return len(self._dict) Ok so now this just looks like ...
7 years, 4 months ago (2013-08-05 22:23:48 UTC) #11
jshumway
Some pretty big changes with this one, features_model renamed features_utility and simplified, methods changed to ...
7 years, 4 months ago (2013-08-08 00:32:19 UTC) #12
not at google - send to devlin
lg but want to sort out the mutation issues. It should only take a second. ...
7 years, 4 months ago (2013-08-08 16:31:18 UTC) #13
jshumway
https://codereview.chromium.org/16410002/diff/110001/chrome/common/extensions/docs/server2/cron.yaml File chrome/common/extensions/docs/server2/cron.yaml (right): https://codereview.chromium.org/16410002/diff/110001/chrome/common/extensions/docs/server2/cron.yaml#newcode5 chrome/common/extensions/docs/server2/cron.yaml:5: target: 2-19-0 On 2013/08/08 16:31:19, kalman wrote: > 19? ...
7 years, 4 months ago (2013-08-14 23:38:38 UTC) #14
not at google - send to devlin
lgtm
7 years, 4 months ago (2013-08-15 00:31:04 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jaredshumway94@gmail.com/16410002/127001
7 years, 4 months ago (2013-08-15 00:33:51 UTC) #16
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
7 years, 4 months ago (2013-08-15 05:59:57 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jaredshumway94@gmail.com/16410002/127001
7 years, 4 months ago (2013-08-15 06:03:39 UTC) #18
commit-bot: I haz the power
7 years, 4 months ago (2013-08-15 06:05:20 UTC) #19
Message was sent while issue was closed.
Change committed as 217753

Powered by Google App Engine
This is Rietveld 408576698