Commit graph

351 commits

Author SHA1 Message Date
fiftydinar
e668d2ef02
fix(default-flatpaks): Last module definition overwrites the 1st one (#263) 2024-06-19 14:29:54 +00:00
fiftydinar
8155b131bf fix(rpm-ostree): Make version magic string work when specifying keys 2024-06-15 13:48:46 +02:00
Shohamza
d2866eb78b
fix: typos
Co-authored-by: fiftydinar <65243233+fiftydinar@users.noreply.github.com>
2024-06-15 11:08:26 +03:00
Shohamza
bbddb6c3f7 feat: added support for importing custom keys for rpm-ostree module 2024-06-15 06:08:34 +00:00
Gerald Pinder
6e1313ef30 Update README 2024-06-11 15:14:32 -04:00
Gerald Pinder
ce30cc9684 feat: Add support for using %OS_VERSION% in install url 2024-06-11 14:26:02 -04:00
fiftydinar
61b3c35d57 chore(gnome-extensions): Add "null" if condition for QUIERIED_EXT in uninstall 2024-06-11 11:18:50 +02:00
fiftydinar
02922a7e04 fix(gnome-extensions): Usage of INSTALL_EXT instead of UNINSTALL_EXT in uninstall 2024-06-11 11:13:10 +02:00
zelikos
a7675b5c20
fix: Revert #253 2024-06-05 17:19:53 -04:00
fiftydinar
a7024ba475
feat(gnome-extensions): Add PK ID recipe input support (#249)
* chore(gnome-extensions): Make extension URL quering more robust

If there are multiple Gnome extensions with the same name, & they are compatible with Gnome version in the base image, then build will fail.

Previously, build would always fail if there are extensions with duplicate names.

* docs(gnome-extensions): Fix typo

* docs(gnome-extensions): Mention github repo

* fix(gnome-extensions): Version checking

* chore(gnome-extensions): Make operation order better for reading

* feat(gnome-extensions): Use new PK ID installation method

* fix(gnome-extensions): Unbound variable error

* fix(gnome-extensions): Legacy config order logic

* docs(gnome-extensions): Fix spacing

* docs(gnome-extension): Delete false-claim about better config readability

* chore(gnome-extensions): Add safe check for "null" in if `jq` parsing

* chore(gnome-extensions): Update uninstall step to use PK

This will break config for uninstalling extensions in literal names, but I bet that no one uses this feature yet since this extension is still new & fresh, so I'll just break it.

* Revert to the current module state

* docs(gnome-extensions): Add README details about missing gschema.compiled file

* chore(gnome-extensions): Introduce hybrid literal-name/PK config

If 2 or more same-named extensions are recommended, then user is recommended to use PK ID instead.

* chore(gnome-extensions): Ignore ShellCheck 2128 error, since it's harmless & intended

* chore(gnome-extensions): Also ignore harmless SC2178 notice

* chore(gnome-extensions): Use UUID for matching compiled.gschema workaround rather than extension name

* docs(gnome-extensions): Add note in module.yml that PK can be used
2024-06-05 13:29:20 +00:00
fiftydinar
0f5b3d69d7 chore(brew): Remove redundant dots in log 2024-06-04 16:30:28 +02:00
fiftydinar
1786a30e5e chore(brew): Automatically install gcc if not present 2024-06-04 16:27:50 +02:00
fiftydinar
bd42e6b7c8
docs(brew): Fix uninstallation script echo typo 2024-06-03 23:57:35 +02:00
fiftydinar
49fe44917f fix(brew): Broken path in brew-fish-completions.fish pt.2
Forgot that we name it a bit differently than Bluefin
2024-06-03 20:42:20 +02:00
zelikos
8ebbc4b59a
fix(brew): Broken path in brew-fish-completions.fish 2024-06-03 14:30:18 -04:00
xyny
ccc426454f
docs(brew): misc changes to shortdesc 2024-06-03 10:24:47 +00:00
fiftydinar
06a1f4bd40
docs(brew): Remove miscopied sentence 2024-06-03 12:14:28 +02:00
xyny
1d915bad0d
docs(brew): misc grammar changes (#250) 2024-06-03 10:11:20 +00:00
xyny
978ff8e3ef
docs(brew): fix caution 2024-06-03 10:09:13 +00:00
Thomas Mecattaf
a7e074fe36
feat: Add Brew module (#239)
* feat(brew): add new Brew module for Homebrew installation and management

* feat(brew): add new Brew module for Homebrew installation and management

* feat(brew): part 2 of adding new Brew module for Homebrew installation and management

* feat(brew): part 2.2 of adding new Brew module for Homebrew installation and management

* feat(brew): part 3 of adding new Brew module for Homebrew installation and management

* docs: Add kebab-cases for module entries in README

* docs: Don't add whitespaces in module.yml

* chore: Use arrays for package list & add quotes + brackets to some strings

to make it more safe.

* feat(brew): systemd services and timers written dynamically

* feat(brew): systemd services and timers written dynamically 2

* feat(brew): clean up fish completion file name

* chore: Remove duplicate brew completions file

* feat(brew): tweak in brew.sh 3

* chore: Rename shell completion to completions pt. 1

* chore: Rename shell completion to completions pt. 2

* chore: Rename shell completion to completions pt. 3

* feat(brew): Nofile Limits flag, update brew.sh module.yml and README.md

* feat(brew): Brew analytics opt-out flag

* Brew Analytics Enabled by default in docs

* docs: `build-time` instead of `build time`

* docs: Improve `gcc` package log explanation

* fix(brew): Fetching YAML entries due to miss of transition from `_` to `-`

* chore(brew): Improve disabling analytics write to `environment`

* chore(brew): Add script for modifying nofile limit

* chore(brew): Forgot to source the nofile script

* chore(brew): Disable option of installing packages pt.1

* chore(brew): Disable option of installing packages pt.2

* chore(brew): Disable option of installing packages pt.3

* docs(brew): Remove installing packages as a feature

* chore(brew): Add more logs

* chore(brew): Fix typos in logs

* fix(brew): Use `awk` instead of `grep` which fails for stupid reason

Without any error logs either.

* fix(brew): Update & upgrade permutation

* docs(brew): Fix upgrade & update permutation

* chore(brew): Make small tweaks to brew-analytics

If environment is empty, than don't make the extra whiteline

* docs(brew): Slight order adjustment in README inside "Features"

* docs(brew): Add link to Homebrew

* docs(brew): Add note about uninstalling brew

* docs(brew): Include explanation on why manual uninstallation is necessary

Also give big thanks to M2

* docs(brew): Further explain on why the manual uninstallation is needed

* docs(brew): Add link to files module documentation

* docs(brew): Be more detailed about how the module works

* docs(brew): Some small fixes & restore credits

* docs(brew): Rename Brew to Linuxbrew

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

* docs(brew): Change features wording

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

* docs(brew): Reword update & upgrade wording

* docs(brew): Move update & upgrade service labels above timers

* docs(brew): Change brew documentation wording

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

* docs(brew): Syntax highlighting for bash script

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

* docs(brew): Improve uninstallation intro wording

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

* docs(brew): Move brew-analytics above warning

* docs(brew): Update update/upgrade ordering pt. 1

* docs(brew): Update update/upgrade naming pt. 2

* docs(brew): Update update/upgrade order pt. 3

* chore(brew): Use `#!/usr/bin/env fish` instead of `#!/usr/bin/fish`

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

* chore(brew): Use `#!/usr/bin/env bash` instead of `#!/bin/sh`

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

* chore(brew): Set shellcheck from sh to bash

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

* fix(brew): Convert SH-ism to bash in bash completion

* chore(brew): Use double brackets in bash shell completion

* chore(brew): Make rc in brackets

* chore(brew): Use more double brackets

* chore(brew): Add more double brackets pt. 2

* chore(brew): Make bash shell completion spacing better

* chore(brew): Revert to `bash-completions` completion

* docs(brew): Add comment about why bash completion uses sh

* fix(brew): Apply brew path clash fix

* docs(brew): Explain brew path clash fix

* docs(brew): Add file location of brew path fix

* docs(brew): Reword exporting brew path

* docs(brew): Reword again

* docs(brew): Reword...

* chore(brew): Copy bash completion to `/usr/etc` instead of `/etc`

* chore(brew): Make `/usr/etc/profile.d` if it doesn't exist

* docs(brew): Fix typo in README

* docs(brew): Use caution card instead of warning string

* docs(brew): Brew path reword

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

* chore(brew): Implement code comment fix

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

* docs(brew): Try to improve `nofile-limits` section

* docs(brew): Use serverfault link instead

* docs(brew): Thread, not article

* docs(brew): Improve Configuration section

* docs(brew): Than vs then

Love to mess this one

* docs(brew): Uninstall script wording fix

---------

Co-authored-by: fiftydinar <65243233+fiftydinar@users.noreply.github.com>
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-06-03 09:25:45 +00:00
xyny
012d68d894
docs(chezmoi): fix using underscores as delimiters in docs, when code uses dashes (#242)
* docs(chezmoi): fix using underscores as delimiters in docs, when code uses dashes

this apparently was just a documentation problem, not an actual issue

* fix: change enable-all-users to all-users

* docs: change remaining underscores in readme to dashes

* fix: remove install-chezmoi key

* fix: rename changed-file-policy to file-conflict-policy
2024-06-02 11:23:53 +00:00
Andrey Brusnik
cea8f62efa
fix(gnome-extensions): Fix x2 workaround for Fly-Pie
EXT_UUID is undefined too in legacy config logic
2024-06-02 04:09:39 +04:00
Andrey Brusnik
0dc909a911
fix(gnome-extensions): Fix workaround for Fly-Pie
INSTALL_EXT is undefined in legacy config logic, but EXTENSION_NAME is defined here
2024-06-02 03:58:29 +04:00
fiftydinar
4c028bb1d8 fix(gnome-extensions): Fly-Pie extension not working pt.2
Forgot that this one also doesn't include `gschemas.compiled` in ZIP, unlike some extensions, so just compile the schema always to the UUID extension directory.
2024-06-02 00:58:46 +02:00
fiftydinar
f50b02db2b fix(gnome-extensions): Fly-Pie extension not working
It requires hard-coded compiled schema to be in extension UUID folder, else it fails.

Rest of the explanation can be seen in code comments.
2024-06-02 00:27:33 +02:00
fiftydinar
5df21fac2b docs(gnome-extensions): Fix README title formatting 2024-05-28 00:51:52 +02:00
fiftydinar
fd5e46fbe4 fix(gnome-extensions): Fix all jq commands 2024-05-27 22:04:59 +02:00
fiftydinar
b9e10da0f8 chore(gnome-extensions): Remove -I=0 flag, since it might be incompatible with jq 2024-05-27 21:11:47 +02:00
fiftydinar
7332928506
docs(gnome-extensions): Make caution about legacy configuration clearer
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-05-27 21:08:08 +02:00
fiftydinar
a0dab808f6
chore(gnome-extensions): Remove unneded ending log print
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-05-27 21:07:21 +02:00
fiftydinar
8f4857c8a6
chore(gnome-extensions): Remove unneded to-do comment
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-05-27 21:05:50 +02:00
fiftydinar
8fa97b5892 chore(gnome-extensions): Use jq instead of yq for parsing JSON 2024-05-27 21:03:25 +02:00
fiftydinar
64570aed40 fix(gnome-extensions): There is no need to use echo when bash substitution exists
Thanks to ShellCheck
2024-05-27 10:41:42 +02:00
fiftydinar
5ca57235bf fix(gnome-extensions): Use echo only, ditch sed for whitespace replace
Why use `sed` when `echo` can be utilized.

Thanks to ShellCheck.
2024-05-27 10:33:59 +02:00
fiftydinar
6c7ca18921 fix(gnome-extensions): Syntax errors reported by ShellCheck 2024-05-27 10:23:16 +02:00
fiftydinar
5b954d2d8f
Merge branch 'main' into gnome-extensions-rewrite 2024-05-27 10:22:35 +02:00
fiftydinar
22f18acd65 chore(gnome-extensions): Add safe-check for main extension directory on uninstallation 2024-05-27 10:19:38 +02:00
fiftydinar
629ab53d52 refactor(gnome-extensions): Support for automatic install of latest Gnome extensions
Also adds support for uninstalling extensions.

Legacy config is still compatible, but it is advised to migrate to latest config. Users are warned about this in logs.

I find this pretty much ready, except I think about something down below.

Latest Gnome extension version, that is compatible with Gnome version of the image, is installed by default.
Legacy config format can be used to have this support, but I want to depreciate legacy config format in the future.
So Idk If I should add this feature as an option in new config format.
It can be useful in case of some extension regressions.
2024-05-27 10:04:08 +02:00
xyny
f754bb7cc0 docs: installing from RPM URL 2024-05-19 18:20:42 +03:00
xyny
3b1ba3b853 feat: detect URLs and always install them using rpm-ostree install #226
`rpm-ostree override remove --install` doesn't seem to support installing directly from URLs
2024-05-19 18:11:46 +03:00
fiftydinar
62232260b4 docs(default-flatpaks): Add known issue about https://github.com/blue-build/modules/issues/231 2024-05-17 09:03:21 +02:00
qoijjj
bc0cfd7381
fix(rpm-ostree): switch wget to curl for coreos compatibility (#224)
use curl instead of wget in rpm-ostree module so it can be used with ucore/coreos base images
2024-05-10 18:04:01 +00:00
exponentactivity
d1ff4ad5f5
fix: Debug output is enabled despite DEBUG=false
Fixes #221
2024-05-09 17:14:18 +02:00
exponentactivity
ca2214f05a
Merge branch 'blue-build:main' into main 2024-05-09 17:07:22 +02:00
exponentactivity
d575a32696
fix: chezmoi-update.service fails when dotfiles have changed
Fixes #219
2024-05-09 15:27:12 +02:00
fiftydinar
e83831e3cc
chore(yafti): Freeze yafti version until refactored yafti is tested 2024-05-09 12:09:45 +02:00
Matt Norton
aba83efa49
Fix spelling error in README.md 2024-05-08 15:25:05 +01:00
xyny
d46ef9baec
fix(chezmoi): readme typo 2024-05-06 16:04:10 +00:00
exponentactivity
824fa565e5
feat: Add Chezmoi module (#215)
* build: Added cosign.pub

* Feat: Add chezmoi module

* Excaped characters making build fail

* Switch ` for '

* Fixed syntax issues

* Fixed bash syntax and systemctl parameters

* Update modules/chezmoi/module.yml to correct README url

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

* Used -z instead of `! -n`

* Fixed default settings

* Made script more verbose to ease debugging

* Fixed wrong default values

* Changed output to be more meaningful

for the end user, instead of the developer.

* Added debugging function

* Rename `install` > `install_chezmoi`, imrpove docs

Gave `install` a clearer name.
Added information to docs and improved readability.

* Fixed conditional check for set variable

* Removed unneeded commands and updated output.

* Change to official public key

* Fixed invalid systemd targets

* Fix chezmoi dir being created but not populated

~/.local/share/chezmoi is created before this service runs, failing `ConditionPathExists=!%h/.local/share/chezmoi`.
`.git` only exists if a repository has been cloned there.

* Made variable naming conform to project style

* fix: Redo suggested commits

I accidently overwrote some commits.

* docs: Explain what lingering does

* docs: fix typo in shortdesc

(oops my fault)

---------

Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-05-06 15:48:39 +00:00
fiftydinar
774c9a8d55 chore(gnome-extensions): Add check if Gnome DE is used 2024-05-05 22:39:20 +02:00