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

Issue 23503039: Adding APISchemaGraph class to Extensions Docserver. (Closed)

Created:
7 years, 3 months ago by epeterson
Modified:
7 years, 3 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

Adding APISchemaGraph class to Extensions Docserver. A small step toward generating availability for APIs at the object level. This class is used to convert API schema data to a more usable format for finding fine-grain availability information. BUG=233982 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223362

Patch Set 1 #

Total comments: 21

Patch Set 2 : Small bugfix, Test improvement #

Patch Set 3 : Changes. #

Total comments: 21

Patch Set 4 : Everything is better. #

Total comments: 6

Patch Set 5 : Significant changes. #

Total comments: 16

Patch Set 6 : Test Restructuring. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+397 lines, -2 lines) Patch
A chrome/common/extensions/docs/server2/api_schema_graph.py View 1 2 3 4 5 1 chunk +94 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/api_schema_graph_test.py View 1 2 3 4 5 1 chunk +301 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/app.yaml View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/cron.yaml View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
epeterson
Hi Ben, Here's a more focused patch for object-level availability -- it's adding the AvailabilityGraph ...
7 years, 3 months ago (2013-09-06 22:47:46 UTC) #1
epeterson
Oops, small bugfix with the test, I had added information to a fake data structure ...
7 years, 3 months ago (2013-09-06 23:26:41 UTC) #2
not at google - send to devlin
so yeah - tests should only go through interface methods (though sometimes you're forced to ...
7 years, 3 months ago (2013-09-06 23:29:37 UTC) #3
epeterson
On 2013/09/06 23:29:37, kalman wrote: > so yeah - tests should only go through interface ...
7 years, 3 months ago (2013-09-12 00:23:01 UTC) #4
epeterson
(Forgot to publish these) https://codereview.chromium.org/23503039/diff/1/chrome/common/extensions/docs/server2/availability_graph.py File chrome/common/extensions/docs/server2/availability_graph.py (right): https://codereview.chromium.org/23503039/diff/1/chrome/common/extensions/docs/server2/availability_graph.py#newcode5 chrome/common/extensions/docs/server2/availability_graph.py:5: _ATTRIBUTES = ('events', 'functions', 'parameters', ...
7 years, 3 months ago (2013-09-12 00:32:00 UTC) #5
not at google - send to devlin
looking great. https://codereview.chromium.org/23503039/diff/11001/chrome/common/extensions/docs/server2/api_schema_map.py File chrome/common/extensions/docs/server2/api_schema_map.py (right): https://codereview.chromium.org/23503039/diff/11001/chrome/common/extensions/docs/server2/api_schema_map.py#newcode28 chrome/common/extensions/docs/server2/api_schema_map.py:28: def _CreateMap(root, node_type=None): node_type is never used ...
7 years, 3 months ago (2013-09-12 20:34:23 UTC) #6
epeterson
Changes have been made. Thank you for taking the time to review this patch. https://codereview.chromium.org/23503039/diff/11001/chrome/common/extensions/docs/server2/api_schema_map.py ...
7 years, 3 months ago (2013-09-12 22:39:09 UTC) #7
not at google - send to devlin
quick reply-reply. will look at new diff now. https://codereview.chromium.org/23503039/diff/11001/chrome/common/extensions/docs/server2/api_schema_map.py File chrome/common/extensions/docs/server2/api_schema_map.py (right): https://codereview.chromium.org/23503039/diff/11001/chrome/common/extensions/docs/server2/api_schema_map.py#newcode56 chrome/common/extensions/docs/server2/api_schema_map.py:56: def ...
7 years, 3 months ago (2013-09-13 17:00:33 UTC) #8
not at google - send to devlin
https://codereview.chromium.org/23503039/diff/11001/chrome/common/extensions/docs/server2/api_schema_map.py File chrome/common/extensions/docs/server2/api_schema_map.py (right): https://codereview.chromium.org/23503039/diff/11001/chrome/common/extensions/docs/server2/api_schema_map.py#newcode67 chrome/common/extensions/docs/server2/api_schema_map.py:67: rest = _Subtract(minuend[key], subtrahend[key]) On 2013/09/13 17:00:34, kalman wrote: ...
7 years, 3 months ago (2013-09-13 17:16:30 UTC) #9
not at google - send to devlin
lg apart from the comment in the test. https://codereview.chromium.org/23503039/diff/20001/chrome/common/extensions/docs/server2/api_schema_map.py File chrome/common/extensions/docs/server2/api_schema_map.py (right): https://codereview.chromium.org/23503039/diff/20001/chrome/common/extensions/docs/server2/api_schema_map.py#newcode45 chrome/common/extensions/docs/server2/api_schema_map.py:45: api_schema_map[name] ...
7 years, 3 months ago (2013-09-13 17:20:44 UTC) #10
epeterson
We can now check the existence of 'non-object values.' https://codereview.chromium.org/23503039/diff/20001/chrome/common/extensions/docs/server2/api_schema_map.py File chrome/common/extensions/docs/server2/api_schema_map.py (right): https://codereview.chromium.org/23503039/diff/20001/chrome/common/extensions/docs/server2/api_schema_map.py#newcode45 chrome/common/extensions/docs/server2/api_schema_map.py:45: ...
7 years, 3 months ago (2013-09-13 23:27:24 UTC) #11
not at google - send to devlin
just test comments now. Just needs a bit of restructuring. https://codereview.chromium.org/23503039/diff/43001/chrome/common/extensions/docs/server2/api_schema_map.py File chrome/common/extensions/docs/server2/api_schema_map.py (right): https://codereview.chromium.org/23503039/diff/43001/chrome/common/extensions/docs/server2/api_schema_map.py#newcode66 ...
7 years, 3 months ago (2013-09-16 14:06:24 UTC) #12
epeterson
Test has been organized a little more nicely. Also re-renamed APISchemaMap -> APISchemaGraph. https://codereview.chromium.org/23503039/diff/43001/chrome/common/extensions/docs/server2/api_schema_map.py File ...
7 years, 3 months ago (2013-09-16 17:47:23 UTC) #13
not at google - send to devlin
lgtm
7 years, 3 months ago (2013-09-16 18:03:35 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/evan.peterson.EP@gmail.com/23503039/50001
7 years, 3 months ago (2013-09-16 18:15:26 UTC) #15
commit-bot: I haz the power
7 years, 3 months ago (2013-09-16 18:18:23 UTC) #16
Message was sent while issue was closed.
Change committed as 223362

Powered by Google App Engine
This is Rietveld 408576698