Commit graph

754 commits

Author SHA1 Message Date
fiftydinar
3af2146f36
yafti: Forgot to set get_json_array for it 2024-12-03 12:14:11 +01:00
fiftydinar
189048b119
chore: Remove usage of yq in favor of jq (#369)
* chore: Remove usage of `yq` in favor of `jq`

* fix: Missed bracket in `default-flatpaks`

* fix: `get_json_array` complaining about unpopulated arrays

* fix(files): Forgot to input `-r` flag for some `jq` calls

* fix(gschema-overrides): Use `try` in `get_json_array`

* chore(default-flatpaks): Replace `yq` with `jq` in run-time setup binaries

* chore: Switch to simplified `jq` syntax without brackets

* chore(default-flatpaks): Switch `repo-info` file from `yml` to `json`

* fix(default-flatpaks): Some `yq` calls

* chore: Revert back to bracket syntax for more reliable `jq` parsing

* chore(files): Missed bracket syntax

* chore: Approve bot suggestion about quoting

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update modules/files/files.sh

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(yafti): Populating custom flatpaks

It's populated in reverse order compared to the format in recipe, but it works

* fix(fonts): Variable substitution is needed

* fix: Typo

* fix(fonts): Forgot to assign FONTS variable

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-02 19:02:13 +00:00
fiftydinar
ab654c9f16
chore(signing): Fix jq command for modifying policy.json 2024-12-01 21:56:24 +01:00
yacoob
c065b145de
fix: properly handle custom branch in chezmoi module (#368)
For posterity: `INIT_BRANCH_FLAG` should be set if `DOTFILE_BRANCH` is not empty and is not equal to `"null"`.
2024-11-30 22:28:26 +01:00
xyny
387a29e127
feat(bling): rpmfusion & negativo17 repo helpers (#363)
* feat(bling): rpmfusion & negativo17 repo helpers

* chore: Make adding negativo repo more robust

* chore: Make sure that priority is set when negativo repo is installed

* chore: Improve RPMFusion repo install robustness

* chore: Fix some indendation

* chore: Fix some indetation pt. 2

* chore: Install all RPMFusion repos in cases when only free or non-free repo is installed

* chore: Install all RPMFusion repos in cases when only free or non-free repo is installed pt. 2

---------

Co-authored-by: fiftydinar <65243233+fiftydinar@users.noreply.github.com>
2024-11-25 09:26:10 +01:00
fiftydinar
a166afed8a
fix(chezmoi): Properly use default branch
`yq` outputs "null" string when no results are found, so it's not an empty string.

Branch "null" is passed as custom branch, which very likely doesn't exist in user's chezmoi repo.

So to solve this issue, set "if string is empty or contains string "null", disable custom branch, otherwise enable"
2024-11-19 16:41:13 +01:00
fiftydinar
f176a3516e
feat(gschema-overrides): Make include array truly optional & includ… (#360)
* feat(gschema-overrides): Make `include` array truly optional & include all gschemas by default

* chore(gschema-overrides): Make recipe input matching log a bit clearer

* docs(gschema-overrides): Make some points clearer

* docs(gschema-overrides): Fix some unfinished line

* docs(gschema-override): Some indentation fixes

* docs(gschema-overrides): Remove redundant comment in module.yml
2024-11-14 21:08:48 +01:00
fiftydinar
9368c5dc5e
docs(default-flatpaks): Strictly specify how to add Fedora flatpak repo
It's easier for the user.
2024-11-12 17:14:46 +01:00
fiftydinar
1d7243782a
fix(default-flatpaks): Allow usage of Fedora flatpak remote (#359)
* fix(default-flatpaks): Allow usage of Fedora flatpak remote

* docs(default-flatpaks): Some further clarifications for retaining Fedora flatpak remote
2024-11-12 17:09:00 +01:00
Pat Connors
d58fa1e26d
docs(justfiles): Link Bazzite documentation instead. (#358)
As requested by @xynydev in the conversation of https://github.com/blue-build/modules/pull/354
2024-11-10 20:43:27 +01:00
yacoob
e328da9497
feat(chezmoi): Allow specifying branch for chezmoi init (#357)
* feat: allow specifying branch for `chezmoi init`

* fix: don't assume the default branch is `main`

* fix: get rid of `main` reference in the README
2024-11-08 20:24:00 +01:00
fiftydinar
be9f17c96e
chore(default-flatpaks): Temporarily remove auto-restart of services (#355)
* chore(default-flatpaks): Remove auto-restart of `system-flatpak-setup`

* chore(default-flatpaks): Remove auto-restart of `user-flatpak-setup`
2024-10-28 12:40:20 +01:00
Pat Connors
5e78c45b88
docs(justfiles): Add Bluefin's Just documentation (#354) 2024-10-27 21:01:33 +01:00
fiftydinar
ca84ec87eb
fix(default-flatpaks): Fix loginctl json parsing in F40 & less (systemd v255 & less) 2024-10-25 23:02:40 +02:00
fiftydinar
ccde6df956
fix(default-flatpaks): loginctl regression in parsing json output for notifications
On Fedora 41, which has systemd v256, `--output=json` no longer displays `json`, but classic output.

Using `-j` instead of `--output=json` fixes this issue.
2024-10-25 22:51:51 +02:00
fiftydinar
247a99e42a
fix(default-flatpaks): Make notifications be more reliable by delaying service start for 30s & cleaner internet-related logs 2024-10-25 19:13:53 +02:00
fiftydinar
ca9a840072
chore(default-flatpaks): Remove flatpaks first & then install 2024-10-23 20:15:54 +02:00
fiftydinar
f5d1e74361
chore(default-flatpaks): Fix outdated code comment 2024-10-23 18:47:16 +02:00
fiftydinar
95c17dcc23
chore(default-flatpaks): Increase connection attempts to 5 & print successful connection log 2024-10-23 18:26:06 +02:00
fiftydinar
2f2036db0b
fix(default-flatpaks): Couldn't resolve host name in some network setups (#352) 2024-10-23 17:53:39 +02:00
fiftydinar
89ea220f5e
chore(default-flatpaks): No need to query DISPLAY variable for notify-send
Notifications work without it & custom images without XWayland don't have `DISPLAY` variable at all (eg. secureblue & custom images based on it)
2024-10-23 11:42:06 +02:00
Gerald Pinder
7d08c2e39f
fix(rpm-ostree): Take into account the use of URL query parameters (#351) 2024-10-19 19:48:11 +02:00
fiftydinar
17c6be78d6
chore(default-flatpaks): Improve detection of username & UID for rootful notify-send 2024-10-18 20:49:01 +02:00
fiftydinar
8ed832d227
docs: Update config guideline for run-time modules to use configuration.yml rather than config.yml pt. 2 2024-10-16 16:03:00 +02:00
fiftydinar
7b1775eeea
docs: Update config guideline for run-time modules to use configuration.yml rather than config.yml 2024-10-16 16:01:23 +02:00
fiftydinar
5cdfb9eeb1
Revert "fix(default-flatpaks): Couldn't resolve host name with some working internet connections" 2024-10-16 15:53:00 +02:00
fiftydinar
c6f76ddfcd
fix(default-flatpaks): Couldn't resolve host name with some working internet connections
Fixes: #346
2024-10-16 14:55:47 +02:00
fiftydinar
3ceb12a244
chore(default-flatpaks): Add no_title_modify=false at the start of the condition logic 2024-10-15 08:20:14 +02:00
fiftydinar
ae20a0278a
chore(default-flatpaks): Adjust log for removing fedora-testing remote 2024-10-15 08:13:44 +02:00
fiftydinar
ed67139d8e
fix(default-flatpaks): Check for Fedora testing repo 2024-10-14 23:49:42 +02:00
fiftydinar
40f510467c
chore(akmods): Properly simplify syntax for akmods now
Forgot it's negative condition
2024-10-14 23:30:13 +02:00
fiftydinar
0a07a2fa01
Revert "chore(akmods): Simplify syntax for if rpmfusion condition" 2024-10-14 23:28:53 +02:00
fiftydinar
42c594bdef
chore(akmods): Simplify syntax for if rpmfusion condition 2024-10-14 23:22:54 +02:00
fiftydinar
d863d1bede
chore(default-flatpaks): Improve reliability of Fedora flatpaks removal & logging/debugging (#345) 2024-10-14 23:18:30 +02:00
fiftydinar
22fe11d844
Actual fix for issue #342 2024-10-12 18:04:50 +02:00
fiftydinar
8124abbdd0
fix(rpm-ostree): %OS_VERSION% not properly substituted for URL when doing install only
Fixes: #342
2024-10-12 17:46:13 +02:00
fiftydinar
4d53e8159b
fix(brew): Incorrect profile.d/brew.sh file $- text writing
`$-` is now no longer writing random character, but `$-` instead to the file.
2024-10-11 08:36:08 +02:00
qoijjj
8e582d701b
fix: ensure zstd is included in the image as it's required for the in… (#341) 2024-10-11 01:48:49 +02:00
fiftydinar
447a9db5e2
fix(akmods): Don't install RPMFusion if it's already installed
Otherwise, it complains about package conflict.
2024-10-07 10:00:15 +02:00
fiftydinar
670fdedfd4
chore(akmods): Ditch determining akmods from RPM Fusion logic
Installing & uninstalling RPM Fusion is a quick operation anyway, so there is no need to have manual checks for which akmods require RPM Fusion.

So just install the uninstall RPM Fusion repo always.
2024-10-06 10:25:36 +02:00
fiftydinar
079ca81d45
chore(akmods): Use already available OS_VERSION string instead of manually getting one 2024-10-06 09:58:16 +02:00
fiftydinar
a7f021283c
fix(akmods): Including V4L2Loopback & WL akmod fail the build 2024-10-06 09:37:19 +02:00
fiftydinar
562b6d6bfe
docs(bling): Update documentation about dconf-update-service 2024-10-02 10:14:33 +02:00
fiftydinar
84285e8958
docs: Revert using readonly from code guidelines
Code looks less clean & is less readable, while gaining little to no benefit.
2024-10-01 18:06:51 +02:00
fiftydinar
3b646c181a
chore(akmods): Revert using readonly
It looks less clean & readable in code
2024-10-01 18:03:49 +02:00
fiftydinar
15704737e0
docs: Some more refinements to readonly 2024-10-01 14:45:14 +02:00
fiftydinar
e3da6ea5e6
docs: Clarify readonly scenario a bit more 2024-10-01 14:36:44 +02:00
fiftydinar
282deb4697
docs: Reorder code rules to fit better 2024-10-01 14:35:29 +02:00
fiftydinar
15d308b7e5
docs: Clarify usage of readonly for dynamic variables/functions 2024-10-01 14:33:48 +02:00
fiftydinar
58946ae173
chore(akmods): Utilize readonly for static variables 2024-10-01 14:26:53 +02:00