Commit graph

28 commits

Author SHA1 Message Date
fiftydinar
bd92e7e5c5
feat(default-flatpaks): Add info about which flatpaks are installed (#85)
* feat(default-flatpaks): Add info about which flatpaks are installed & uninstalled in notification. Also implement notification enable/disable config support.

* feat(default-flatpaks): Add support for configuring notifications in recipe file

* fix(default-flatpaks): Formatting fixes

* fix(default-flatpaks): Fix "enabling" typo instead of "configuring" notifications

* chore(default-flatpaks): Remove unused yq command

* fix(default-flatpaks): There is no need for 2 double quotes
2023-12-21 20:34:33 +00:00
fiftydinar
dbc867ff55 Indicate that module skips flatpak install/uninstall if no changes are detected 2023-12-20 11:24:00 +01:00
fiftydinar
07f1797838 Delete some README misinformation
It will loop on every boot to install & uninstall
2023-12-20 10:15:14 +01:00
fiftydinar
09af3b3602 Tiny README fix 2023-12-20 09:59:50 +01:00
fiftydinar
bf753ad0b6 Update README information to reflect these changes 2023-12-20 09:54:12 +01:00
Patrick Csikos
f0c0192e10
feat(default-flatpaks): Better handle multiple uses of module (#74)
* fix(default-flatpaks): Always enable systemd services

Ensures that the module always removes Fedora Flatpaks, even if a
system-wide flatpak remote isn't configured for the module.

* chore(default-flatpaks): Add output for result of repo config

* fix(default-flatpaks): Better handle multiple uses of module

* chore(default-flatpaks): Add label to output of existing config

* docs(default-flatpaks): Mention that Flatpak remote can be re-configured

* docs(default-flatpaks): Add second example to README

* docs(default-flatpaks): Clarify repo config in second example
2023-11-18 12:43:55 +00:00
Patrick Csikos
d83d721c18
docs(default-flatpaks): Make example config match other modules (#65)
* docs(default-flatpaks): Make example config match other modules

* docs(default-flatpaks): Indent list items in example config

Does seem to work if they aren't indented, but this way matches other
modules and seems to be best practice
2023-10-22 09:16:42 +00:00
zelikos
66d2ba8d94
fix(default-flatpaks): Set BLING_DIRECTORY fallback value
...instead of overriding
2023-10-21 16:08:22 -04:00
zelikos
ee196a0528
fix(default-flatpaks): Intialize BLING_DIRECTORY variable 2023-10-21 15:53:06 -04:00
xyny
5e6bc4c7ae
docs(default-flatpaks): put essential function first 2023-10-21 10:24:09 +00:00
zelikos
1c203cb6dd
fix(default-flatpaks): Only enable system/user services if respective repo is configured 2023-10-14 13:08:51 -04:00
zelikos
8bc41e6077
fix(default-flatpaks): Check that system/user configuration is present 2023-10-14 12:50:47 -04:00
zelikos
8251083a5c
style: Improve readability of default-flatpaks functions 2023-10-14 11:56:49 -04:00
zelikos
a4b8151e28
docs: Clarify default-flatpaks remote configuration 2023-10-14 11:44:44 -04:00
zelikos
30931ed9c2
fix: Use Flathub as default remote for default-flatpaks 2023-10-14 11:43:13 -04:00
zelikos
c02b399bf6
fix(default-flatpaks): Check if repo-info already exists before creating 2023-10-14 11:32:55 -04:00
xyny
a774b670a9
docs: explain default-flatpaks /etc/flatpak/ structure 2023-10-14 09:39:53 +00:00
zelikos
edbbd0b349
fix: Use location argument in configure_lists output 2023-10-05 12:18:44 -04:00
zelikos
5ed4c73a90
refactor: Use functions for flatpak config steps
...instead of having duplicated code between system flatpaks and user
flatpaks configuration.
2023-10-05 12:00:53 -04:00
zelikos
3250cdc8aa
docs: Explain flatpak module files and how they work 2023-10-04 13:05:00 -04:00
zelikos
98a71af459
docs: Show that flatpak remotes can be added without installing flatpaks from them 2023-10-02 21:22:53 -04:00
zelikos
d0e1434b1d
docs: Mention that Fedora Flatpaks remote is removed 2023-10-02 21:20:23 -04:00
zelikos
a170c42811
docs: Show repo configuration in example 2023-10-02 21:12:02 -04:00
zelikos
eff377bbc3
docs: Explain per-user installs and how to re-run setup 2023-10-02 21:11:07 -04:00
zelikos
874afef229
feat(default-flatpaks): Make repo configurable 2023-10-02 21:03:58 -04:00
zelikos
634cf88d23
fix: Don't rm -f on Flatpak lists before creating
There won't be anything to remove unless the module is called more than once, and if it's called more than once, the user would expect every Flatpak to be in the respective lists, so there's no need to call rm -f on it.
2023-10-02 20:52:42 -04:00
zelikos
6ad9056d20
refactor: Use subdirs instead of filename prefixes 2023-10-02 17:31:49 -04:00
zelikos
35df5c34b6
chore: Rename module to default-flatpaks 2023-10-02 11:49:22 -04:00