-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yaml
203 lines (171 loc) · 5.41 KB
/
app.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
# Copyright 2009 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the 'License')
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an 'AS IS' BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Author [email protected] (Lindsey Simon)
application: ua-profiler
version: 21
runtime: python
#threadsafe: no
api_version: 1
builtins:
- remote_api: on
- appstats: off
# Magic skip configuration, do not edit.
skip_files: |
^(.*/)?(
(index\.yaml)|
(#.*#)|
(.*~)|
(.*\.py[co])|
(.*/RCS/.*)|
(\..*)|
(BUILD)|
(Makefile)|
(.*/closure-.*)|
(.*/tools/.*)|
(.*/django/contrib/admin.*)|
(.*/django/contrib/auth.*)|
(.*/django/contrib/databrowse.*)|
(.*/django/test/.*)|
(.*/django/bin/.*)|
(.*/django/oldforms/.*)|
(bin/.*)|
)$
handlers:
- url: /mapreduce(/.*)?
script: mapreduce/main.py
# Static: Gaebar
- url: /gaebar/static
login: admin
static_dir: third_party/gaebar/static
# GAEUnit Testing
- url: /test.*
login: admin
script: gaeunit.py
# Admin/Cron/Task Queue
- url: /(admin|cron).*
login: admin
script: main.py
# Static Mode files.
- url: /static_mode
static_dir: static_mode
# Static files in categories.
# - url: /(.+)/static/(.*)
# static_files: categories/\1/static/\2
# upload: /categories/static/.*
# expiration: '3650d'
- url: /uaparser/js_override
static_files: third_party/uaparser/resources/user_agent_overrides.js
upload: /uaparser/js_override
#TODO(elsigh): tmp fix????
#http://code.google.com/p/browserscope/issues/detail?id=34
- url: /richtext/static
static_dir: categories/richtext/static
expiration: '3650d'
- url: /richtext2/static
static_dir: categories/richtext2/static
expiration: '3650d'
- url: /selectors/static
static_dir: categories/selectors/static
expiration: '3650d'
- url: /network/static
static_dir: categories/network/static
expiration: '3650d'
- url: /reflow/static
static_dir: categories/reflow/static
expiration: '3650d'
- url: /security/static
static_dir: categories/security/static
expiration: '3650d'
- url: /html5/static
static_dir: categories/html5/static
expiration: '3650d'
- url: /jskb/static
static_dir: categories/jskb/static
expiration: '3650d'
- url: /history/static
static_dir: categories/history/static
- url: /favicon\.ico
static_files: static/img/favicon.ico
upload: static/img/favicon.ico
expiration: '3650d'
- url: /humans\.txt
static_files: static/humans.txt
upload: static/humans.txt
- url: /robots\.txt
static_files: static/robots.txt
upload: static/robots.txt
- url: /static
static_dir: static
expiration: '3650d'
# Static files used for Acid3 tests
# Each of the following files requires a specific content-type.
# Based on the files served from http://acid3.acidtests.org
- url: /acid3/acid3.html
static_files: categories/acid3/static/acid3.html
upload: categories/acid3/static/acid3.html
- url: /acid3/empty.css
static_files: categories/acid3/static/empty.css
upload: categories/acid3/static/empty.css
mime_type: text/html
- url: /acid3/empty.xml
static_files: categories/acid3/static/empty.xml
upload: categories/acid3/static/empty.xml
mime_type: application/xml;charset=utf-8
- url: /acid3/empty(.*)
static_files: categories/acid3/static/empty\1
upload: categories/acid3/static/empty.*
- url: /acid3/font.ttf
static_files: categories/acid3/static/font.ttf
upload: categories/acid3/static/font.ttf
mime_type: application/x-truetype-font
- url: /acid3/font.svg
static_files: categories/acid3/static/font.svg
upload: categories/acid3/static/font.svg
mime_type: image/svg+xml
# Unlike other static files with specific content type, support-a.png needs to
# be served with status code 404, so it's handled by acid3/handlers.py
- url: /acid3/support-b.png
static_files: categories/acid3/static/support-b.png
upload: categories/acid3/static/support-b.png
mime_type: text/html
- url: /acid3/support-c.png
static_files: categories/acid3/static/support-c.png
upload: categories/acid3/static/support-c.png
- url: /acid3/svg.xml
static_files: categories/acid3/static/svg.xml
upload: categories/acid3/static/svg.xml
mime_type: image/svg+xml
- url: /acid3/svg.xml
static_files: categories/acid3/static/svg.xml
upload: categories/acid3/static/svg.xml
mime_type: image/svg+xml
- url: /acid3/xhtml(.*)
static_files: categories/acid3/static/xhtml\1
upload: categories/acid3/static/xhtml.*
mime_type: text/xml
- url: /acid3/reference(.*)
static_files: categories/acid3/static/reference\1
upload: categories/acid3/static/reference.*
# SunSpider & V8 files
- url: /(sunspider|v8)/(.*).(js|css|png|html)
static_files: categories/\1/static/\2.\3
upload: categories/(sunspider|v8)/static/.*
# Deferred Handler.
- url: /_ah/queue/deferred
script: $PYTHON_LIB/google/appengine/ext/deferred/handler.py
login: admin
# Map anything that doesn't match to our Django bootstrapper.
- url: /.*
script: main.py