public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tomas Popela <tpopela@redhat.com>
To: git-commits@fedoraproject.org
Subject: [flatpaks/flatpak-runtime] f45: Fix the app reports for the current Flathub
Date: Fri, 11 Sep 2026 14:42:05 GMT	[thread overview]
Message-ID: <178913772549.1.17951705453790037005.flatpaks-flatpak-runtime-fb262f422e74@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-09-11 14:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178913772549.1.17951705453790037005.flatpaks-flatpak-runtime-fb262f422e74@fedoraproject.org \
    --to=tpopela@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox