Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: default-flatpaks module #57

Merged
merged 33 commits into from
Oct 21, 2023
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
781b65d
feat: Add flatpaks module
zelikos Oct 1, 2023
4ea12c1
docs: Add README for flatpaks module
zelikos Oct 1, 2023
feef5dc
chore: Add requisite files for flatpak module
zelikos Oct 2, 2023
d91804c
refactor: Move module files into bling files directory
zelikos Oct 2, 2023
35df5c3
chore: Rename module to default-flatpaks
zelikos Oct 2, 2023
6ad9056
refactor: Use subdirs instead of filename prefixes
zelikos Oct 2, 2023
634cf88
fix: Don't rm -f on Flatpak lists before creating
zelikos Oct 3, 2023
874afef
feat(default-flatpaks): Make repo configurable
zelikos Oct 3, 2023
eff377b
docs: Explain per-user installs and how to re-run setup
zelikos Oct 3, 2023
a170c42
docs: Show repo configuration in example
zelikos Oct 3, 2023
d0e1434
docs: Mention that Fedora Flatpaks remote is removed
zelikos Oct 3, 2023
98a71af
docs: Show that flatpak remotes can be added without installing flatp…
zelikos Oct 3, 2023
7424ce8
fix: Check that flatpak repo is configured before trying to add
zelikos Oct 3, 2023
d186aac
fix: Remove fedora-testing remote too
zelikos Oct 4, 2023
3250cdc
docs: Explain flatpak module files and how they work
zelikos Oct 4, 2023
ec1389e
feat: Add output for flatpak remote configuration steps
zelikos Oct 4, 2023
5ed4c73
refactor: Use functions for flatpak config steps
zelikos Oct 5, 2023
edbbd0b
fix: Use location argument in configure_lists output
zelikos Oct 5, 2023
a774b67
docs: explain default-flatpaks /etc/flatpak/ structure
xynydev Oct 14, 2023
a5eb8a2
chore: Remove link to endlish-oesque issue
zelikos Oct 14, 2023
b007774
refactor: Install/remove flatpaks all at once, instead of one at a time
zelikos Oct 14, 2023
121cbe2
fix: Restart flatpaks setup on install failure
zelikos Oct 14, 2023
e0efeab
fix(default-flatpaks): Explicitly remove Fedora flatpaks
zelikos Oct 14, 2023
0c52920
fix(default-flatpaks): Quit gnome-software before removing Fedora rem…
zelikos Oct 14, 2023
11fe7ce
style: Fix indentation in -flatpak-setup scripts to match
zelikos Oct 14, 2023
c02b399
fix(default-flatpaks): Check if repo-info already exists before creating
zelikos Oct 14, 2023
30931ed
fix: Use Flathub as default remote for default-flatpaks
zelikos Oct 14, 2023
a4b8151
docs: Clarify default-flatpaks remote configuration
zelikos Oct 14, 2023
8251083
style: Improve readability of default-flatpaks functions
zelikos Oct 14, 2023
8bc41e6
fix(default-flatpaks): Check that system/user configuration is present
zelikos Oct 14, 2023
11dd657
feat(default-flatpaks): Send notification after successful flatpak setup
zelikos Oct 14, 2023
1c203cb
fix(default-flatpaks): Only enable system/user services if respective…
zelikos Oct 14, 2023
5e6bc4c
docs(default-flatpaks): put essential function first
xynydev Oct 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: explain default-flatpaks /etc/flatpak/ structure
  • Loading branch information
xynydev authored Oct 14, 2023
commit a774b670a9e248274e714e63d028cbf1a297e667
2 changes: 2 additions & 0 deletions modules/default-flatpaks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ The scripts are run on first boot and login by these services:

Flatpak setup can be run again by removing `/etc/ublue-os/system-flatpak-configured` for system-wide flatpaks, or `$HOME/.config/ublue-os/user-flatpak-configured` for user flatpaks.

This module stores the Flatpak remote configuration and Flatpak install/remove lists in `/etc/flatpak/`. There are two subdirectories, `user` and `system` corresponding with the install level of the Flatpaks and repositories. Each directory has text files containing the IDs of flatpaks to `install` and `remove`, plus a `repo-info.yml` containing the details of the Flatpak repository.

## Example configuration

```yaml
Expand Down