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

Issue 139303023: add GCS support to docs server (Closed)

Created:
6 years, 11 months ago by Renato Mangini (chromium)
Modified:
6 years, 10 months ago
Reviewers:
Daniel Berlin, mkearney1, Lei Zhang, cpu_(ooo_6.6-7.5), Jeffrey Yasskin, Paweł Hajdan Jr., open-source-third-party-reviews
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

Add Google Cloud Storage support to the documentation AppEngine server using Cloud Storage official Python client library. With this CL, URL paths can be directly mapped to Cloud Storage buckets (http://developer.chrome.com/path/... -> gs://bucket/...) using content_storage.json configuration file. open-source-thrid-party-reviews@ team: this CL adds a third-party library to Chromium repo. The library will be used only in the documentation server and it is the official Google library to access Google Cloud Storage from a Google AppEngine application (docs server). BUG=338007 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250663

Patch Set 1 #

Patch Set 2 : fixing issues #

Patch Set 3 : fixes #

Patch Set 4 : Working implementation of Cloud Storage filesystem #

Patch Set 5 : bumped version; fixed test error; fixed wrong exec bit on third-party #

Patch Set 6 : removed cachedfilesystem for gcs; fixed stat #

Patch Set 7 : #

Patch Set 8 : Rebase to trunk #

Patch Set 9 : removed trailing spaces #

Patch Set 10 : bumped versions #

Total comments: 40

Patch Set 11 : Addressing reviewer's comments #

Total comments: 8

Patch Set 12 : Adressing reviewer's comments #

Patch Set 13 : Rebase to HEAD #

Patch Set 14 : requirements to add appengine_cloudstorage as thirdparty library #

Total comments: 1

Patch Set 15 : added OWNERS to third-party #

Patch Set 16 : Updated third party library, rebased and fixed a path issue caused by rebasing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2853 lines, -42 lines) Patch
M .gitignore View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/.gitignore View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/README View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +27 lines, -0 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 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/app_engine_handler.py View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/build_server.py View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/content_providers.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +43 lines, -5 lines 0 comments Download
M chrome/common/extensions/docs/server2/content_providers_test.py View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/server2/cron.yaml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/cron_servlet.py View 1 2 3 4 5 6 7 8 9 10 3 chunks +8 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/cron_servlet_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/extensions_paths.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/gcs_file_system.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +120 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/gcs_file_system_provider.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +93 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/instance_servlet.py View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/patch_servlet.py View 1 2 3 2 chunks +2 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 13 14 15 6 chunks +9 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/templates/json/content_providers.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +21 lines, -27 lines 0 comments Download
A third_party/google_appengine_cloudstorage/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/google_appengine_cloudstorage/README View 1 chunk +7 lines, -0 lines 0 comments Download
A third_party/google_appengine_cloudstorage/README.chromium View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +17 lines, -0 lines 0 comments Download
A third_party/google_appengine_cloudstorage/cloudstorage/__init__.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/google_appengine_cloudstorage/cloudstorage/api_utils.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +315 lines, -0 lines 0 comments Download
A third_party/google_appengine_cloudstorage/cloudstorage/cloudstorage_api.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +448 lines, -0 lines 0 comments Download
A third_party/google_appengine_cloudstorage/cloudstorage/common.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +409 lines, -0 lines 0 comments Download
A third_party/google_appengine_cloudstorage/cloudstorage/errors.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +140 lines, -0 lines 0 comments Download
A third_party/google_appengine_cloudstorage/cloudstorage/rest_api.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +246 lines, -0 lines 0 comments Download
A third_party/google_appengine_cloudstorage/cloudstorage/storage_api.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +865 lines, -0 lines 0 comments Download
A third_party/google_appengine_cloudstorage/cloudstorage/test_utils.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
Renato Mangini (chromium)
Google Cloud Storage support. Ready for review.
6 years, 11 months ago (2014-01-25 00:24:11 UTC) #1
not at google - send to devlin
thanks Jeffrey for agreeing to be the reviewer for this one :)
6 years, 11 months ago (2014-01-27 17:59:30 UTC) #2
Jeffrey Yasskin
https://codereview.chromium.org/139303023/diff/810001/chrome/common/extensions/docs/server2/content_providers.py File chrome/common/extensions/docs/server2/content_providers.py (right): https://codereview.chromium.org/139303023/diff/810001/chrome/common/extensions/docs/server2/content_providers.py#newcode38 chrome/common/extensions/docs/server2/content_providers.py:38: # will read the content_provider configuration from there instead ...
6 years, 10 months ago (2014-01-29 01:08:08 UTC) #3
Renato Mangini (chromium)
Comments addressed. PTAL. https://codereview.chromium.org/139303023/diff/810001/chrome/common/extensions/docs/server2/content_providers.py File chrome/common/extensions/docs/server2/content_providers.py (right): https://codereview.chromium.org/139303023/diff/810001/chrome/common/extensions/docs/server2/content_providers.py#newcode38 chrome/common/extensions/docs/server2/content_providers.py:38: # will read the content_provider configuration ...
6 years, 10 months ago (2014-01-31 02:29:03 UTC) #4
Jeffrey Yasskin
Sorry for the delay. LGTM after these changes. https://codereview.chromium.org/139303023/diff/810001/chrome/common/extensions/docs/server2/content_providers_test.py File chrome/common/extensions/docs/server2/content_providers_test.py (right): https://codereview.chromium.org/139303023/diff/810001/chrome/common/extensions/docs/server2/content_providers_test.py#newcode107 chrome/common/extensions/docs/server2/content_providers_test.py:107: # ...
6 years, 10 months ago (2014-02-03 22:12:56 UTC) #5
Renato Mangini (chromium)
PTAL. Other comments also addressed, although rietveld are not showing them in the drafts messages ...
6 years, 10 months ago (2014-02-04 02:07:08 UTC) #6
Renato Mangini (chromium)
Actually, Jeffrey, you don't need to take another look if you don't want, since you ...
6 years, 10 months ago (2014-02-04 02:13:37 UTC) #7
Jeffrey Yasskin
lgtm
6 years, 10 months ago (2014-02-04 03:06:03 UTC) #8
Renato Mangini (chromium)
The CQ bit was checked by mangini@chromium.org
6 years, 10 months ago (2014-02-04 17:07:48 UTC) #9
Renato Mangini (chromium)
The CQ bit was unchecked by mangini@chromium.org
6 years, 10 months ago (2014-02-04 17:07:51 UTC) #10
Renato Mangini (chromium)
The CQ bit was checked by mangini@chromium.org
6 years, 10 months ago (2014-02-04 17:33:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mangini@chromium.org/139303023/1280001
6 years, 10 months ago (2014-02-04 17:35:35 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-04 18:14:26 UTC) #13
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=47957
6 years, 10 months ago (2014-02-04 18:14:26 UTC) #14
Daniel Berlin
This looks fine for open-source-third-party-reviews
6 years, 10 months ago (2014-02-07 21:07:53 UTC) #15
Renato Mangini (chromium)
On 2014/02/07 21:07:53, Daniel Berlin wrote: > This looks fine for open-source-third-party-reviews Thank you, Daniel. ...
6 years, 10 months ago (2014-02-07 21:37:24 UTC) #16
Jeffrey Yasskin
You actually need Pawel or Lei, who own that directory: https://code.google.com/p/chromium/codesearch/#chromium/src/tools/checklicenses/OWNERS&sq=package:chromium$&q=checklicenses
6 years, 10 months ago (2014-02-07 21:42:07 UTC) #17
Jeffrey Yasskin
Oh, and: * an OWNERS file (http://www.chromium.org/developers/adding-3rd-party-libraries#TOC-Add-OWNERS) *a review from security@, although they'll hopefully be ...
6 years, 10 months ago (2014-02-07 21:51:32 UTC) #18
Paweł Hajdan Jr.
https://codereview.chromium.org/139303023/diff/1510001/tools/checklicenses/checklicenses.py File tools/checklicenses/checklicenses.py (right): https://codereview.chromium.org/139303023/diff/1510001/tools/checklicenses/checklicenses.py#newcode148 tools/checklicenses/checklicenses.py:148: # https://code.google.com/p/appengine-gcs-client/issues/detail?id=31 This is a Google project. Could you ...
6 years, 10 months ago (2014-02-07 21:57:12 UTC) #19
Renato Mangini (chromium)
On 2014/02/07 21:51:32, Jeffrey Yasskin wrote: > Oh, and: > * an OWNERS file OWNERS ...
6 years, 10 months ago (2014-02-07 21:58:18 UTC) #20
Daniel Berlin
I will take care of berating the other project :) On Fri, Feb 7, 2014 ...
6 years, 10 months ago (2014-02-07 22:46:28 UTC) #21
cpu_(ooo_6.6-7.5)
lgtm Please flesh out more the bug. Like enough for a human from a different ...
6 years, 10 months ago (2014-02-10 20:07:47 UTC) #22
Renato Mangini (chromium)
On 2014/02/10 20:07:47, cpu wrote: > lgtm > > Please flesh out more the bug. ...
6 years, 10 months ago (2014-02-10 20:26:05 UTC) #23
Renato Mangini (chromium)
On 2014/02/07 21:57:12, Paweł Hajdan Jr. wrote: > https://codereview.chromium.org/139303023/diff/1510001/tools/checklicenses/checklicenses.py > File tools/checklicenses/checklicenses.py (right): > > ...
6 years, 10 months ago (2014-02-10 22:21:20 UTC) #24
Paweł Hajdan Jr.
On 2014/02/10 22:21:20, Renato Mangini (chromium) wrote: > Pawel, I'm working with Ye to have ...
6 years, 10 months ago (2014-02-11 00:34:52 UTC) #25
Renato Mangini (chromium)
The CQ bit was checked by mangini@chromium.org
6 years, 10 months ago (2014-02-12 02:58:53 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mangini@chromium.org/139303023/1940001
6 years, 10 months ago (2014-02-12 03:52:19 UTC) #27
commit-bot: I haz the power
6 years, 10 months ago (2014-02-12 09:34:36 UTC) #28
Message was sent while issue was closed.
Change committed as 250663

Powered by Google App Engine
This is Rietveld 408576698