summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/app.py b/app.py
index 8edd181..f18f0b0 100644
--- a/app.py
+++ b/app.py
@@ -65,7 +65,7 @@ def index_ppa(ppa_name):
return jsonify(runs)
@app.route("/<LPUSER>/<PPA>/<PACKAGE>/<RELEASE>/<ARCH>")
-def index_toto(LPUSER, PPA, PACKAGE, RELEASE, ARCH):
+def index_results(LPUSER, PPA, PACKAGE, RELEASE, ARCH):
autopkgtest_url_base = f"https://autopkgtest.ubuntu.com/results/autopkgtest-{RELEASE}-{LPUSER}-{PPA}"
data = json.loads(urlopen(f"{autopkgtest_url_base}?format=json").read())
@@ -111,10 +111,10 @@ def index_toto(LPUSER, PPA, PACKAGE, RELEASE, ARCH):
return flask.render_template("browse-results.html",
- package="unattended-upgrades",
+ package=PACKAGE,
release=RELEASE,
arch=ARCH,
package_results=package_results,
- title_suffix="ogayot bionic-proposed unattended-upgrades",
+ title_suffix=f"{LPUSER} {PPA} {PACKAGE}",
base_url="https://autopkgtest.ubuntu.com/",
)