Application missing release information
Feature request
- Platform: Linux
- OS version: Flatpak/Flathub
- Distribution channel : Flatpak/Flathub
Steps to reproduce (STR)
Applications missing release information #273 (closed)
https://github.com/flathub/flathub/issues/273
Source for future reference:
#!/usr/bin/env python3
from os import path
from gi.repository import GLib, Gio
from gi.repository import AppStreamGlib as As
store = As.Store()
appstream_path = path.join(GLib.get_user_data_dir(), 'flatpak', 'appstream',
'flathub', 'x86_64', 'active', 'appstream.xml.gz')
store.from_file(Gio.File.new_for_path(appstream_path))
bad_apps = sorted(app.get_id_filename() for app in store.get_apps()
if not app.get_release_default() and app.get_kind() == As.AppKind.DESKTOP)
for app in bad_apps:
print('- [ ] ' + app)
Thank you