From 61d1bdfbf6eb96e5ef31882505dec382b28d9d2a Mon Sep 17 00:00:00 2001 From: morganamilo Date: Fri, 27 Dec 2024 09:42:49 +0000 Subject: [PATCH] Fix wrong URLPath in packages-meta-ext-v1.json The code generating this file was using package name instead of package base. This then lead goaurrpc to consume this and forward the issue to RPC info requests. --- aurweb/scripts/mkpkglists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aurweb/scripts/mkpkglists.py b/aurweb/scripts/mkpkglists.py index d85a79b9..0758aa4b 100755 --- a/aurweb/scripts/mkpkglists.py +++ b/aurweb/scripts/mkpkglists.py @@ -267,7 +267,7 @@ def _main(): # Construct our result JSON dictionary. item = as_dict(result) - item["URLPath"] = snapshot_uri % result.Name + item["URLPath"] = snapshot_uri % result.PackageBase # We stream out package json objects line per line, so # we also need to include the ',' character at the end