OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """AppEngine scripts to manage the chromium tree status. | 5 """AppEngine scripts to manage the chromium tree status. |
6 | 6 |
7 Logged in people with a @chromium.org email can change the status that | 7 Logged in people with a @chromium.org email can change the status that |
8 appears on the waterfall page. The previous status are kept in the | 8 appears on the waterfall page. The previous status are kept in the |
9 database and the last 100 topics. | 9 database and the last 100 topics. |
10 """ | 10 """ |
(...skipping 22 matching lines...) Expand all Loading... |
33 # Application configuration. | 33 # Application configuration. |
34 URLS = [ | 34 URLS = [ |
35 ('/', status.MainPage), | 35 ('/', status.MainPage), |
36 ('/([^/]+\.(?:gif|png|jpg|ico))', static_blobs.ServeHandler), | 36 ('/([^/]+\.(?:gif|png|jpg|ico))', static_blobs.ServeHandler), |
37 ('/_ah/xmpp/message/chat/', xmpp.XMPPHandler), | 37 ('/_ah/xmpp/message/chat/', xmpp.XMPPHandler), |
38 ('/_ah/warmup', Warmup), | 38 ('/_ah/warmup', Warmup), |
39 ('/allstatus/?', status.AllStatusPage), | 39 ('/allstatus/?', status.AllStatusPage), |
40 ('/breakpad/?', breakpad.BreakPad), | 40 ('/breakpad/?', breakpad.BreakPad), |
41 ('/cq/receiver/?', commit_queue.Receiver), | 41 ('/cq/receiver/?', commit_queue.Receiver), |
42 ('/cq/?', commit_queue.Summary), | 42 ('/cq/?', commit_queue.Summary), |
| 43 ('/cq/top', commit_queue.TopScore), |
43 ('/cq/([^/]+)/?', commit_queue.User), | 44 ('/cq/([^/]+)/?', commit_queue.User), |
44 ('/cq/([^/]+)/(\d+)/?', commit_queue.Issue), | 45 ('/cq/([^/]+)/(\d+)/?', commit_queue.Issue), |
45 ('/cq/([^/]+)/(\d+)/(\d+)/?', commit_queue.Issue), | 46 ('/cq/([^/]+)/(\d+)/(\d+)/?', commit_queue.Issue), |
46 ('/current/?', status.CurrentPage), | 47 ('/current/?', status.CurrentPage), |
47 ('/lkgr/?', lkgr.LastKnownGoodRevision), | 48 ('/lkgr/?', lkgr.LastKnownGoodRevision), |
48 ('/login/?', login.Login), | 49 ('/login/?', login.Login), |
49 ('/profiling/?', profiling.Profiling), | 50 ('/profiling/?', profiling.Profiling), |
50 ('/recent-events/?', event_push.RecentEvents), | 51 ('/recent-events/?', event_push.RecentEvents), |
51 ('/restricted/breakpad/cleanup/?', breakpad.Cleanup), | 52 ('/restricted/breakpad/cleanup/?', breakpad.Cleanup), |
52 ('/restricted/breakpad/im/?', breakpad.SendIM), | 53 ('/restricted/breakpad/im/?', breakpad.SendIM), |
(...skipping 12 matching lines...) Expand all Loading... |
65 APPLICATION = webapp.WSGIApplication(URLS, debug=True) | 66 APPLICATION = webapp.WSGIApplication(URLS, debug=True) |
66 | 67 |
67 | 68 |
68 # Do some one-time initializations. | 69 # Do some one-time initializations. |
69 base_page.bootstrap() | 70 base_page.bootstrap() |
70 breakpad.bootstrap() | 71 breakpad.bootstrap() |
71 commit_queue.bootstrap() | 72 commit_queue.bootstrap() |
72 lkgr.bootstrap() | 73 lkgr.bootstrap() |
73 status.bootstrap() | 74 status.bootstrap() |
74 utils.bootstrap() | 75 utils.bootstrap() |
OLD | NEW |