Closed lucasvsr closed 10 months ago
Will look closer at this and the other flatpak-related PR probably tomorrow, but
Will look closer at this and the other flatpak-related PR probably tomorrow, but
- Why just gist, why not just a raw URL to a file that could be anywhere?
- Since this takes in no recipe.yml configuration, shouldn't this be inside the bling module and not a module unto itself?
Okay, I'm waiting for the review.
About the questions:
It needs to be a repository, actually. I use a gist because I think it's simpler, but there's nothing stopping it. So, when a flatpak is installed, the repository will be checked out and the flatpak.list
file will be updated (or created, if it doesn't already exist).
Good idea, I didn't think of that. I will make the adjustment and let you know as soon as I commit.
Done, @xynydev, refactoring available for review.
Does the new documentation look good? I'm ready to merge whenever. Actually, it'll take a while for ublue-os/website
to even pick this up, so I'll just merge, and we'll change the docs if there's errors, alright,
flatpaksync
submoduleThe
flatpaksync
submodule can be used to synchronize user-installed flatpaks into a gist or traditional repository.To activate it, simply follow the example below:
Example configuration
Once the submodule is activated, users can create a file
$HOME/.config/flatpaksync/env
informing the repository that will be used to synchronize their apps in the POSIX standard:If the user has not yet installed their flatpaks, has already done the step above and has a
flatpak.list
file in the repository, simply use theflatpakcheckout
binary to perform the installation and start the synchronization.It is important to note that this submodule will NOT enable Flathub. If your applications come from there, you will need to enable Flathub before running it.
If the user has already configured their repository in the
$HOME/.config/flatpaksync/env
file but already has their flatpaks installed, simply create the$HOME/.config/flatpaks.user.installed
file to start the synchronization.