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]: expose verified/unverified status in CLI #5757

Open
2 tasks done
cassidyjames opened this issue Mar 28, 2024 · 2 comments
Open
2 tasks done

[Feature request]: expose verified/unverified status in CLI #5757

cassidyjames opened this issue Mar 28, 2024 · 2 comments

Comments

@cassidyjames
Copy link

Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Suggestion

I'm admittedly not 100% sure how the verified status of an app from Flathub is exposed to the Flatpak CLI, but a user requested the Flatpak CLI could show whether apps are verified/unverified, similar to what GNOME Software does.

I figured I'd at least file this for discussion in case it could be implemented!

@chrisawi
Copy link
Collaborator

GNOME Software reads flathub::verification::verified from the appstream metadata. I'm not sure adding that to flatpak itself would be appropriate, at least as long as it's Flathub-specific.

Verification is currently only exposed in the flatpak CLI via subsets. You can either restrict Flathub to the verified subset with flatpak remote-modify, or add a second remote named e.g. flathub-verified with that subset set. In that case, you know if an app is verified if flatpak offers to install it from that remote. Clearly, both options have downsides.

It occurred to me that a generic solution would be to present the subset membership for each app. As it turns out, there's an existing request for that (#5320) and even an implementation in a branch from @TingPing.

It seems reasonable to also present that in flatpak install.

@cassidyjames
Copy link
Author

@chrisawi ah, that makes sense as a generic implementation for Flatpak—thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants