Jguer / yay

Yet another Yogurt - An AUR Helper written in Go
GNU General Public License v3.0
10.64k stars 349 forks source link

Flathub #2327

Open ben2talk opened 7 months ago

ben2talk commented 7 months ago

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.

Waddya want?

Yay-paru-pamac search 'plex'.

  1. plex-media-server
  2. Plex-HTPC

yay-paru-pamac

SlouchyButton commented 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.

Jguer commented 7 months ago

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

ben2talk commented 7 months ago

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...).