Commit graph

480 commits

Author SHA1 Message Date
robojerk
6768634f28 added todo.txt 2025-08-27 19:42:18 -07:00
Brad P. Crochet
0ee5aa76d9
fix: Ensure the flatpak list is filtered before checking for empty (#443)
Some checks failed
build-individual / build-individual (push) Failing after 2s
build-unified / build-unified (push) Failing after 2s
In order for the logic to work properly, the flatpak list needs to be
filtered down before checking for empty. Otherwise, in the `if` clause,
the list would become empty, and would cause the flatpak call to fail.

Signed-off-by: Brad P. Crochet <brad@crochet.net>
2025-08-18 08:36:33 +03:00
Gerald Pinder
077f39e7f0
fix: Specify exact dnf commands for installing plugins (#444) 2025-08-06 16:44:52 -04:00
Sjoerd Stendahl
580cdd534c
fix: Add check for empty flatpak list (#438)
fix: add check for empty flatpak list

Adds a check when `flatpak list` for the apps and runtimes is empty.

Fixes an issue where the flatpaks wouldn't install when no runtimes or apps where installed in user-space, due to an empty input being piped into `empty columns`

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2025-08-01 09:45:30 +00:00
Gerald Pinder
85ca45644b
chore: Remove deprecated filter command (#439) 2025-08-01 09:23:39 +02:00
xyny
a0d8030327 fix: typo in schema 2025-07-26 17:42:12 +03:00
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
xyny
a639f1f64f
refactor(default-flatpaks): version 2 (nushell) (#336)
* feat: initial draft of default-flatpaks v2

this version just sets up the config file but nothing to read it and install the flatpaks after boot

* chore: streamline logging

* chore: replace json with yaml as generated config format

* feat: set up groundwork for post boot scripts

* feat: rename installations -> configurations, initial implementation of post-boot part

* fix: put executable files into /usr/libexec/

* fix: improve fedora remote detection and removal

* feat: implement notifications for system flatpak setup

* chore(default-flatpaks): No need to expose `DISPLAY` for notify-send

* chore(default-flatpaks): Update service & add timers to match v1

* chore(default-flatpaks): Copy & enable timers instead of services

* chore(default-flatpaks): Fix typo for copying `user-flatpak-setup` timer

* chore(default-flatpaks): Copy post-boot files directly instead of placing them in `/usr/share/...`

* chore(default-flatpaks): Forgot to remove copying step of post-boot files to `/usr/share/...`

* chore: update to be in accordance with cli support for nushell

* feat: allow usage of fedora flatpak remote, remove fedora flatpaks and runtimes

* feat: refactor schema to support multiple versions of the module

* docs: separate docs for separate module versions

* fix: copy user-flatpak-setup.timer to correct directory

* chore: correctly document default values in schema

* fix: better flathub package checking
- use API url
- check everything before erroring out

* feat: warn users when giving this module v1 configuration

* fix: prevent addition of http get result into unavailablePackages list

* fix: mkdir before cp

* chore: fix () semantics problems highlighted by debugger

* feat: bluebuild-flatpak-manager CLI

* feat: alert user when trying to use module with old configuration

* docs: write basic documentation page and rewrite example

* fix: attempt to use configFile variable without dollar sign

* fix: no such things as .configurations
(the file is the array)

* fix: ensure no empty list is printed

* docs: add a quick note about learning to use the flatpak manager tool

* fix(schema): distinquish between versions

Co-authored-by: Gerald Pinder <gmpinder@gmail.com>

* fix: add noninteractive flag to flatpak install commands

* fix: ensure repo to be used is enabled

* chore: ignore errors in notify wrapper just in case

* chore: add link to announcement

* docs: run through languagetool

---------

Co-authored-by: fiftydinar <65243233+fiftydinar@users.noreply.github.com>
Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
2025-07-26 14:09:39 +00:00
xyny
c530c6e736
chore: remove duplicate example from os-release module 2025-07-26 13:12:31 +00:00
askpng
7a4576eed5
docs(os-release): Add note about module placement (#423)
* docs(os-release): Add note about module placement

Modifying `ID` may cause failures in identification and installation of COPR packages during the build process, and is ideally placed later in the recipe.

* fix: use starlight note format

Co-authored-by: Gerald Pinder <gmpinder@gmail.com>

* fix: minor rephrasements

* docs: add more details to suggestion

---------

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
2025-07-26 13:11:51 +00:00
Benoit
1941d5ace1
fix: akmod example make the build fail (#433) 2025-07-22 22:29:22 +02:00
fiftydinar
9d046ae1a1
docs(bling): Add note about ublue-update being deprecated (#430) 2025-07-20 17:40:58 +02:00
fiftydinar
8b54b4b18b
chore(bling): There's no need to fetch ublue repo for ublue-update (#429) 2025-07-20 17:19:47 +02:00
fiftydinar
52767e3dfe
fix(bling): ublue-update not working (#428)
Universal Blue removed `topgrade` & `ublue-update` from their repos, so I had to improvise with `skopeo`, since their `ublue-update` release is older than their `ghcr` container.

It is recommended to use `uupd` instead, as `ublue-update` is deprecated, I just fixed it so it can work until possible `uupd` bling submodule arrives.
2025-07-20 17:13:27 +02:00
fiftydinar
c1ef8cbf0f
fix(akmods): Build failure when repo's name is not hardcoded (#427)
Fixes: https://github.com/blue-build/modules/issues/418
2025-07-20 15:24:22 +02:00
Gerald Pinder
107625e140 fix: Forgot type property on os-release type spec 2025-07-17 13:26:15 -04:00
Gerald Pinder
1e6588c5dc
feat: OS Release Module (#417)
* feat: OS Release Module

* docs: clearer description

* chore: update shortdesc to match new description

---------

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2025-07-14 12:51:21 -04:00
bri
5cd482353b
modules/script: fix path in example comment (#421)
We moved from /config to /files a long time ago. This fixes the comment in the example to say `/files/scripts` instead of `/config/scripts`.
2025-07-12 14:32:17 -04:00
fiftydinar
7d2529e9d8
fix(signing): Remove workaround for ublue-os images on using /usr/etc/
It's not needed anymore & it breaks the build, since the introduction of bootc lint in latest bluebuild cli.
2025-06-01 02:27:30 +02:00
fiftydinar
308f78b7fe
chore(dnf): Add --system for optfix service activation & readability 2025-05-21 17:57:32 +02:00
fiftydinar
719fd97cad
chore(rpm-ostree): Use /usr/lib/ directory instead of /etc/ for optfix service 2025-05-21 17:56:15 +02:00
fiftydinar
ec6a52d583
chore(dnf): Use /usr/lib/ directory for optfix service instead of /etc/ 2025-05-21 17:54:46 +02:00
Miroslav Vadkerti
14ced57673
fix(bling): failover to download1 for rpmfusion (#414)
I am getting recently quite a lot operation timeouts when using
rpm-fusion mirrors.
I believe failing over to the download location would help.

```
============================= Start 'bling' Module =============================
Pulling from bling: rpmfusion
Running RPMFusion repos install...
Downloading https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-42.noarch.rpm...failed
error: Handling argument https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-42.noarch.rpm: error sending request for url (https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-42.noarch.rpm): operation timed out
============================ Failed 'bling' Module ============================
subprocess exited with status 1
subprocess exited with status 1
Error: building at STEP "RUN --mount=type=bind,from=stage-files,src=/files,dst=/tmp/files,rw --mount=type=bind,from=ghcr.io/blue-build/modules/bling:latest,src=/modules,dst=/tmp/modules,rw --mount=type=bind,from=ghcr.io/blue-build/cli/build-scripts:ac63f9e9fb1509f7c005e1046b6ffb81214fe7f3,src=/scripts/,dst=/tmp/scripts/ --mount=type=cache,dst=/var/cache/rpm-ostree,id=rpm-ostree-cache-workstation-latest,sharing=locked --mount=type=cache,dst=/var/cache/libdnf5,id=dnf-cache-workstation-latest,sharing=locked /tmp/scripts/run_module.sh 'bling' '{"type":"bling","install":["rpmfusion"]}'": exit status 1
error: Recipe `build-containerfile` failed on line 29 with exit code 1
```

The building is done on a AWS machine, provided by Fedora CI infrastructure.
The network should be very stable there.

See
https://artifacts.dev.testing-farm.io/a065eed6-f896-4455-9113-d2a71598b84c/.

Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
2025-05-20 07:03:36 +02:00
fiftydinar
128de83a78
chore(default-flatpaks): Don't quit Gnome Software if it's not installed & adjust fedora-third-party messaging
If `fedora-third-party` package is removed, then there's no need to disable the Fedora 3rd party repos through `fedora-third-party` CLI.
2025-05-16 13:24:56 +02:00
Gerald Pinder
7b80afde4c fix: Only run setopt when there is a repo ID in the list 2025-05-02 09:44:46 -04:00
Gerald Pinder
d592ff0944 chore: Add list size checks 2025-05-02 09:40:16 -04:00
fiftydinar
703af905ce
docs(dnf): Fix whitespace 2025-04-27 17:30:03 +02:00
fiftydinar
79829187f2
docs(dnf): Remove known issue about kernel install
It's solved now
2025-04-27 17:27:38 +02:00
fiftydinar
fef0f17870
feat: dnf module (#377)
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
Co-authored-by: certifiedfoolio <156134535+cherry-os@users.noreply.github.com>
Co-authored-by: xyny <git@xyny.anonaddy.me>
Co-authored-by: somebody once told me <156134535+certifiedfoolio@users.noreply.github.com>
Co-authored-by: franute <franute@gmail.com>
2025-04-27 14:49:39 +00:00
xyny
d12d657371
docs(kargs): fix code block spacing 2025-04-27 08:58:03 +00:00
fiftydinar
7e164fcc21
fix(gnome-extensions): Languages not installed in some extensions
Logic for locale wasn't perfect, noticeable with "Bluetooth Battery Meter" extension, where languages weren't installed, but were available.

This fixes it.
2025-04-27 09:58:09 +02:00
fiftydinar
734656f7cc
feat: kargs module (#388)
* feat: `kargs` module

* fix: ARCH conditions

* docs: Explain arch in module.yml

* docs: Refine kargs documentation

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>

* chore: Add `kargs` to `modules.json`

* docs: Add info about discovering possible kargs

* docs: Use master branch link for kargs

* docs: Some grammar style fix

* docs: Add note about `bootc switch` for kargs to get applied

* chore: slight grammar change

* chore: small grammar change

---------

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2025-04-27 08:45:30 +02:00
fiftydinar
0beaa1738b
fix(gnome-extensions): Non-installed languages regression
Regression was with this fix I thought was working:
4ac40ed042
2025-04-22 18:45:22 +02:00
fiftydinar
ab1c701ccb
docs(gschema-overrides): Some minor additional explanation to zz1- prefix recommendation 2025-04-07 19:20:14 +02:00
fiftydinar
de6a0f3c81
docs(gschema-overrides): Explain why zz1- prefixed gschema override is preferred 2025-04-07 19:17:55 +02:00
fiftydinar
b83e676695
chore: Use cp --update=none instead of cp -n 2025-03-20 12:45:54 +01:00
fiftydinar
120a5a8086
chore(brew): Simplify unlinking command 2025-03-20 06:32:48 +01:00
fiftydinar
b99fc2890b
chore(brew): Use ublue-os Brew tarball & unlink some crucial system dependencies (#402)
* chore(brew): Use ublue-os Brew tarball & unlink some crucial system dependencies

* chore(brew): Adjust logs

* fix(brew): Don't fail `upgrade` if `systemd` or `dbus` don't exist

* docs(brew): Slight fix

* docs(brew): Fix grammar
2025-03-20 00:11:23 +01:00
fiftydinar
8a040edfae
docs(yafti): Fix indentation 2025-03-18 19:07:14 +01:00
fiftydinar
0159e26bcc
docs(yafti): Add known issue about autostart not working in WMs 2025-03-18 19:06:52 +01:00
fiftydinar
4ac40ed042
fix(gnome-extensions): Don't fail if extension is supplied with empty locale folder
Fixes installation of Default Workspace extension, which is packages with an empty `locale` folder.
2025-03-13 19:27:36 +01:00
Daniel Hast
24c771c694
fix: syntax in brew-fish-completions.fish
Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
2025-03-10 17:16:20 -04:00
fiftydinar
bbb90bbfe3
fix(justfiles): Log message about grep not finding 60-custom.just 2025-03-10 10:57:29 +01:00
fiftydinar
e66445df32
fix(brew): Prevent loading Homebrew if user is root (thanks to @HastD) 2025-03-10 08:32:01 +01:00
fiftydinar
92f4d285ab
chore(brew): Install zstd using dnf5 also
I only covered installing `gcc` with `dnf5`, but forgot to cover `zstd`.
2025-03-08 14:33:20 +01:00
Patrick Csikos
b09cc41ee2
fix(brew): Fix gcc check for images that already include gcc (#395)
fix(brew): Fix gcc check
2025-03-08 13:59:58 +01:00
fiftydinar
1c52771e2b
chore: Switch from using rpm-ostree to using dnf5 in some modules 2025-03-07 01:43:22 +01:00
XiaoYan Li
932a9b5bf1
chore(chezmoi): Fix log message (#393) 2025-02-28 14:35:28 +01:00
fiftydinar
d41ebff897
fix(signing): Build error due to wrong parsing of IMAGE_REGISTRY 2025-02-24 14:20:14 +01:00
xyny
944d02cf37
fix(signing): signature store namespace collision error in images derived from each other (#390) 2025-02-24 08:52:57 +01:00