flattool/warehouse

Feature Request: Additional filter for verified package authors/owners

Opened this issue · 3 comments

  • My proposal does not exist in the PLANNED & NOT PLANNED.md document
  • I have not found any other opened issues on the same feature request
  • I believe this fits within Warehouse's scope of Flatpak management

Describe the feature idea in detail

Flathub has recently added the blue verified icon to indicate when a Flathub package is owned by the owner/author of the packaged application. I would love to see:

  1. The blue verified icon next to the package name for those packages with verified owners
  2. A filter checkbox to filter based on which package has or has not been verified.

If needed, provide any screenshots, mockups, or other items to help illustrate your point

Hello, to my knowledge I don't think I can filter by that. Through the Flatpak CLI, there doesn't appear to be a way to do such filtering, as that information isn't exposed. I think it's available through PackageKit, but that is an entirely different beast than what I'm working with.

You need to read the AppStream Collection to know if a App is verified. Here is a simple example using appstream-python:

import appstream_python
collection = appstream_python.AppstreamCollection()
collection.load_compressed_appstream_collection("/var/lib/flatpak/appstream/flathub/x86_64/active/appstream.xml.gz")
component = collection.get_component("io.github.flattool.Warehouse.desktop")
verified = component.custom.get("flathub::verification::verified") == "true"
print(verified)

Subsets allow this : https://docs.flathub.org/docs/for-users/installation

I just found out, for example, that Geany isn't an official FP.

The post from the Dev and I was summarily dismissed.