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

Issue 48263002: list apis by channel info, e.g. dev, stable (Closed)

Created:
7 years, 1 month ago by hukun
Modified:
7 years, 1 month 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

list apis by channel info, e.g. dev, stable Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235124

Patch Set 1 #

Total comments: 24

Patch Set 2 : use api models #

Total comments: 48

Patch Set 3 : gerenate one new template, e.g. api_table #

Total comments: 22

Patch Set 4 : add private_apis html #

Patch Set 5 : #

Total comments: 22

Patch Set 6 : polish test data in api list tests #

Total comments: 12

Patch Set 7 : polish api list test data #

Total comments: 4

Patch Set 8 : fix last issue #

Total comments: 2

Patch Set 9 : change api array expression #

Patch Set 10 : done #

Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -130 lines) Patch
M chrome/common/extensions/docs/server2/api_list_data_source.py View 1 2 3 4 5 6 7 8 9 3 chunks +65 lines, -20 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_list_data_source_test.py View 1 2 3 4 5 6 7 8 9 5 chunks +136 lines, -53 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_models.py View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -0 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/server_instance.py View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -6 lines 0 comments Download
M chrome/common/extensions/docs/templates/articles/api_index.html View 1 2 3 4 1 chunk +25 lines, -21 lines 0 comments Download
M chrome/common/extensions/docs/templates/articles/experimental.html View 1 2 1 chunk +1 line, -11 lines 0 comments Download
M chrome/common/extensions/docs/templates/articles/private_apis.html View 1 2 3 1 chunk +2 lines, -6 lines 0 comments Download
A chrome/common/extensions/docs/templates/private/api_table.html View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/apps_footer.html View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/extensions_footer.html View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/samples.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/api_index.html View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/experimental.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/samples.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/extensions/api_index.html View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/extensions/experimental.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/extensions/samples.html View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 31 (0 generated)
hukun
List all apis by channel, e.g. stable, dev, and beta
7 years, 1 month ago (2013-10-29 02:31:46 UTC) #1
not at google - send to devlin
Sorry it took me so long to review. It's a bit vague in places but ...
7 years, 1 month ago (2013-10-31 00:05:25 UTC) #2
mkearney1
I'm adding my initial feedback in this message rather than directly in the files. Hope ...
7 years, 1 month ago (2013-10-31 00:11:34 UTC) #3
hukun
https://codereview.chromium.org/48263002/diff/1/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/48263002/diff/1/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode42 chrome/common/extensions/docs/server2/api_list_data_source.py:42: api_data_source_factory, Done. Remove dependency of api_data_source_factory, and use api_models. ...
7 years, 1 month ago (2013-11-01 09:31:52 UTC) #4
hukun_google.com
On Thu, Oct 31, 2013 at 8:11 AM, <mkearney@chromium.org> wrote: > I'm adding my initial ...
7 years, 1 month ago (2013-11-01 09:32:30 UTC) #5
mkearney1
Looking almost done, Kun. The Chrome Version is showing up as 5 for all APIs. ...
7 years, 1 month ago (2013-11-01 17:15:37 UTC) #6
mkearney
Nevermind the top comment-- I was running ./preview.py instead of proper start_dev_server.py. Versioning looks great! ...
7 years, 1 month ago (2013-11-01 22:53:07 UTC) #7
not at google - send to devlin
the demo is awesome! https://codereview.chromium.org/48263002/diff/110001/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/48263002/diff/110001/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode79 chrome/common/extensions/docs/server2/api_list_data_source.py:79: def GetAllNames(self): don't worry about ...
7 years, 1 month ago (2013-11-02 00:31:45 UTC) #8
hukun
add one new template, e.g. api_table https://codereview.chromium.org/48263002/diff/110001/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/48263002/diff/110001/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode79 chrome/common/extensions/docs/server2/api_list_data_source.py:79: def GetAllNames(self): OK ...
7 years, 1 month ago (2013-11-04 11:07:25 UTC) #9
not at google - send to devlin
Replying to your comments before I look at the CL again. Incidentally, patching in your ...
7 years, 1 month ago (2013-11-04 18:30:48 UTC) #10
not at google - send to devlin
Those changes have been submitted now - you should rebase. The only real work left ...
7 years, 1 month ago (2013-11-05 01:02:00 UTC) #11
hukun_google.com
@Ben: How can I see these warning and error messages? I did not see them ...
7 years, 1 month ago (2013-11-05 02:31:52 UTC) #12
not at google - send to devlin
On 2013/11/05 02:31:52, hukun_google.com wrote: > @Ben: How can I see these warning and error ...
7 years, 1 month ago (2013-11-05 02:32:54 UTC) #13
hukun
https://codereview.chromium.org/48263002/diff/290001/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/48263002/diff/290001/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode58 chrome/common/extensions/docs/server2/api_list_data_source.py:58: return self._cache.GetFromFileListing(self._public_template_path).Get() Done https://codereview.chromium.org/48263002/diff/290001/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode97 chrome/common/extensions/docs/server2/api_list_data_source.py:97: return model.Get().description Done https://codereview.chromium.org/48263002/diff/290001/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode103 ...
7 years, 1 month ago (2013-11-06 08:56:19 UTC) #14
hukun_google.com
On Tue, Nov 5, 2013 at 2:30 AM, <kalman@chromium.org> wrote: > Replying to your comments ...
7 years, 1 month ago (2013-11-06 08:56:38 UTC) #15
not at google - send to devlin
Sorry to keep on doing rounds here, I really don't want to discourage you, since ...
7 years, 1 month ago (2013-11-07 23:52:17 UTC) #16
hukun
https://codereview.chromium.org/48263002/diff/550001/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/48263002/diff/550001/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode95 chrome/common/extensions/docs/server2/api_list_data_source.py:95: return '' I did filter the api by _api_models.GetName() ...
7 years, 1 month ago (2013-11-08 06:23:39 UTC) #17
not at google - send to devlin
lgtm. The remaining comments should be pretty straightforward, I think. https://codereview.chromium.org/48263002/diff/550001/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/48263002/diff/550001/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode95 ...
7 years, 1 month ago (2013-11-10 01:39:56 UTC) #18
hukun
https://codereview.chromium.org/48263002/diff/690001/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/48263002/diff/690001/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode12 chrome/common/extensions/docs/server2/api_list_data_source.py:12: from branch_utility import ChannelInfo Done https://codereview.chromium.org/48263002/diff/690001/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode14 chrome/common/extensions/docs/server2/api_list_data_source.py:14: def _GetAPICategory(api, ...
7 years, 1 month ago (2013-11-11 10:23:02 UTC) #19
not at google - send to devlin
I don't know where the .gitmodules error is coming from since it doesn't seem like ...
7 years, 1 month ago (2013-11-11 15:58:04 UTC) #20
not at google - send to devlin
> You might actually want to add an APIModels.IterModels() which yields (name, > model) pairs ...
7 years, 1 month ago (2013-11-11 16:07:18 UTC) #21
hukun
https://codereview.chromium.org/48263002/diff/840001/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/48263002/diff/840001/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode104 chrome/common/extensions/docs/server2/api_list_data_source.py:104: api['description'] = GetApiDescription(api_name) Got it. If you do not ...
7 years, 1 month ago (2013-11-13 15:36:43 UTC) #22
not at google - send to devlin
https://codereview.chromium.org/48263002/diff/840001/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/48263002/diff/840001/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode104 chrome/common/extensions/docs/server2/api_list_data_source.py:104: api['description'] = GetApiDescription(api_name) On 2013/11/13 15:36:44, hukun wrote: > ...
7 years, 1 month ago (2013-11-13 15:49:55 UTC) #23
hukun_google.com
OK. I am struggling with dcommit, and do not submit code now. Let me fix ...
7 years, 1 month ago (2013-11-13 16:14:01 UTC) #24
not at google - send to devlin
I don't think non-committers can dcommit, so it could be that. Also it looks like ...
7 years, 1 month ago (2013-11-13 16:16:05 UTC) #25
hukun_google.com
@Ben: I have a little confusion. What is meaning about "I don't think non-committers can ...
7 years, 1 month ago (2013-11-13 16:21:03 UTC) #26
hukun
https://codereview.chromium.org/48263002/diff/840001/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/48263002/diff/840001/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode104 chrome/common/extensions/docs/server2/api_list_data_source.py:104: api['description'] = GetApiDescription(api_name) Done. Fix it by using api_models.
7 years, 1 month ago (2013-11-13 17:41:28 UTC) #27
not at google - send to devlin
lgtm https://codereview.chromium.org/48263002/diff/980001/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/48263002/diff/980001/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode101 chrome/common/extensions/docs/server2/api_list_data_source.py:101: api['platforms'] = GetApiPlatform(api_name) you can write this slightly ...
7 years, 1 month ago (2013-11-13 17:43:29 UTC) #28
hukun
https://codereview.chromium.org/48263002/diff/980001/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/48263002/diff/980001/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode101 chrome/common/extensions/docs/server2/api_list_data_source.py:101: api['platforms'] = GetApiPlatform(api_name) Done
7 years, 1 month ago (2013-11-13 18:03:59 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hukun@chromium.org/48263002/1190001
7 years, 1 month ago (2013-11-14 09:09:18 UTC) #30
commit-bot: I haz the power
7 years, 1 month ago (2013-11-14 12:09:30 UTC) #31
Message was sent while issue was closed.
Change committed as 235124

Powered by Google App Engine
This is Rietveld 408576698