Commit graph

351 commits

Author SHA1 Message Date
fiftydinar
a31cc10aeb
fix: Typo for variable in gnome-vrr 2024-09-18 09:33:59 +02:00
fiftydinar
7112d80598
chore: Switch from wget to curl 2024-09-18 09:31:35 +02:00
fiftydinar
fe861fd2d0
chore(rpm-ostree): Fix useless echo 2024-09-18 08:57:25 +02:00
fiftydinar
e4279ce0a3
chore(rpm-ostree): Some style fixes for the previous commit 2024-09-18 08:48:23 +02:00
fiftydinar
c6f5309757
chore(rpm-ostree): Use link for the URL instead of repo name for non-copr repo 2024-09-18 08:43:58 +02:00
fiftydinar
53cb2982e0
fix: Brew profile.d script writing
Unrelated to this PR, but good to fix
2024-09-18 08:25:35 +02:00
Gerald Pinder
12135f7c9c fix: Set curl to silent and fail 2024-09-17 17:30:33 -04:00
fiftydinar
cb0c3bde8b chore(fonts): Force clean then regenerate font cache
Should fix some corner cases where font is not applied.

Fixes: #213
2024-09-17 13:56:58 +02:00
fiftydinar
223fc08759 chore(signing): Change cosign key path from /usr/etc/ to /etc/
Fixes #273
2024-09-17 09:20:13 +02:00
fiftydinar
54d27a1f9d fix(default-flatpaks): Default notify value not properly set
Fixes:
https://github.com/blue-build/modules/issues/268
2024-09-17 09:10:15 +02:00
Lenus Walker
cfe7dcdc8c fix(gnome-extensions): Fix workaround for PaperWM 2024-09-14 11:35:54 -04: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
xyny
ea2720ba4e
feat: support versioning modules (#240)
* feat: add nu script that generates build matrix for github action

* chore: push initial version of new github action for testing

* fix: properly close github template sequence

* chore: screw this i'll write the whole build in nu (nu build script started, continue later)

* fix: individual misspellings and such

(yeah, i'm tired)

* fix: containerfile path

* fix: docker arg syntax

* fix: docker build path?

* feat: code structure, buildx, pushing to registry

* fix: tag image properly

* fix: split arguments properly

* fix: use registry properly

* refactor: move docker build to a separate par-each

* feat: correctly tag versioned modules

* feat: cosign signing, better logging

* fix: cosign syntax

* fix: differentiate log types with more expressive colors

* chore: fix cosign syntax in logs

* fix: capture errors, colocate logs while running paraller

* chore: partly revert "fix: capture errors, colocate logs while running paraller"

This reverts commit 9238a0f1d68183e712b567fc50849964cc964c78.

* chore: bring back capture errors, keep order in logs

apparently do --capture-errors is required for nushell to catch external commands errors

* chore: Revert "chore: bring back capture errors, keep order in logs"

These changes didn't do anything...
This reverts commit 020b9a1bce9456f2167397b49aa24a65f6bec8e6.

* fix: properly tag images in PRs and secondary branches

* fix: use tags-variable instead of "tags" string

* chore: change default-flatpaks module folder structure to be versioned

* fix: also log generated tags for versioned modules

* fix: don't add tags meant for latest image for every version of versioned module

* fix: better logging and inline docs

* fix: better logging pt2

* feat: build-unified for building the legacy modules container with just the latest versions

* fix: correct workflow names

* fix: add missing ansi resets

* chore: add nushell extension to recommendations

* fix: update unified job name

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

* chore: remove matrix output left over from a previous version

---------

Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
2024-08-11 11:20:10 +00:00
fiftydinar
68d93e907e fix(rpm-ostree): Same-named repos are overwrited instead of being downloaded separately 2024-08-05 11:55:02 +02:00
fiftydinar
e88a44a0fd
fix(yafti): Autostart not working due to created duplicate launcher folder 2024-08-04 23:00:40 +02:00
fiftydinar
37466a71cb chore(default-flatpaks): Don't modify the remote title if it's already modified
Wanting to avoid running unnecessary setup in logs as much as possible.

Unfortunately,
`flatpak remote-add` still runs even if repo exists, as it apparently modifies the URL, no matter if it's the same.

I tried to extract & compare input URL & flatpak URL to mitigate this as an condition, but it doesn't work, as flatpak lists repo URL, while we input flatpakref URLs, which are not the same.
2024-08-04 20:37:23 +02:00
fiftydinar
992f4c5b59
Merge branch 'main' into rpm-ostree-local-repo-rpm 2024-08-03 20:25:13 +02:00
fiftydinar
c1685db6c4 chore(rpm-ostree): Simplify the install/remove part in code & make it clearer doc-wise 2024-08-03 20:22:44 +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
5e174e337b
Merge branch 'main' into rpm-ostree-local-repo-rpm 2024-08-01 17:37:50 +02:00
fiftydinar
0a08b12ca3
docs(rpm-ostree): Remove unneeded yml example snippet pt. 2
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-08-01 17:36:06 +02:00
fiftydinar
f11b08d300
docs(rpm-ostree): Remove unneeded yml example snippet
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-08-01 17:35:56 +02:00
fiftydinar
56117afcf9
docs(rpm-ostree): Refine local file yml example pt.2
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-08-01 17:35:26 +02:00
fiftydinar
73160458a2
docs(rpm-ostree): Refine local file yml example
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-08-01 17:34:38 +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
f5aa38ce39
fix(ublue-update): Make sure that ublue-os staging repo is always overwritten 2024-08-01 09:49:12 +02:00
fiftydinar
155cad29f1
Merge branch 'main' into rpm-ostree-local-repo-rpm 2024-08-01 09:42:55 +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
fd4c653d42
chore(ublue-update): Install topgrade as RPM instead using pip 2024-08-01 08:29:36 +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
fiftydinar
fb468ba703 fix(rpm-ostree): Installation of local & URL packages when --install= flag is used 2024-07-31 21:33:19 +02:00
fiftydinar
93ff0d9eb9 fix(rpm-ostree): Syntax error due to forgotten fi 2024-07-31 19:16:50 +02:00
fiftydinar
b05f4e85ff fix(rpm-ostree): Installing local packages
I forgot to append prefix

${CONFIG_DIRECTORY}/rpm-ostree/

to them
2024-07-31 18:53:23 +02:00
fiftydinar
50c9c15c80 fix(rpm-ostree): Only extract repo name from the local repo when copying it 2024-07-31 18:32:37 +02:00
fiftydinar
d9d7d0968e feat(rpm-ostree): Add support for installing local repos & RPMs
I also made installing packages more efficient, as rpm-ostree can install from URL, local RPM & classic RPM package at the same time, so there is no need to keep packages installing separately from URLs as it is now.

I also made logs more informative for install section, so classic RPMs, local RPMs & URL RPMs are printed separately.
2024-07-31 18:26:19 +02:00
xyny
77eb501e86
docs: gschema-overrides clarify relocatable schema example 2024-07-28 10:08:04 +00:00
fiftydinar
210647d810
docs(gschema-overrides): Forgot to change config to files in example configuration 2024-07-28 11:38:47 +02:00
fiftydinar
48d0318248
chore(bling): Remove laptop entry from typespec 2024-07-27 20:57:39 +02:00
fiftydinar
79b2af8f44
chore(bling): Depreciate laptop module pt. 3 2024-07-27 20:55:06 +02:00
fiftydinar
0ce0747f3b
chore(bling): Depreciate laptop module pt. 2 2024-07-27 20:53:33 +02:00
fiftydinar
4973e6004f
chore(bling): Depreciate laptop module pt. 1 2024-07-27 20:53:09 +02:00
xyny
55e93286ff chore(bling): remove flatpaksync, leave a warning message 2024-07-27 17:56:32 +03:00
xyny
368f28ea0b fix(bling): gnome-vrr version check and copr fix 2024-07-27 17:49:46 +03:00
xyny
af2db664ac
fix(yafti): create yafti directory before attempting copy (#299) 2024-07-27 12:24:49 +00:00