Open ben2talk opened 7 months ago
I am not sure how fitting would yay be for Flatpak packages. If you use DE it will most certainly provide "store" like app for flatpak installations that will almost certainly include autoupdate feature. For gnome this work extremely well and the setup of managing system packages via yay and flatpak packages via Gnome software (or equivalent) seems pretty reasonable.
Since not everyone is using DE for those people, inclusion of flatpak (and potentially snap) into yay could be of a big help It would make managing packages easier for people that would use terminal for flatpak management anyway.
There is the question of right implementation into yay, since flatpak supports additional features through metainfo files - like screenshots, age rating and safety rating of the application. I feel like showing this information should be supported in yay (excl. the screenshots, as that is probably not viable in CLI) for the same reason showing and modifying PKGBUILD files is supported.
Snap could be supported similarly, but I feel like flatpak should be higher priority since the main target for snap is Ubuntu, which yay does not target anyway and even if it did, it ships with Ubuntu store by default.
I've been thinking and yay's architecture is now closer to accommodating it of allowing source plugins. I don't think flatpak/snap should be included by default but as an installable addon I think it would be a balance between user perceived bloatness and flexibility
I've been thinking and yay's architecture is now closer to accommodating it of allowing source plugins. I don't think flatpak/snap should be included by default but as an installable addon I think it would be a balance between user perceived bloatness and flexibility
This sounds like excellent thinking. Just as I wouldn't want Flatpak or Snapd results in my graphical pamac-manager by default (I enabled Flathub, but god forbid I would do the same with Snapd...).
So what's your forking problem?
I find it frustrating that, when doing a general search, something like Pamac GUI will list all repositories which (if enabled) can include Flatpaks and Snapd if you're that way inclined. Thus, last year
plex-HTPC
showed up in AUR, this year it shows up as a Flatpak.Yay only gets as far as AUR - plex-HTPC disappeared.
As a test, compare a short search 'plex' in pamac-manager with yay.
On a postive note, Yay does have superb ordering of results (better than Paru/Pikaur).
Waddya want?
Personally, I think an option for adding Flatpak to the database would be mind blowing - for others, I'm sure Snapd software should be included just in case.
The alternative is restricting use of yay, and using pamac-manager for discovering stuff and seeing all available repo installations... you know, doing it the Linux way and use different tools for different jobs and not think that yay could take on the superpowers of a 'software centre'.
Yay-paru-pamac search 'plex'.