[websites/apps-kde-org] /: Fix detection of more rare nightly-built platforms

Julius Künzel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit b54eb4f8f0c84d30df42a32ddf2f74e6d0d98ecf by Julius Künzel, on behalf of Dmitry Kazakov.
Committed on 10/08/2026 at 21:50.
Pushed by jlskuz into branch 'master'.

Fix detection of more rare nightly-built platforms

We should also detect MacOS Universal and all the
Android platforms.

M  +8    -0    i18n/en.yaml
M  +12   -0    layouts/partials/app_main_btm_left_btm.html
M  +4    -4    main.py

https://invent.kde.org/websites/apps-kde-org/-/commit/b54eb4f8f0c84d30df42a32ddf2f74e6d0d98ecf

diff --git a/i18n/en.yaml b/i18n/en.yaml
index b25277e..f7b323d 100644
--- a/i18n/en.yaml
+++ b/i18n/en.yaml
@@ -91,6 +91,14 @@ macos-arm:
   other: macOS ARM
 macos-intel:
   other: macOS Intel
+macos-universal:
+  other: macOS Universal
+android-arm64-v8a:
+  other: Android ARM 64-bit
+android-armeabi-v7a:
+  other: Android ARM 32-bit
+android-x86_64:
+  other: Android Intel
 
 # releases and extensions
 releases:
diff --git a/layouts/partials/app_main_btm_left_btm.html b/layouts/partials/app_main_btm_left_btm.html
index 5881c47..895c134 100644
--- a/layouts/partials/app_main_btm_left_btm.html
+++ b/layouts/partials/app_main_btm_left_btm.html
@@ -188,5 +188,17 @@ SPDX-License-Identifier: GPL-3.0-or-later
     {{ if in .Params.ci_builds "macos-x86_64" }}
       <li><a href="https://cdn.kde.org/ci-builds/{{ .Params.repository }}/master/macos-x86_64/">{{ i18n "macos-intel" }}</a></li>
     {{ end }}
+    {{ if in .Params.ci_builds "macos-universal" }}
+      <li><a href="https://cdn.kde.org/ci-builds/{{ .Params.repository }}/master/macos-universal/">{{ i18n "macos-universal" }}</a></li>
+    {{ end }}
+    {{ if in .Params.ci_builds "android-arm64-v8a" }}
+      <li><a href="https://cdn.kde.org/ci-builds/{{ .Params.repository }}/master/android-arm64-v8a/">{{ i18n "android-arm64-v8a" }}</a></li>
+    {{ end }}
+    {{ if in .Params.ci_builds "android-armeabi-v7a" }}
+      <li><a href="https://cdn.kde.org/ci-builds/{{ .Params.repository }}/master/android-armeabi-v7a/">{{ i18n "android-armeabi-v7a" }}</a></li>
+    {{ end }}
+    {{ if in .Params.ci_builds "android-x86_64" }}
+      <li><a href="https://cdn.kde.org/ci-builds/{{ .Params.repository }}/master/android-x86_64/">{{ i18n "android-x86_64" }}</a></li>
+    {{ end }}
   </ul>
 {{ end }}
diff --git a/main.py b/main.py
index 8f280f3..0cafac9 100644
--- a/main.py
+++ b/main.py
@@ -217,7 +217,7 @@ def fetch_ci_builds(repository: str) -> list[str]:
     if repository == "":
         return result
 
-    for platform in ["linux", "windows", "macos-x86_64", "macos-arm64"]:
+    for platform in ["linux", "windows", "macos-x86_64", "macos-arm64", "macos-universal", "android-x86_64", "android-armeabi-v7a", "android-arm64-v8a"]:
         url = f"https://cdn.kde.org/ci-builds/{repository}/master/{platform}/"
         res = requests.get(url)
 
@@ -291,10 +291,10 @@ def prepare_release_data(data: dict):
     for ci_build in data["ci_builds"]:
         if ci_build == "windows":
             platforms.add("windows")
-        elif ci_build == "macos-x86_64":
-            platforms.add("macos")
-        elif ci_build == "macos-arm64":
+        elif ci_build.startswith("macos"):
             platforms.add("macos")
+        elif ci_build.startswith("android"):
+            platforms.add("android")
 
     if latest_development_release:
         data["latestDevelopmentRelease"] = latest_development_release
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.