Bug 27620 - Enable Flathub by default for Flatpak
Summary: Enable Flathub by default for Flatpak
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-17 09:57 CET by Omer I.S.
Modified: 2021-02-13 09:38 CET (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Omer I.S. 2020-11-17 09:57:48 CET
Please include Flatpak media source by default in Mageia.
Comment 1 Aurelien Oudelet 2020-11-17 10:13:07 CET
Hi, thanks requesting an improvement to Mageia.

I agree that the community managed flathub repo is not integrated by default in Mageia.

Moreover, the spec file for building flatpak explicitly set an empty system-wide remote repo.
But, to circumvent this, please use a GUI portal like Discover in Plasma that it has a toggle in "Configuration" to set "flathub" as user repo.

We can't support it in rpmdrake nor in urpmi to manage flatpak.


@Olav, can we support to integrate Out-of-the-box flathub repo in our default installation of flatpak?

CC: (none) => olav

Aurelien Oudelet 2020-11-17 10:26:54 CET

CC: (none) => ouaurelien

Omer I.S. 2020-11-17 11:05:06 CET

CC: (none) => omeritzicschwartz

David Walser 2020-11-17 15:50:47 CET

CC: (none) => ngompa13

Comment 2 Neal Gompa 2020-11-24 19:39:28 CET
I am not convinced it's a good idea to enable Flathub out of the box, but if there's no terribly strong objections against it, I *could* do it.

Summary: Include Flatpak by default => Enable Flathub by default for Flatpak

Comment 3 Aurelien Oudelet 2020-11-26 16:39:44 CET
(In reply to Neal Gompa from comment #2)
> I am not convinced it's a good idea to enable Flathub out of the box, but if
> there's no terribly strong objections against it, I *could* do it.

As long as Discover opens his main window with a "Featured Applications" page, it relies on flathub repository.
Please also see:
https://bugs.mageia.org/show_bug.cgi?id=27647

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=27647

Comment 4 Olav Vitters 2020-11-27 11:58:27 CET
Probably best to discuss this on dev mailing list? gnome-software seems to prefer flatpaks over regular packages. That's a bit annoying. It seems fine to me to enable, there's various bits on Flathub that isn't in Mageia but overlook something someone else might know. And once you use loads of Flathub apps the space requirement isn't that crazy anyway. 

It's also good to point out the things that do not work nicely because Flathub isn't enabled, e.g. the main window of Discover relying on Flathub.
Comment 5 Aurelien Oudelet 2021-01-28 22:22:51 CET
After several tests,

Discover and Gnome-software do really prefer flatpak over RPMS.
So this is a no go.

The main window of Discover is too integrated to display flathub apps. But, even if flathub is enabled, it remains broken on last M8RC.

So, the preferably solution is to add a wiki page and document how to add flathub to such software.

Keywords: (none) => FOR_RELEASENOTES8
Status: NEW => RESOLVED
Resolution: (none) => WONTFIX

Comment 6 Morgan Leijström 2021-02-10 20:53:57 CET
(In reply to Aurelien Oudelet from comment #5)
> After several tests,
> 
> Discover and Gnome-software do really prefer flatpak over RPMS.
> So this is a no go.

Shit, that is pretty serious i think?
If users that have enabled flatpak repos may install from there instead of from Mageia, not knowing Mageia provide the apps?

This may be worth a bug on itself.

For now, i put it in Errata, with a link to comment#5.


> The main window of Discover is too integrated to display flathub apps. But,
> even if flathub is enabled, it remains broken on last M8RC.

Please elaborate, for Errata.


> So, the preferably solution is to add a wiki page and document how to add
> flathub to such software.

Isnt this enough?
https://wiki.mageia.org/en/Ways_to_install_programs#Flatpak

Keywords: FOR_RELEASENOTES8 => (none)
CC: (none) => fri

Comment 7 Morgan Leijström 2021-02-10 20:54:39 CET
https://wiki.mageia.org/en/Mageia_8_Errata#Flatpak
Comment 8 Aurelien Oudelet 2021-02-10 21:19:42 CET
(In reply to Morgan Leijström from comment #6)
> (In reply to Aurelien Oudelet from comment #5)
> > After several tests,
> > 
> > Discover and Gnome-software do really prefer flatpak over RPMS.
> > So this is a no go.
> 
> Shit, that is pretty serious i think?
> If users that have enabled flatpak repos may install from there instead of
> from Mageia, not knowing Mageia provide the apps?
> 
Yeah I don't know why. Perhaps because my tests were done when DNF repos were not properly set for Mageia 8. But today it is the same. Discover/GNOMe Software uses PackageKit which uses DNF as backend.
> 
> 
> > The main window of Discover is too integrated to display flathub apps. But,
> > even if flathub is enabled, it remains broken on last M8RC.
> 
> Please elaborate, for Errata.

See screenshot in attachment 12014 [details]. As soon as Plasma Discover is installed, try a launch. The main window wants to display Featured Applications and it can't...
This is still broken on M8 RC1 public and with flatpak activated with flathub repo, like it should be... 
> 
> > So, the preferably solution is to add a wiki page and document how to add
> > flathub to such software.
> 
> Isnt this enough?
> https://wiki.mageia.org/en/Ways_to_install_programs#Flatpak
This is OK.
Comment 9 Morgan Leijström 2021-02-13 09:38:31 CET
Spawned Bug 28354 - Plasma Discover and Gnome-software prefer Flatpak over Mageia RPM packages

Note You need to log in before you can comment on or make changes to this bug.