mirror of
https://github.com/stan220/flathub.git
synced 2026-09-08 17:28:57 +00:00
archive_eol: Handle beta refs too and remove restriction on arches
This commit is contained in:
@@ -118,11 +118,12 @@ def main() -> None:
|
||||
# 3-1.6, 3-18.08 is EOL
|
||||
"org.videolan.VLC.Plugin.fdkaac",
|
||||
}
|
||||
# we need to get apps which are EOL on both supported arches
|
||||
# as there are apps which are only EOL on one arch but maintained
|
||||
# in another. This might miss some refs but LBYL!
|
||||
stable = get_eol_refs("x86_64", "flathub") & get_eol_refs("aarch64", "flathub")
|
||||
eols = list(stable - excludes)
|
||||
|
||||
stable = get_eol_refs("x86_64", "flathub") | get_eol_refs("aarch64", "flathub")
|
||||
beta = get_eol_refs("x86_64", "flathub-beta") | get_eol_refs(
|
||||
"aarch64", "flathub-beta"
|
||||
)
|
||||
eols = list((stable | beta) - excludes)
|
||||
|
||||
if not eols:
|
||||
return
|
||||
|
||||
@@ -23,6 +23,7 @@ jobs:
|
||||
- name: Set up Flathub remotes
|
||||
run: |
|
||||
flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
flatpak remote-add --user --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
|
||||
|
||||
- name: Run EOL script
|
||||
run: python3 .github/scripts/archive_eol.py
|
||||
|
||||
Reference in New Issue
Block a user