Commit graph

269 commits

Author SHA1 Message Date
xyny
be6e4ba5bd
feat: add typespec schemas for modules (#233)
* feat: add typespec for bling and akmods for testing

* chore: temporarily change module source to dev branch

* feat: add missing module typespecs from blue-build/schema

* feat: add schemas for default-flatpaks module

* chore: annotate some parameters as optional

* fix: typo in default-flatpaks schema

* feat: add schema for files module

* feat: add script module schema

* feat: add signing module schema

* docs: add module.yml docs etc.

* fix(default-flatpaks): don't capitalize string in typespec

* feat: add schemas for gnome-extensions

* fix(files): properly declare string: string record type

* chore: add tsp for gschema-overrides

* chore: tsp for systemd module

* chore: add link to systemd tsp to module.yml

* chore: add tsp for yafti module

* feat: add docstrings for files module

* feat: add tsp for chezmoi module

* feat: docstrings for akmods tsp

* feat: docstrings for bling tsp

* feat: docstrings for default flatpaks tsp

* fix: link to files module docs page in files module tsp

* feat: docstrings for fonts module tsp

* feat: add docstrings for gnome extensions tsp

* feat: docstrings for gschema overrides tsp

* feat: docstrings for rpm ostree tsp

* feat: docstrings for script tsp

* feat: docstrings for signing module

* feat: docstrings for systemd tsp

* feat: docstrings for yafti module

* fix: typo in files tsp

* feat: typespec for brew module

* chore: update rpm ostree tsp for keys: prop

* fix: use typespec to declare default values

* fix: errors from previous commit

* docs: add typespec instructions

* docs: chore: add typespec docs link for docs syntax

* chore: switch to semicolon for ending property definitions

* docs: fix: typo inlude -> include

* feat: tsp for justfiles module

* chore: change links to reference main branch

---------

Co-authored-by: fiftydinar <65243233+fiftydinar@users.noreply.github.com>
2024-07-09 16:25:31 +00:00
fiftydinar
82359337db fix(akmods): Syntax error due to redundant fi 2024-07-06 12:45:56 +02:00
fiftydinar
3c0fdee0db chore(akmods): Don't install kernel-devel packages
They are only needed when building the akmods, but not when shipping them.

This should considerably remove the bloat from the images without affecting the existing functionality.
2024-07-06 12:33:01 +02:00
fiftydinar
0a79dfef48 docs(justfiles): Fix note card 2024-07-01 09:03:52 +02:00
xyny
b271363b93
chore: update shortdesc 2024-06-30 10:21:31 +00:00
xyny
26d02531e2
fix: misc readme changes 2024-06-30 10:20:40 +00:00
lorduskordus
5552f66a9e feat(justfiles): Fix outdated comment 2024-06-28 19:45:49 +02:00
lorduskordus
eb1eff4a87 feat(justfiles): Edit 'what is just' doc section 2024-06-27 14:34:14 +02:00
lorduskordus
b7aab581ae feat(justfiles): Added more docs 2024-06-26 20:23:49 +02:00
lorduskordus
8120d05526 feat(justfiles): Explain what just & justfile is 2024-06-26 20:16:58 +02:00
Lordus Kordus
b4ef20b174
feat(justfiles): Use find instead of ls
Co-authored-by: fiftydinar <65243233+fiftydinar@users.noreply.github.com>
2024-06-26 16:17:03 +02:00
fiftydinar
5baf29315a
docs: Fix note box grammar 2024-06-26 15:05:56 +02:00
lorduskordus
6c5b04188c feat(justfiles): Add requested changes 2024-06-26 11:50:40 +02:00
lorduskordus
499f8d2ddb feat: Add justfiles module 2024-06-26 11:50:40 +02:00
lorduskordus
6b1c8e605e feat(rpm-ostree): Add support for replacing base packages with 'rpm-ostree-override replace' 2024-06-25 20:12:22 +02:00
fiftydinar
50257c3a50 docs(akmods): Some better rewording 2024-06-21 22:30:47 +02:00
fiftydinar
1830c5f0d9 docs(akmods): Add note about extra akmods which use different COPR repo 2024-06-21 22:21:40 +02:00
fiftydinar
2c1fdca91f fix(default-flatpaks): Use separate if condition instead of elif when appending IDs to list 2024-06-19 16:59:11 +02:00
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