archive_eol: Lowercase everything before passing to GitHub

GH is case insensitive but ref IDs aren't so if a rename was EOL-ed
eg. `org.gnome.chess` -> `org.gnome.Chess` and the exclusion had
only one of them, the repo would still get EOL-ed as both resolves
to the same github repo
This commit is contained in:
bbhtt
2025-07-02 08:52:36 +05:30
parent de20eea7ff
commit 59dccb1d13

View File

@@ -126,7 +126,7 @@ def main() -> None:
beta = get_eol_refs("x86_64", "flathub-beta") | get_eol_refs(
"aarch64", "flathub-beta"
)
eols = list((stable | beta) - excludes)
eols = {x.lower() for x in (stable | beta)} - {x.lower() for x in excludes}
if not eols:
return