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

[Question] Is it possible to specify the repository by the URI? #418

Closed
CleoMenezesJr opened this issue Jul 14, 2022 · 4 comments
Closed

Comments

@CleoMenezesJr
Copy link

Today, the center software deal with various repositories. For example: Flatpaks. I can have Flathub, Flathub-beta, GNOME-nightly etc. Is there any way to inform this to Software Center? Something appstream:io.neovim.nvim/flathub.

@JakobDev
Copy link
Contributor

This is not possible. The idea is to provide the Link to the Suer and the default Software Center will open with the App, no matter what the Installation method is. On most Software centres you can switch between the installation method, if there more than one for a App.

Having a Repo would make no sense. If the User uses Fedora, but you have set Ubuntu as Repo, it will not work. It will also not work, when you set snap as Repo and the System has no Snap. Even with Flathub, it would only work, when the Repo is added.

You can also not ensure that Flathub is always available. Some Distros (e.g. elementaryOS) use Flatpaks but have a own Repo. and Flathub is not available by default. So if a User clicks on a appstream:org.mozilla.firefox/flathub link, it will not work, until the User has added the Flathub remote manually. appstream:org.mozilla.firefox however will always work, since Firefox is in every Distro Repo.

Remotes like Flathub Beta, Gnome nightly etc. are not present in any Distro by default and needs to added manually. For Flatpak it would be the best to add a new flatpak: URI which also contains a Link to the Repo, so it will work on all Systems that have Flatpak installed. This would also fix the broken Install Button on Flathub.

@ximion
Copy link
Owner

ximion commented Jul 14, 2022

Exactly what @JakobDev said :-)

@ximion ximion closed this as completed Jul 14, 2022
@CleoMenezesJr
Copy link
Author

Thx @JakobDev @ximion

That's what I thought, but I preferred to ask and clear this doubt.

@ximion
Copy link
Owner

ximion commented Jul 14, 2022

If you have any further questions feel free to ask, and if you have any documentation improvements in mind, feel free to file a PR for it :-)

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

No branches or pull requests

3 participants