summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2024-01-09 12:24:18 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2024-01-09 12:24:18 +0100
commit5257c82e926805765dcee706bbb87b9a155e3c59 (patch)
treec14b0c08bc0ea67250fee6527ff5c7fca951c696
parentc697d354a9e8fba08caed6c9dfb183f56c2539e5 (diff)
Add README with dependencies
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
-rw-r--r--README5
-rw-r--r--app.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..41a55d4
--- /dev/null
+++ b/README
@@ -0,0 +1,5 @@
+Dependencies:
+* libjs-bootstrap
+* libjs-jquery
+* python3-flask
+* python3-launchpadlib
diff --git a/app.py b/app.py
index 748210b..d797758 100644
--- a/app.py
+++ b/app.py
@@ -115,7 +115,7 @@ def human_sec(secs: int) -> str:
@app.route("/<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}"
+ autopkgtest_url_base = f"https://autopkgtest.ubuntu.com/results/autopkgtest-{RELEASE}-{LPUSER}-{PPA}/"
data = json.loads(urlopen(f"{autopkgtest_url_base}?format=json").read())
# Use the prefix as index