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

chore(default-flatpaks): Add safe-check for FlatHub flatpak IDs #281

Merged
merged 5 commits into from
Jul 20, 2024
Merged

chore(default-flatpaks): Add safe-check for FlatHub flatpak IDs #281

merged 5 commits into from
Jul 20, 2024

Conversation

fiftydinar
Copy link
Collaborator

Should avoid issues of users typing ID wrongly, which would fail the whole module on booted system, so nothing would get installed or removed.

Only FlatHub repo is supported as it's the most popular flatpak repo & it's easy to implement safe-check for it.

Should avoid issues of users typing ID wrongly, which would fail the whole module on booted system, so nothing would get installed or removed.

Only FlatHub repo is supported as it's the most popular flatpak repo & it's easy to implement safe-check for it.
@fiftydinar fiftydinar requested a review from xynydev as a code owner July 20, 2024 21:02
@gmpinder
Copy link
Member

So how come only flathub repo is allowed? Is there not an api guarantee for 3rd party flatpak repos?

@fiftydinar
Copy link
Collaborator Author

So how come only flathub repo is allowed? Is there not an api guarantee for 3rd party flatpak repos?

Well, this is the only way I thought of verifying flatpak IDs. I am not aware of any standardized way of doing this for all remotes.

@gmpinder
Copy link
Member

gmpinder commented Jul 20, 2024

Well, this is the only way I thought of verifying flatpak IDs. I am not aware of any standardized way of doing this for all remotes.

Ok, I'm fine with this. If we could possibly expand on this later that would be great, but I think what you have here is a great start that will help the majority of users

@fiftydinar fiftydinar merged commit 6d4597e into blue-build:main Jul 20, 2024
@fiftydinar fiftydinar deleted the flatpak-id-check branch July 20, 2024 21:40
@xynydev
Copy link
Member

xynydev commented Jul 21, 2024

🎉

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

Successfully merging this pull request may close these issues.

3 participants