Commit graph

586 commits

Author SHA1 Message Date
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
609d7105c1
chore(signing): Change cosign key path from /usr/etc/ to /etc/ (#330)
Fixes #273
2024-09-17 09:21:49 +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
9a99c9bb07
fix(default-flatpaks): Default notify value not properly set (#329)
Fixes #268
2024-09-17 09:12:53 +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
fiftydinar
047d3a4f0b
fix(gnome-extensions): Fix workaround for PaperWM (#327)
Similar to issues #243.

Enabling PaperWM extension gives this error:

`GLib.FileError: Failed to open file
“/usr/share/gnome-shell/extensions/paperwm@paperwm.github.com/schemas/gschemas.compiled”:
open() failed: No such file or directory`

I'm not sure how to test the fully test this though. I simply edited the
bash script to do Fly-Pie or PaperWM.
2024-09-15 11:06:53 +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
fiftydinar
e82d69df09
fix: backup and restore staging repo for images that already contain it (#324) 2024-08-21 20:06:06 +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
fiftydinar
477ba2bbfb
feat: switch back to rpm yafti now that it uses pydantic 2 (#323) 2024-08-21 16:00:56 +02:00
qoijjj
b4ccd7cf71
feat: switch back to rpm yafti now that it uses pydantic 2 2024-08-20 20:44:49 -07:00
dependabot[bot]
7ad6f3b1a7
chore(deps): bump hustcer/setup-nu from 3.10 to 3.12 (#320)
Bumps [hustcer/setup-nu](https://github.com/hustcer/setup-nu) from 3.10 to 3.12.
- [Release notes](https://github.com/hustcer/setup-nu/releases)
- [Changelog](https://github.com/hustcer/setup-nu/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hustcer/setup-nu/compare/v3.10...v3.12)

---
updated-dependencies:
- dependency-name: hustcer/setup-nu
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-12 19:48:15 +03:00
fiftydinar
bc847b2a59
chore(deps): bump sigstore/cosign-installer from 3.5.0 to 3.6.0 (#321) 2024-08-12 17:41:17 +02:00
dependabot[bot]
ec1872334f
chore(deps): bump sigstore/cosign-installer from 3.5.0 to 3.6.0
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.5.0...v3.6.0)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 15:35:25 +00: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
fiftydinar
81fa299d32
chore: Update yafti.sh - version 0.9.0 has been released (#1) (#318) 2024-08-11 17:31:32 +02: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
904818197d
docs: Use run-time term, rathern than boot-time in module guidelines 2024-08-08 16:53:13 +02:00
fiftydinar
2bfffac439
fix(rpm-ostree): Same-named repos are overwrited instead of being dow… (#312) 2024-08-05 12:12:49 +02: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
8922f025b6
fix(yafti): Autostart not working due to created duplicate launcher f… (#311) 2024-08-04 23:01:05 +02:00
fiftydinar
e88a44a0fd
fix(yafti): Autostart not working due to created duplicate launcher folder 2024-08-04 23:00:40 +02:00
fiftydinar
5c2a29494f
chore(default-flatpaks): Don't modify the remote title if it's alread… (#310) 2024-08-04 22:54:44 +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
7dd82e1159
feat(rpm-ostree): Add support for installing local repos & RPMs (#303) 2024-08-03 20:35:51 +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
eccb99fa97
fix(yafti): Revert to pip installation method (#308) 2024-08-01 19:11:31 +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
0ccf5ea243
fix(yafti): If system package python3-pydantic is installed, then r… (#307) 2024-08-01 18:15:33 +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
580393cbbd
fix(yafti): Increase repo priority, so yafti & it's dependencies alwa… (#306) 2024-08-01 17:28:03 +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
0faaed7d8a
fix(yafti): Make sure that ublue-os staging repo is always overwritten (#305) 2024-08-01 09:41:28 +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
fiftydinar
778d8bc75b
feat: switch to rpm yafti (#304) 2024-08-01 08:03:55 +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