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]: Distribute flatpakref file for easier install #20

Closed
Thesola10 opened this issue Oct 10, 2022 · 3 comments
Closed

[Feature Request]: Distribute flatpakref file for easier install #20

Thesola10 opened this issue Oct 10, 2022 · 3 comments
Labels
new feature Requested feature

Comments

@Thesola10
Copy link

Thesola10 commented Oct 10, 2022

What the feature is suppose to do

A .flatpakref file contains a reference to a Flatpak on a repository, and allows for adding all required repositories in one go. The user experience of a .flatpakref is that it is opened by the app store (GNOME Software, Discover) as the "about page" for the application.

Describe the reason behind the request

This is simpler than the commands listed, and would allow the flatpak to be listed in the Releases page.

Oh, I almost forgot: a flatpakref can contain a signing key, which makes installing the program safer.

@Thesola10 Thesola10 added the new feature Requested feature label Oct 10, 2022
@Thesola10
Copy link
Author

Example .flatpakref for this app:

[Flatpak Ref]
Name=com.gitlab.KRypt0n_.an-anime-game-launcher
Branch=master
Title=An Anime Game Launcher
IsRuntime=false
Url=https://gol.launcher.moe/repo/
SuggestRemoteName=launcher.moe
GPGKey=xxxxx
RuntimeRepo=https://dl.flathub.org/repo/flathub.flatpakrepo

Notice the ability to specify a third-party runtime repo in the same file

@Mar0xy
Copy link
Member

Mar0xy commented Oct 10, 2022

a flatpakref can contain a signing key, which makes installing the program safer.

By default flatpakref files don't contain a signing key the key is provided by the repo file itself unless added in after the fact

as well as easy(ish) downgrade if needed.

This is false as the flatpakref pulls the info from the repo yet again so you still need to figure out stuff yourself to downgrade it by commits.

Here is an example of the flatpakref for the GTK launcher that got generated

image

Overall this would have no benefit besides auto-adding flathub which makes this kind of redundant since no one has complained about this so far.

@Mar0xy Mar0xy closed this as completed Oct 10, 2022
@Thesola10
Copy link
Author

thought it was worth considering from a UX POV

as well as easy(ish) downgrade if needed.

yeah i took that back soz

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

No branches or pull requests

2 participants