comparison repo_github_status.py @ 20:b59912649fc4

rewrite local hg scanner
author drewp@bigasterisk.com
date Sun, 09 Jan 2022 20:47:57 -0800
parents 5751ef191454
children cb71722bb75c
comparison
equal deleted inserted replaced
19:5751ef191454 20:b59912649fc4
181 class Application(cyclone.web.Application): 181 class Application(cyclone.web.Application):
182 182
183 def __init__(self): 183 def __init__(self):
184 handlers = [ 184 handlers = [
185 (r"/()", Index), 185 (r"/()", Index),
186 (r'/graph/localRepos', CycloneGraphHandler, { 186 (r'/graph/githubRepos', CycloneGraphHandler, {
187 'masterGraph': graph 187 'masterGraph': graph
188 }), 188 }),
189 (r'/graph/localRepos/events', CycloneGraphEventsHandler, { 189 (r'/graph/githubRepos/events', CycloneGraphEventsHandler, {
190 'masterGraph': graph, 190 'masterGraph': graph,
191 }), 191 }),
192 (r'/metrics', Metrics), 192 (r'/metrics', Metrics),
193 ] 193 ]
194 cyclone.web.Application.__init__( 194 cyclone.web.Application.__init__(