public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [flatpaks/flatpak-runtime] f45: Improve getting Flathub ID from appstream
@ 2026-09-11 14:40 Owen W. Taylor
0 siblings, 0 replies; only message in thread
From: Owen W. Taylor @ 2026-09-11 14:40 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : flatpaks/flatpak-runtime
Branch : f45
Commit : a6b5c5690959d58519d7829eaadf0d86eb0319ae
Author : Owen W. Taylor <otaylor@fishsoup.net>
Date : 2020-03-20T21:51:58+01:00
Stats : +2/-1 in 1 file(s)
URL : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/a6b5c5690959d58519d7829eaadf0d86eb0319ae?branch=f45
Log:
Improve getting Flathub ID from appstream
---
diff --git a/tools/generate-app-reports.py b/tools/generate-app-reports.py
index f8cb0e4..bc9e90c 100755
--- a/tools/generate-app-reports.py
+++ b/tools/generate-app-reports.py
@@ -175,7 +175,8 @@ for app in iterate_apps(fedora_store):
flathub_store = AS.Store()
flathub_store.from_file(Gio.File.new_for_path('out/flathub-appstream.xml.gz'), "", None)
for app in iterate_apps(flathub_store):
- flathub_id = app.get_id()
+ bundle_id = app.get_bundle_default().get_id()
+ prefix, flathub_id, arch, branch = bundle_id.split('/')
name = app.get_name()
description = app.get_description()
homepage = app.get_url_item(AS.UrlKind.HOMEPAGE)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 14:40 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:40 [flatpaks/flatpak-runtime] f45: Improve getting Flathub ID from appstream Owen W. Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox