Commit graph

39 commits

Author SHA1 Message Date
fiftydinar
b83e676695
chore: Use cp --update=none instead of cp -n 2025-03-20 12:45:54 +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
1c52771e2b
chore: Switch from using rpm-ostree to using dnf5 in some modules 2025-03-07 01:43:22 +01:00
Gerald Pinder
be0201ce76 fix: Separate models required for separate schema files 2025-01-31 18:28:33 -05:00
Gerald Pinder
d343201724
chore: Update schemas to version all types (#383) 2025-01-30 14:00:08 -05:00
fiftydinar
c3532b7d30
fix(yafti): Forgot to set get_json_array pt. 2 2024-12-03 12:14:50 +01:00
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
3148cb639f
chore: Some further missed standardization 2024-09-18 10:20:31 +02:00
fiftydinar
7112d80598
chore: Switch from wget to curl 2024-09-18 09:31:35 +02:00
fiftydinar
484ee5b57a
fix(yafti): Libadwaita isn't pulled as required dependency
RPM spec doesn't list it for some reason, so it needs to be included manually.

Fixes the issue for the affected non-Gnome users.
2024-09-09 22:01:32 +02:00
qoijjj
d1aeffc2f5
fix: backup and restore staging repo for images that already contain it
recipes with aurora/bluefin as a base image will already have the staging repo present but disabled, meaning wget won't overwrite it.

we don't want to change the repos in the base image in this module, so this backs up the original staging repo, runs the module steps, then restores the original staging repo
2024-08-21 10:42:27 -07:00
qoijjj
b4ccd7cf71
feat: switch back to rpm yafti now that it uses pydantic 2 2024-08-20 20:44:49 -07:00
fiftydinar
59c7882785
chore: Put files in /etc/ instead in /usr/etc (#315)
* docs(files): Recommend to put files in `/etc/` instead in `

This also modifies build-time part of modules to work with `/etc/` instead of `/usr/etc/`

* docs(files): Revert the `/usr/etc/` & `/etc/` docs

* chore: Revert `signing` module transition due to upstream issue

* docs: Clarify note better regarding /etc
2024-08-11 17:07:55 +00:00
David Personette
4dcc6cc353
chore: Update yafti.sh - version 0.9.0 has been released (#1) 2024-08-11 15:27:40 +00:00
fiftydinar
e88a44a0fd
fix(yafti): Autostart not working due to created duplicate launcher folder 2024-08-04 23:00:40 +02:00
fiftydinar
2880d6254d
fix(yafti): Revert to pip installation method
`rpm-ostree` method is not capable of installing yafti's older version of `python3-pydantic` instead of being confused between both system's & yafti's version of that package.

I tried to increase `ublue-os staging` repo priority, where yafti resides, but that doesn't work.

Pip method while not flawless with its hardlinking errors when same system package tries to get installed, it at least finishes yafti install successfully.
2024-08-01 19:07:13 +02:00
fiftydinar
d135b77309 fix(yafti): If system package python3-pydantic is installed, then remove it
Yafti's older version of it should be installed instead
2024-08-01 18:14:41 +02:00
fiftydinar
571c641252 fix(yafti): Increase repo priority, so yafti & it's dependencies always get installed
As oppositely from system repos.
2024-08-01 17:27:20 +02:00
fiftydinar
2cd7509344
fix(yafti): Make sure that ublue-os staging repo is always overwritten
Fixes build fails in Bluefin/Aurora-based images, since they disable this repo with same filename.
2024-08-01 09:39:37 +02:00
fiftydinar
0dfe1bb314
chore(yafti): Pin version to 0.8.0
Assures that users won't get suddenly get refactored yafti someday. It would also let us have more time to update yafti docs before merging updated yafti version.
2024-08-01 08:14:02 +02:00
qoijjj
f664008e4e
feat: switch to rpm yafti 2024-07-31 21:49:54 -07:00
xyny
af2db664ac
fix(yafti): create yafti directory before attempting copy (#299) 2024-07-27 12:24:49 +00:00
xyny
e749fe71d3 chore: remove raw github URLs from module.ymls (unneeded after recent refactor) 2024-07-26 16:02:32 +03:00
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
e83831e3cc
chore(yafti): Freeze yafti version until refactored yafti is tested 2024-05-09 12:09:45 +02:00
xynydev
4cf2273c6c docs(yafti): explain what yafti is 2024-03-03 19:29:03 +02:00
xynydev
d0110160ba chore: change the rest of readme urls in module.ymls 2024-02-21 17:38:01 +02:00
xynydev
c6aea9234c chore: replace URLs with ublue-os/bling 2024-02-21 16:39:34 +02:00
xynydev
03ac42e16f fix: switch urls to fetch main branch in module.ymls 2024-02-04 18:18:35 +02:00
xyny
5e455a1477
refactor: start using module.yml for module metadata (#116)
* feat: add initial module.yml for rpm-ostree

* chore: add shortdesc to module.yml

* feat: add missing module.ymls

* feat: add website rebuild action for module reference updates

* chore: remove old readme in modules dir

* refactor: switch to a hybrid module.yml + README arrangement

* chore: switch docs to use starlight aside syntax
2024-02-04 16:05:22 +00:00
xynydev
47e70e07da fix: ignore error when yafti.yml present 2024-01-27 19:07:31 +02:00
xynydev
111466c16c feat: include files in yafti module 2024-01-24 18:42:34 +02:00
Nick Saika
17bacbe3da
fix: Fix flag ordering in set calls in scripts (#99)
The README for scripts has an incorrect use of the `set`. Where it says
to use:

	set -oue pipefail

it should be:

	set -euo pipefail

since `pipefail` is an option consumed by `set -o`.

More information: https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
2024-01-16 06:12:08 +00:00
Micah Abbott
623834bb3b
chore: force create firstboot symlink in yafti module (#82)
I switched my custom ublue image from using
"ublue-os/silverblue-nvidia" to "ublue-os/bazzite-gnome-nvidia" and
received the following error when the build action kicked off:

`ln: failed to create symbolic link '/usr/etc/profile.d/ublue-firstboot.sh': File exists`

The yafti module should be the only thing creating this symlink, so it
should be safe to use the `-f` flag to force creating it.

Signed-off-by: Micah Abbott <miabbott@redhat.com>
2023-12-21 05:59:33 +00:00
xyny
4e79916835
docs: enhacements to module documentation (#54)
* docs: chore: rn ":" from "Example configuration"

* docs: correct title casing for fonts module title

* docs: document OS_VERSION in example,...
non-copr example for rpmrepos

* docs: remove bling fonts option from bling example

* docs: start yafti README the same way as others
"The yafti module..."
2023-10-01 08:41:01 -07:00
gerblesh
69b4ced037
docs(startingpoint): fix typos with formatting (#35) 2023-09-11 05:25:46 +00:00
xyny
7c4dd1553e
feat: startingpoint modules (#33)
* feat: add startingpoint modules
some modules authored by @gerblesh
original source: https://github.com/ublue-os/startingpoint/pull/135

* docs: better readme for modules dir

* docs: yafti deps

* docs: sp more information

* feat: startingpoint modules in container

* docs: sentence structure, check sidebar
2023-09-10 14:29:26 +00:00