diff --git a/app/app.py b/app/app.py index 4c05cd8..e9be9a7 100644 --- a/app/app.py +++ b/app/app.py @@ -22,18 +22,6 @@ def sort_test_results(results): def index(): return render_template('index.html') -@main.route('/applist_history') -def applist_history(): - data = json.loads(open("./app/scripts/appListsHistory/count_history.json").read()) - return render_template('applist_history.html', data=data) - -@main.route('/apps.rss') -def apps_rss(): - file_ = open("./app/scripts/appListsHistory/atom.xml").read() - response = make_response(file_) - response.headers['Content-Type'] = 'application/rss+xml' - return response - @main.route('/pullrequests') def pullrequests(): @@ -50,6 +38,10 @@ def pullrequests(): return render_template("pullrequests.html", prs=prs, count_by_team=count_by_team) +# +# Apps CI +# + @main.route('/appci/branch/') def appci_branch(branch): @@ -133,3 +125,21 @@ def badge(app): return response +# +# Apps observatory +# + +@main.route('/applist_history') +@main.route('/appsobservatory/history') +def appsobservatory_history(): + data = json.loads(open("./app/scripts/appListsHistory/count_history.json").read()) + return render_template('applist_history.html', data=data) + + +@main.route('/appsobservatory/rss') +def appsobservatory_rss(): + file_ = open("./app/scripts/appListsHistory/atom.xml").read() + response = make_response(file_) + response.headers['Content-Type'] = 'application/rss+xml' + return response + diff --git a/app/templates/base.html b/app/templates/base.html index bdac03f..10cc7b9 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -40,8 +40,13 @@ Stable vs. ARM Stable vs. Testing Stable vs. Stretch - - Apps list history graph + + +