Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Additional filter for verified package authors/owners #111

Open
3 tasks
meeas opened this issue Apr 2, 2024 · 3 comments
Open
3 tasks
Labels
enhancement New feature or request

Comments

@meeas
Copy link

meeas commented Apr 2, 2024

  • 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

@meeas meeas added the enhancement New feature or request label Apr 2, 2024
@heliguy4599
Copy link
Member

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.

@JakobDev
Copy link

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)

@AtomicRobotMan0101
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants