diff options
-rw-r--r-- | app.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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/", ) |