particle-os-modules/modules
fiftydinar 23f020a5b3
feat: soar module (#413)
* feat: `soar` module

* fix(soar): Inverted `unlock-repos` logic

* chore(soar): Add `soar` to modules.json

* fix(soar): Logic for detecting if `unlock-repos` is disabled

* fix(docs): Wrong `/usr/` systemd path reference

* chore(soar): Add log for `unlock_repos`

* chore(soar): Add `finished=false` at the beggining of `soar` shell profile

* fix(soar): `/root` being `$HOME` in config

* fix(soar): Wrong `PATH`

I forgot to add `bin` directory

* docs(soar): Clarify that `PATH` needs to be exported only outside of standard config dir

* chore(soar): Unlock extra repos if `unlock-repos` is enabled

* docs(soar): Mention of external repos

* chore(soar): Simplify getting `XDG` directories

* chore(soar): Add removing config in uninstallation script

* chore(soar): Remove whole config directory instead of file in uninstallation script

* fix(soar): Missing quote in uninstallation script

* chore(soar): Make uninstallation script POSIX

* fix(soar): Bad syntax for `soar-upgrade-packages` service `exec`

It's `ExecStart`, not `Exec`.

* fix(soar): Set `auto-upgrade` timer as `--user` instead of `--system`

* chore(soar): Shorten the boot delay & randomize it for `auto-upgrades`

* chore(soar): Add `network-online.target` in `Wants` to systemd service for `auto-upgrades`

* chore(soar): Remove `upgrade-wait-after-boot`, as good defaults are set with no need for changing

* chore(soar): Add option for unlocking the `PATH` in all conditions

* chore(soar): Add `unlock-path` option to typespec

* docs(soar): Add `unlock-path` to `module.yml` example

* chore(soar): Remove condition for checking the `soar.sh` file

If another `soar` module overwrites the previous one, it should be able to overwrite `soar.sh` shell profile too with custom option if set.

* chore(soar): Remove `unlock-path`, as it's too dangerous

* chore(soar): Don't copy update timer & service if `auto-upgrade` is false

* chore(soar): Style fix

* chore(soar): Don't execute `upgrade` when soar is already running

* chore(soar): Use environment variable for `SOAR_CONFIG` to simplify things

* docs(sour): Fix typo

* chore(soar): Use native `soar` command for setting `bincache` repo only

* fix(soar): Make `soar` condition check for  auto-upgrades more reliable

* chore(soar): Some more improvements to auto-update condition check

False positive can happen if some text editor edits some file like `soar-something.txt` or similar.

This assures more that only executed binary is detected.

* chore(soar): Remove duplicate code for setting config

* docs(soar): Add full example of options in `module.yml`

* chore(soar): Rename `unlock-repos` to `additional-repos` & add docs about repo info

* chore(soar): Enable `pkforge-cargo` & `pkgforge-go` repos

* docs: rewordings, run through languagetool

* chore(soar): Add condition in shell profile to check if `soar` PATH already exists

* chore(soar): Disable redundant shellcheck SC2076 in shell profile

* docs: final reword

---------

Co-authored-by: xyny <git@xyny.anonaddy.me>
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2025-07-26 14:10:21 +00:00
..
akmods fix: akmod example make the build fail (#433) 2025-07-22 22:29:22 +02:00
bling docs(bling): Add note about ublue-update being deprecated (#430) 2025-07-20 17:40:58 +02:00
brew chore: Use cp --update=none instead of cp -n 2025-03-20 12:45:54 +01:00
chezmoi chore(chezmoi): Fix log message (#393) 2025-02-28 14:35:28 +01:00
default-flatpaks refactor(default-flatpaks): version 2 (nushell) (#336) 2025-07-26 14:09:39 +00:00
dnf chore(dnf): Add --system for optfix service activation & readability 2025-05-21 17:57:32 +02:00
files fix: Separate models required for separate schema files 2025-01-31 18:28:33 -05:00
fonts fix: Separate models required for separate schema files 2025-01-31 18:28:33 -05:00
gnome-extensions fix(gnome-extensions): Languages not installed in some extensions 2025-04-27 09:58:09 +02:00
gschema-overrides docs(gschema-overrides): Some minor additional explanation to zz1- prefix recommendation 2025-04-07 19:20:14 +02:00
initramfs chore(initramfs): Support regenerating initramfs for multiple kernels if installed 2025-02-20 08:51:44 +01:00
justfiles fix(justfiles): Log message about grep not finding 60-custom.just 2025-03-10 10:57:29 +01:00
kargs docs(kargs): fix code block spacing 2025-04-27 08:58:03 +00:00
os-release chore: remove duplicate example from os-release module 2025-07-26 13:12:31 +00:00
rpm-ostree chore(rpm-ostree): Use /usr/lib/ directory instead of /etc/ for optfix service 2025-05-21 17:56:15 +02:00
script modules/script: fix path in example comment (#421) 2025-07-12 14:32:17 -04:00
signing fix(signing): Remove workaround for ublue-os images on using /usr/etc/ 2025-06-01 02:27:30 +02:00
soar feat: soar module (#413) 2025-07-26 14:10:21 +00:00
systemd fix: Separate models required for separate schema files 2025-01-31 18:28:33 -05:00
yafti chore: Use cp --update=none instead of cp -n 2025-03-20 12:45:54 +01:00