• Home
Name Date Size #Lines LOC

..--

test_data/03-May-2024-10,7297,320

.gitignoreD03-May-202413 21

PRESUBMIT.pyD03-May-20243.5 KiB10076

READMED03-May-20241.7 KiB5132

api_categorizer.pyD03-May-20241.8 KiB4737

api_categorizer_test.pyD03-May-20242.3 KiB7763

api_data_source.pyD03-May-202420.9 KiB570465

api_data_source_test.pyD03-May-202410 KiB298232

api_list_data_source.pyD03-May-20244.1 KiB11394

api_list_data_source_test.pyD03-May-20247.5 KiB242215

api_models.pyD03-May-20243.1 KiB8557

api_models_test.pyD03-May-20245.9 KiB146116

api_schema_graph.pyD03-May-20245.7 KiB175126

api_schema_graph_test.pyD03-May-202416.7 KiB449418

app.yamlD03-May-2024387 1917

app_engine_handler.pyD03-May-20241.3 KiB3830

app_yaml_helper.pyD03-May-20244.4 KiB126102

app_yaml_helper_test.pyD03-May-20246 KiB180143

appengine_blobstore.pyD03-May-20241.9 KiB5539

appengine_main.pyD03-May-2024645 2411

appengine_url_fetcher.pyD03-May-20241.7 KiB5842

appengine_wrappers.pyD03-May-20247.6 KiB275205

availability_finder.pyD03-May-202412.4 KiB289201

availability_finder_test.pyD03-May-202414.6 KiB338241

blob_reference_store.pyD03-May-20241.1 KiB3927

branch_utility.pyD03-May-20248.4 KiB238190

branch_utility_test.pyD03-May-20247.5 KiB178150

build_server.pyD03-May-20243 KiB8466

cache_chain_object_store.pyD03-May-20244 KiB10382

cache_chain_object_store_test.pyD03-May-20248.3 KiB185148

caching_file_system.pyD03-May-20244.5 KiB12696

caching_file_system_test.pyD03-May-20248.6 KiB222177

caching_rietveld_patcher.pyD03-May-20244.1 KiB11796

caching_rietveld_patcher_test.pyD03-May-20242.3 KiB7148

chained_compiled_file_system.pyD03-May-20243.7 KiB8657

chained_compiled_file_system_test.pyD03-May-20242.8 KiB7157

chrome-128.pngD03-May-20243.9 KiB

chrome-32.icoD03-May-20245.3 KiB

chroot_file_system.pyD03-May-20241.8 KiB5437

chroot_file_system_test.pyD03-May-20243.6 KiB10385

compiled_file_system.pyD03-May-20249.6 KiB260196

compiled_file_system_test.pyD03-May-20248.9 KiB218176

content_provider.pyD03-May-20243.1 KiB9367

content_provider_test.pyD03-May-20244.4 KiB131105

content_providers.pyD03-May-20244.6 KiB11999

content_providers_test.pyD03-May-20245.6 KiB189161

converter_html_parser.pyD03-May-20241.7 KiB5944

cron.yamlD03-May-2024109 65

cron_servlet.pyD03-May-202411.5 KiB295214

cron_servlet_test.pyD03-May-20249.3 KiB239177

data_source.pyD03-May-20241.2 KiB3323

data_source_registry.pyD03-May-20241.3 KiB3626

datastore_models.pyD03-May-20241.2 KiB3620

directory_zipper.pyD03-May-20242.2 KiB5536

directory_zipper_test.pyD03-May-20241.8 KiB5640

docs_server_utils.pyD03-May-20241.3 KiB4535

document_parser.pyD03-May-20247.4 KiB222157

document_parser_test.pyD03-May-20248.3 KiB258189

document_renderer.pyD03-May-20241.6 KiB3522

document_renderer_test.pyD03-May-20242.3 KiB7246

empty_dir_file_system.pyD03-May-2024915 3021

