Open cuantar opened 23 hours ago
This patch fixes it. The string "Linux" does not appear in the name
field (that actually is blank in almost all of the release metadata I looked at). Sometimes it is in the "body" field. It is possible that someone changed "Linux" to "non-Windows" at some point. The latest version upstream is 1.20.0
that is picked up by the autogen after this patch.
diff --git a/desktop-kit/curated/app-admin/passwordsafe/autogen.py b/desktop-kit/curated/app-admin/passwordsafe/autogen.py
index b33dad7b8..f075b67b3 100644
--- a/desktop-kit/curated/app-admin/passwordsafe/autogen.py
+++ b/desktop-kit/curated/app-admin/passwordsafe/autogen.py
@@ -9,7 +9,7 @@ async def generate(hub, **pkginfo):
for release in json_list:
if release["prerelease"] or release["draft"]:
continue
- if "Linux" not in release["name"]:
+ if "Linux" not in release["body"]:
continue
version = release["tag_name"]
url = f"https://github.com/pwsafe/pwsafe/archive/{version}.tar.gz"
Output from
merge-kits
:Aside: The text above is an example of the mostly-useless error messages generated by
merge-kits
. In the case of autogens with a generalized generator likegithub-1
, the source of the error is the generator, notautogen.py
with a path which reveals the failing package. Sometimes it can be quite difficult to figure out what has broken. There's another issue about this already.