Flatpak: Introduce a new file format to be able to install N apps with one command (my-app-picks.flatpakrefcol)

Created on 5 Oct 2017  路  5Comments  路  Source: flatpak/flatpak

I think a killer feature for flathub.org could be:

  1. A user visits http://flathub.org and looks for multimedia related applications
  2. Once he finds an interesting app, instead of just clicking on the instal button he logs-in and adds the app into an app collection that he calls "multimedia essentials"
  3. The user keeps looking for other multimedia apps and adds them to the collection
  4. Once he is finished he goes to his collection and clicks on a "Install all" button
  5. A multimedia-essentials.flatpakrefcol file is downloaded
  6. GNOME Software opens the file and asks for confirmation to install all apps in the collection

On the command line, the app collection could be installed with this command:
flatpak install --from https://flathub.org/users/jgarciao/collections/multimedia-essentials.flatpakrefcol
In my opinion the users shouldn't have to answer Yes N times to confirm the installation. Once should be enough. Same for root password if required

On flathub, collections could be public or secret, like Github's GISTS, so other users could "star" them and even make comments. This kind of interactions could help make a bigger community of users around flathub. It can be also useful for companies to quickly install a set of tools required in workstations

The flatpakrefcol file coud be just a collection of links to flatpakref files:

[Flatpak Ref Col]
https://flathub.org/repo/appstream/org.gnome.Geary.flatpakref
https://flathub.org/repo/appstream/com.slack.Slack.flatpakref
https://flathub.org/repo/appstream/org.videolan.VLC.flatpakref

What do you think?

Most helpful comment

Please not more file formats. We already have flatpakref, flatpak bundles, and flatpakrepo... I'm struggling as it is.

All 5 comments

I'm not sure i would say this is a killer feature, but it seems like an useful thing. It does complicate all the flatpak appstore implementations though, so needs careful consideration.

Maybe we should not invent a new file format and just use an appstream file to store the user's app picks collection. The field origin (AppStream - Collection MetaData) could the the repo name

Maybe @hughsie @ximion or @aleixpol will be interested in this discussion

Please not more file formats. We already have flatpakref, flatpak bundles, and flatpakrepo... I'm struggling as it is.

I don't think we want to make things any more complicated than they already are. Let users install one app at a time. It works for every other app store out there.

ok. Thanks for your feedback

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rffontenelle picture rffontenelle  路  5Comments

edoantonioco picture edoantonioco  路  3Comments

soredake picture soredake  路  3Comments

LaurentBonnaud picture LaurentBonnaud  路  6Comments

pandaway picture pandaway  路  5Comments