environment.pyD03-May-2024507 2310

extensions_paths.pyD03-May-2024993 3318

fail_on_access_file_system.pyD03-May-2024406 124

fake_fetchers.pyD03-May-20244.4 KiB149104

fake_url_fetcher.pyD03-May-20244.3 KiB145114

features_bundle.pyD03-May-20244.2 KiB11188

features_bundle_test.pyD03-May-20246.9 KiB266250

features_utility.pyD03-May-20244.1 KiB11281

features_utility_test.pyD03-May-20242.6 KiB11799

file_system.pyD03-May-20244.2 KiB141102

file_system_test.pyD03-May-20241.8 KiB7458

file_system_util.pyD03-May-2024534 159

future.pyD03-May-20241.3 KiB4937

future_test.pyD03-May-20241.9 KiB7557

github_file_system.pyD03-May-20247.4 KiB211175

github_file_system_provider.pyD03-May-20241.6 KiB4127

github_file_system_test.pyD03-May-20241.6 KiB4935

handler.pyD03-May-20241.1 KiB3627

handler_test.pyD03-May-2024564 2312

host_file_system_iterator.pyD03-May-20241.5 KiB3828

host_file_system_iterator_test.pyD03-May-20247.6 KiB181132

host_file_system_provider.pyD03-May-20244.7 KiB11398

host_file_system_provider_test.pyD03-May-20241.7 KiB4933

instance_servlet.pyD03-May-20243.4 KiB7557

instance_servlet_test.pyD03-May-20242.1 KiB5338

integration_test.pyD03-May-20248.3 KiB219167

intro_data_source.pyD03-May-20242.1 KiB6041

intro_data_source_test.pyD03-May-20241.1 KiB3421

known_broken_links.jsonD03-May-202441.3 KiB2,0302,030

link_converter.pyD03-May-20242.9 KiB8871

link_error_detector.pyD03-May-202410 KiB305234

link_error_detector_test.pyD03-May-20243 KiB9175

local_file_system.pyD03-May-20242.8 KiB9272

local_file_system_test.pyD03-May-20241 KiB3726

local_renderer.pyD03-May-2024655 2114

manifest_data_source.pyD03-May-20244.8 KiB138111

manifest_data_source_test.pyD03-May-20246.2 KiB296271

manifest_features.pyD03-May-20241.6 KiB4533

manifest_features_test.pyD03-May-20241.1 KiB5645

memcache_object_store.pyD03-May-20241.2 KiB3824

mock_file_system.pyD03-May-20244.1 KiB12997

mock_file_system_test.pyD03-May-20244.6 KiB146123

mock_function.pyD03-May-20241 KiB4128

mock_function_test.pyD03-May-20241.2 KiB4226

new_github_file_system.pyD03-May-202410.8 KiB291226

new_github_file_system_test.pyD03-May-20249.6 KiB272199

object_store.pyD03-May-20241.4 KiB4936

object_store_creator.pyD03-May-20243.2 KiB8157

object_store_creator_test.pyD03-May-20241.9 KiB5540

offline_file_system.pyD03-May-2024848 2616

patch_servlet.pyD03-May-20244.6 KiB11783

patch_servlet_test.pyD03-May-20246.7 KiB171123

patched_file_system.pyD03-May-20245.9 KiB169134

patched_file_system_test.pyD03-May-20246.5 KiB201155

patcher.pyD03-May-20241 KiB2921

path_canonicalizer.pyD03-May-20244.4 KiB11172

path_canonicalizer_test.pyD03-May-20243.5 KiB8665

permissions_data_source.pyD03-May-20243.4 KiB9169

permissions_data_source_test.pyD03-May-20244.8 KiB174132

persistent_object_store.pyD03-May-20241.7 KiB5136

persistent_object_store_test.pyD03-May-20241.7 KiB4128

preview.pyD03-May-20243.5 KiB10967

redirector.pyD03-May-20242.2 KiB7053

