You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally, projects can generate per-commit and/or nightly builds for testing, and they are distributed in a similar fashion.
It would be a benefit to allow to install flatpak bundles temporarily, such as having them run once and then when done delete it automatically, have a time limit on how long a flatpak is installed for, etc.
Idea command: flatpak install --ephemeral-time=(1h, after-run, after-shutdown)
I second this, distrobox has ephemeral containers, its pretty useful, I have a sh**ty bash script for kinda simulating that behavior on flatpak. It would be nice having that on the main for quick installation and testing of apps.
IDK about time limits, because there's nothing to schedule the wake-up in an hour to kill and uninstall the app. That has some unnecessary complexity IMO.
But for the usecase of downloading a .flatpak bundle from a CI server and testing the app, we absolutely could introduce a flatpak run --ephemeral ./path/to/bundle.flatpak command, which simply creates an installation in /tmp, installs the bundle into there, and then runs the app. We'd use flatpak run's usual behavior of picking up runtimes from any other known installation (system, user), so the bundle will only need to contain the app.
This would fill in a big gap in workflow that Flatpak has which is addressed by AppImage. Some projects, like GIMP, have chosen to create appimages in CI just to be able to easily run lots of different versions. We can reduce their maintainance burden pretty easily by just offering this in Flatpak.
Activity
thepragmaticmero commentedon Jun 20, 2024
I second this, distrobox has ephemeral containers, its pretty useful, I have a sh**ty bash script for kinda simulating that behavior on flatpak. It would be nice having that on the main for quick installation and testing of apps.
AdrianVovk commentedon Nov 14, 2024
IDK about time limits, because there's nothing to schedule the wake-up in an hour to kill and uninstall the app. That has some unnecessary complexity IMO.
But for the usecase of downloading a .flatpak bundle from a CI server and testing the app, we absolutely could introduce a
flatpak run --ephemeral ./path/to/bundle.flatpakcommand, which simply creates an installation in /tmp, installs the bundle into there, and then runs the app. We'd useflatpak run's usual behavior of picking up runtimes from any other known installation (system, user), so the bundle will only need to contain the app.This would fill in a big gap in workflow that Flatpak has which is addressed by AppImage. Some projects, like GIMP, have chosen to create appimages in CI just to be able to easily run lots of different versions. We can reduce their maintainance burden pretty easily by just offering this in Flatpak.
So, big 👍 from me!