public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [flatpaks/flatpak-runtime] f45: Fix the app reports for the current Flathub
@ 2026-09-11 14:42 Tomas Popela
  0 siblings, 0 replies; only message in thread
From: Tomas Popela @ 2026-09-11 14:42 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : flatpaks/flatpak-runtime
            Branch : f45
            Commit : fb262f422e7496f0f55a3ec66d940c2e4d7c4927
            Author : Tomas Popela <tpopela@redhat.com>
            Date   : 2022-07-18T08:51:28+02:00
            Stats  : +7/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/fb262f422e7496f0f55a3ec66d940c2e4d7c4927?branch=f45

            Log:
            Fix the app reports for the current Flathub

There were more applications associated with the
https://www.chocolate-doom.org/ website. Also add some hits
for anyone else who will hit this in the future.

---
diff --git a/tools/generate-app-reports.py b/tools/generate-app-reports.py
index 48d7ca5..081c820 100755
--- a/tools/generate-app-reports.py
+++ b/tools/generate-app-reports.py
@@ -197,10 +197,16 @@ for app in iterate_apps(flathub_store):
             continue
 
     name_app = name_to_application.get(name, None)
-    if homepage != 'http://elementary.io/' and homepage != "http://www.w1hkj.com":
+    # Exceptions for homepages that have more than one Flatpak application associated.
+    if homepage != 'http://elementary.io/' and homepage != "http://www.w1hkj.com" and \
+       homepage != 'https://www.chocolate-doom.org/':
         homepage_app = homepage_to_application.get(homepage, None)
 
     if name_app is not None and homepage_app is not None:
+        if name_app is not homepage_app:
+            print("Please check whether there are more Flatpaks associated with the \"", homepage, \
+                  "\" homepage (by inspecting out/fedora-appstream.xml.gz). If yes, " \
+                  "please add an exception into tools/generate-app-reports.py.", file=sys.stderr)
         assert name_app is homepage_app
     if name_app is not None:
         a = name_app

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-11 14:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 14:42 [flatpaks/flatpak-runtime] f45: Fix the app reports for the current Flathub Tomas Popela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox