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

Issue 14273041: Doc server manifest page generation (Closed)

Created:
7 years, 7 months ago by jshumway
Modified:
7 years, 5 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, evan.peterson.ep_gmail.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Docserver: generate the manifest page. The manifest page is now unique for apps and extensions and the property descriptions have their own pages. BUG=233966 R=kalman@chromium.org NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212903

Patch Set 1 #

Total comments: 25

Patch Set 2 : Manifest Update preview 2 #

Total comments: 22

Patch Set 3 : Codereview, sub URLs, and tests #

Patch Set 4 : Absolute URL Fix #

Total comments: 45

Patch Set 5 : Codereview and polish #

Patch Set 6 : Codereview and polish #

Total comments: 24

Patch Set 7 : Codereview fixes #

Total comments: 8

Patch Set 8 : Presubmit polish #

Total comments: 1

Patch Set 9 : Last little tweak #

Patch Set 10 : manifest patch update #

Patch Set 11 : epeterson's nits #

Total comments: 6

Patch Set 12 : last clean up #

Patch Set 13 : fix imports #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1084 lines, -50 lines) Patch
M chrome/common/extensions/api/management.json View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/server2/app.yaml View 1 2 3 4 5 6 7 8 9 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 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/intro_data_source.py View 1 2 1 chunk +0 lines, -1 line 0 comments Download
A chrome/common/extensions/docs/server2/manifest_data_source.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +90 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/manifest_data_source_test.py View 1 2 3 4 5 6 7 1 chunk +128 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/server_instance.py View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +9 lines, -14 lines 0 comments Download
M chrome/common/extensions/docs/server2/sidenav_data_source.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -3 lines 0 comments Download
M chrome/common/extensions/docs/server2/subversion_file_system_test.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +9 lines, -7 lines 0 comments Download
M chrome/common/extensions/docs/server2/template_data_source.py View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +7 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/template_data_source_test.py View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -0 lines 0 comments Download
A + chrome/common/extensions/docs/server2/test_data/file_system/list/dir/file0.html View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/docs/server2/test_data/file_system/list/dir/file1.html View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/docs/server2/test_data/file_system/list/dir/file2.html View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/common/extensions/docs/templates/articles/app_external.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/articles/apps.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
A chrome/common/extensions/docs/templates/articles/apps_manifest.html View 1 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/articles/background_pages.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/articles/cloudMessaging.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
A chrome/common/extensions/docs/templates/articles/extensions_manifest.html View 1 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/app.html View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/default_locale.html View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/description.html View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/file_handlers.html View 1 2 3 4 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/homepage_url.html View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/icons.html View 1 2 3 4 1 chunk +52 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/incognito.html View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/key.html View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/kiosk_enabled.html View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/manifest_version.html View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/minimum_chrome_version.html View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/nacl_modules.html View 1 2 3 4 1 chunk +62 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/name.html View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/offline_enabled.html View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/requirements.html View 1 2 3 4 1 chunk +47 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/sandbox.html View 1 2 3 4 1 chunk +67 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/version.html View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/manifest/web_accessible_resources.html View 1 2 3 4 1 chunk +59 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/articles/manifestVersion.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/articles/override.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/articles/tut_migration_to_manifest_v2.html View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/templates/articles/whats_new.html View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -10 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/storage.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
A chrome/common/extensions/docs/templates/json/manifest.json View 1 2 3 4 1 chunk +176 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/header_body.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
A chrome/common/extensions/docs/templates/private/manifest_example.html View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/private/manifest_properties.html View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/manifest.html View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/manifest/app.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/manifest/default_locale.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/manifest/description.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/manifest/file_handlers.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/manifest/icons.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/manifest/key.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/manifest/kiosk_enabled.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/manifest/manifest_version.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/manifest/minimum_chrome_version.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/manifest/nacl_modules.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/manifest/name.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/manifest/offline_enabled.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/manifest/requirements.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/manifest/sandbox.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/manifest/version.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/public/extensions/manifest.html View 1 chunk +1 line, -1 line 0 comments Download
A chrome/common/extensions/docs/templates/public/extensions/manifest/default_locale.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/extensions/manifest/description.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/extensions/manifest/homepage_url.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/extensions/manifest/icons.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/extensions/manifest/incognito.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
chrome/common/extensions/docs/templates/public/extensions/manifest/key.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/extensions/manifest/manifest_version.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/extensions/manifest/minimum_chrome_version.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/extensions/manifest/nacl_modules.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/extensions/manifest/name.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/extensions/manifest/offline_enabled.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/extensions/manifest/requirements.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/extensions/manifest/sandbox.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/extensions/manifest/version.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/extensions/manifest/web_accessible_resources.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
jshumway
This is a rough draft of the fix. I broke all of the property descriptions ...
7 years, 7 months ago (2013-04-27 01:33:40 UTC) #1
not at google - send to devlin
Awesome, that was quick. Need to run so only looked at it for a couple ...
7 years, 7 months ago (2013-04-27 01:54:02 UTC) #2
not at google - send to devlin
ok, review done. plenty of things to do. https://codereview.chromium.org/14273041/diff/1/chrome/common/extensions/docs/server2/compiled_file_system_source.py File chrome/common/extensions/docs/server2/compiled_file_system_source.py (right): https://codereview.chromium.org/14273041/diff/1/chrome/common/extensions/docs/server2/compiled_file_system_source.py#newcode1 chrome/common/extensions/docs/server2/compiled_file_system_source.py:1: # ...
7 years, 7 months ago (2013-04-30 16:21:09 UTC) #3
not at google - send to devlin
One more thing - when https://codereview.chromium.org/12996003/ goes in we'll want to show the same availability ...
7 years, 7 months ago (2013-04-30 17:18:23 UTC) #4
jshumway
Here is the second preview version of the changes. I still need to make the ...
7 years, 7 months ago (2013-05-03 03:44:39 UTC) #5
not at google - send to devlin
https://codereview.chromium.org/14273041/diff/1/chrome/common/extensions/docs/server2/compiled_file_system_source.py File chrome/common/extensions/docs/server2/compiled_file_system_source.py (right): https://codereview.chromium.org/14273041/diff/1/chrome/common/extensions/docs/server2/compiled_file_system_source.py#newcode7 chrome/common/extensions/docs/server2/compiled_file_system_source.py:7: class CompiledFileSystemSource(object): On 2013/05/03 03:44:39, jaredshumway94 wrote: > On ...
7 years, 7 months ago (2013-05-03 15:56:24 UTC) #6
jshumway
The manifest example is being generated from both manifest.json and _manifest_features now. Properties leftover in ...
7 years, 7 months ago (2013-05-10 02:08:36 UTC) #7
not at google - send to devlin
Had to rush a bit at the end there, mostly little things. It looks fantastic. ...
7 years, 7 months ago (2013-05-10 04:14:14 UTC) #8
not at google - send to devlin
Two more things: - please make sure to update the version in app.yaml. there should ...
7 years, 7 months ago (2013-05-10 05:39:14 UTC) #9
not at google - send to devlin
Hey Meggin - are you around? What do you think of this change? It pulls ...
7 years, 7 months ago (2013-05-10 16:04:16 UTC) #10
jshumway
Here are the changes you asked for. The patch is looking pretty good. One interesting ...
7 years, 7 months ago (2013-05-11 02:37:08 UTC) #11
not at google - send to devlin
> One interesting problem I came across: to look up a manifest URL, the server ...
7 years, 7 months ago (2013-05-11 18:03:06 UTC) #12
not at google - send to devlin
I agree you're very close! https://codereview.chromium.org/14273041/diff/36001/chrome/common/extensions/docs/server2/app.yaml File chrome/common/extensions/docs/server2/app.yaml (right): https://codereview.chromium.org/14273041/diff/36001/chrome/common/extensions/docs/server2/app.yaml#newcode2 chrome/common/extensions/docs/server2/app.yaml:2: version: 2-1-1 As per ...
7 years, 7 months ago (2013-05-11 18:32:01 UTC) #13
not at google - send to devlin
https://codereview.chromium.org/14273041/diff/36001/chrome/common/extensions/docs/server2/manifest_data_source.py File chrome/common/extensions/docs/server2/manifest_data_source.py (right): https://codereview.chromium.org/14273041/diff/36001/chrome/common/extensions/docs/server2/manifest_data_source.py#newcode36 chrome/common/extensions/docs/server2/manifest_data_source.py:36: features_json = Parse(self._local_file_system.Read( ReadSingle. And to answer your question ...
7 years, 7 months ago (2013-05-11 20:42:04 UTC) #14
jshumway
https://codereview.chromium.org/14273041/diff/36001/chrome/common/extensions/docs/server2/app.yaml File chrome/common/extensions/docs/server2/app.yaml (right): https://codereview.chromium.org/14273041/diff/36001/chrome/common/extensions/docs/server2/app.yaml#newcode2 chrome/common/extensions/docs/server2/app.yaml:2: version: 2-1-1 On 2013/05/11 18:32:01, kalman wrote: > As ...
7 years, 7 months ago (2013-05-11 22:08:19 UTC) #15
not at google - send to devlin
lgtm with a couple more comments https://codereview.chromium.org/14273041/diff/44001/chrome/common/extensions/docs/server2/manifest_data_source.py File chrome/common/extensions/docs/server2/manifest_data_source.py (right): https://codereview.chromium.org/14273041/diff/44001/chrome/common/extensions/docs/server2/manifest_data_source.py#newcode11 chrome/common/extensions/docs/server2/manifest_data_source.py:11: def create_dict(): if ...
7 years, 7 months ago (2013-05-11 22:19:04 UTC) #16
jshumway
Got the final changes, merged in the json files. https://codereview.chromium.org/14273041/diff/44001/chrome/common/extensions/docs/server2/manifest_data_source.py File chrome/common/extensions/docs/server2/manifest_data_source.py (right): https://codereview.chromium.org/14273041/diff/44001/chrome/common/extensions/docs/server2/manifest_data_source.py#newcode11 chrome/common/extensions/docs/server2/manifest_data_source.py:11: ...
7 years, 7 months ago (2013-05-11 22:50:41 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/14273041/46003
7 years, 7 months ago (2013-05-11 22:51:06 UTC) #18
not at google - send to devlin
Committed patchset #8 manually as r199633.
7 years, 7 months ago (2013-05-12 03:06:59 UTC) #19
not at google - send to devlin
Sorry I thought if I committed it myself it would say "patch by..." but.... apparently ...
7 years, 7 months ago (2013-05-12 03:14:22 UTC) #20
not at google - send to devlin
It turns out we can't submit this patch yet, sorry - we're blocked on only ...
7 years, 7 months ago (2013-05-12 04:20:05 UTC) #21
jshumway
I went ahead and changed that line. I didn't change the app,cron.yaml files though, because ...
7 years, 7 months ago (2013-05-14 05:25:00 UTC) #22
jshumway
Updated this patch for the new channel-less doc server. Turns out there were a ton ...
7 years, 5 months ago (2013-07-20 00:17:43 UTC) #23
not at google - send to devlin
lgtm but a couple of things to fix up and 1 question. https://codereview.chromium.org/14273041/diff/91001/chrome/common/extensions/docs/server2/server_instance.py File chrome/common/extensions/docs/server2/server_instance.py ...
7 years, 5 months ago (2013-07-20 02:49:02 UTC) #24
jshumway
https://codereview.chromium.org/14273041/diff/91001/chrome/common/extensions/docs/server2/server_instance.py File chrome/common/extensions/docs/server2/server_instance.py (right): https://codereview.chromium.org/14273041/diff/91001/chrome/common/extensions/docs/server2/server_instance.py#newcode115 chrome/common/extensions/docs/server2/server_instance.py:115: On 2013/07/20 02:49:03, kalman wrote: > where did this ...
7 years, 5 months ago (2013-07-22 17:16:27 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jaredshumway94@gmail.com/14273041/104001
7 years, 5 months ago (2013-07-22 17:17:51 UTC) #26
commit-bot: I haz the power
7 years, 5 months ago (2013-07-22 17:20:37 UTC) #27
Message was sent while issue was closed.
Change committed as 212903

Powered by Google App Engine
This is Rietveld 408576698