redirector_test.pyD03-May-20243.3 KiB11088

reference_resolver.pyD03-May-20247.6 KiB216165

reference_resolver_test.pyD03-May-20248.2 KiB217193

render_servlet.pyD03-May-20244.4 KiB11481

render_servlet_test.pyD03-May-20244.5 KiB12191

rietveld_patcher.pyD03-May-20244.9 KiB156123

rietveld_patcher_test.pyD03-May-20242.7 KiB8255

robots.txtD03-May-202451 43

samples_data_source.pyD03-May-20249.6 KiB253214

samples_data_source_test.pyD03-May-20241 KiB3523

schema_util.pyD03-May-20243.5 KiB12090

schema_util_test.pyD03-May-20244 KiB210189

server_instance.pyD03-May-20247.2 KiB191154

servlet.pyD03-May-20243.4 KiB135104

sidenav_data_source.pyD03-May-20243 KiB9172

sidenav_data_source_test.pyD03-May-20244.6 KiB164129

start_dev_server.pyD03-May-2024915 3523

strings_data_source.pyD03-May-2024895 3019

subversion_file_system.pyD03-May-20247.4 KiB205150

subversion_file_system_test.pyD03-May-20245 KiB133106

table_of_contents_renderer.pyD03-May-20242 KiB5744

template_data_source.pyD03-May-20241.1 KiB3522

template_data_source_test.pyD03-May-20242.1 KiB6145

template_renderer.pyD03-May-20242 KiB5543

template_renderer_test.pyD03-May-2024918 3117

test_branch_utility.pyD03-May-20242.2 KiB6852

test_file_system.pyD03-May-20243.7 KiB13097

test_file_system_test.pyD03-May-20246.4 KiB156130

test_object_store.pyD03-May-20242 KiB6748

test_object_store_test.pyD03-May-20241.5 KiB4434

test_patcher.pyD03-May-20241 KiB3625

test_servlet.pyD03-May-20242.7 KiB7457

test_servlet_test.pyD03-May-20241.4 KiB4023

test_util.pyD03-May-20241.5 KiB6342

timer.pyD03-May-20241.7 KiB5946

update_server.pyD03-May-20242 KiB6252

url_constants.pyD03-May-2024853 1712

README

1--------
2Overview
3
4This is a Google App Engine server which serves the documentation for Chrome
5apps and extensions. At time of this writing, the primary URL is:
6http://developer.chrome.com/.
7
8
9---------------------
10Developing the Server
11
12You shouldn't need app engine locally to develop the server, preview.py should
13be sufficient. If for some reason you want to test against the app engine SDK:
14
15  1. Download the python Google App Engine SDK from:
16     https://developers.google.com/appengine/downloads
17
18  2. Run './start_dev_server.py <path/to/dev_appserver.py>'
19     (dev_appserver.py is part of the App Engine)
20
21  3. View docs at http://localhost:8080/(apps|extensions)/<doc_name>
22
23
24--------------------
25Deploying the Server
26
27You will need to have access to the http://chrome-apps-doc.appspot.com app.
28Contact aa@chromium.org, erikkay@chromium.org, miket@chromium.org,
29kalman@chromium.org, or ernestd@chromium.org to obtain access.
30
31Once you have access:
32
331. Increment the version in app.yaml so we can roll back if the update breaks.
34
352. Run build_server.py. This copies some depenencies from /third_party into the
36   server directory so that they get uploaded to App Engine.
37
383. Run appcfg.py (supplied with the App Engine SDK) to upload the server code:
39
40    appcfg.py update .
41
424. When prompted for your credentials, enter the information for the account
43   that has access to the production app.
44
455. Go to http://www.appspot.com, select the docs project, click "versions" in
46   the sidebar, and make the version you just deployed the "default" version.
47
48   If you get an error about too many versions when deploying, go into this
49   view and delete the version which was deployed the longest time ago.  Then
50   try to deploy again.
51