Commit graph

610 commits

Author SHA1 Message Date
fiftydinar
3b646c181a
chore(akmods): Revert using readonly
It looks less clean & readable in code
2024-10-01 18:03:49 +02:00
fiftydinar
15704737e0
docs: Some more refinements to readonly 2024-10-01 14:45:14 +02:00
fiftydinar
e3da6ea5e6
docs: Clarify readonly scenario a bit more 2024-10-01 14:36:44 +02:00
fiftydinar
282deb4697
docs: Reorder code rules to fit better 2024-10-01 14:35:29 +02:00
fiftydinar
15d308b7e5
docs: Clarify usage of readonly for dynamic variables/functions 2024-10-01 14:33:48 +02:00
fiftydinar
58946ae173
chore(akmods): Utilize readonly for static variables 2024-10-01 14:26:53 +02:00
fiftydinar
c8fc3c8dd5
docs: Add info about using readonly in bash modules 2024-09-30 10:45:22 +02:00
xyny
c80bbcfb01
fix(script): only cd into scripts directory if scripts are defined (#335) 2024-09-19 15:15:33 +02:00
dependabot[bot]
bd1ff5d0bc
chore(deps): bump hustcer/setup-nu from 3.12 to 3.13 (#326)
Bumps [hustcer/setup-nu](https://github.com/hustcer/setup-nu) from 3.12 to 3.13.
- [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.12...v3.13)

---
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>
Co-authored-by: fiftydinar <65243233+fiftydinar@users.noreply.github.com>
2024-09-19 10:55:18 +02:00
Như Bảo Trương
e781b0b1ea
Fix: rpm-ostree don't quote REPLACE_STR (#333)
rpm-ostree don't quote REPLACE_STR

Quoting ${REPLACE_STR} makes it being considered 1 package, failing pipelines
2024-09-19 08:13:46 +02:00
Gerald Pinder
4070610b24 chore: Update public key 2024-09-18 17:40:14 -04:00
fiftydinar
dd27d55587
docs: Add info on standardized way to download files 2024-09-18 10:32:11 +02:00
fiftydinar
c3e3c14dc7
chore: Switch from wget to curl (#332)
Closes #210
2024-09-18 10:22:30 +02:00
fiftydinar
3148cb639f
chore: Some further missed standardization 2024-09-18 10:20:31 +02:00
fiftydinar
8f9255cacd
chore: Make curl commands clearer & more standardized 2024-09-18 10:10:52 +02:00
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
31a848c24e
fix: Set curl to silent and fail (#328)
While working on enhanced logging, I noticed that the control characters
for curl's download log was causing weird issues. This is generally not
something you want in docker logging anyways, so I silenced all
instances of curl I could find. I also noticed that many of those same
curl calls were not set to fail, so I updated that too while I was in
there. More atomicity!
2024-09-18 09:00:04 +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
ee40a8105d
chore(fonts): Force clean then regenerate font cache (#331)
Should fix some corner cases where font is not applied.

Fixes: #213
2024-09-17 13:57:51 +02: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
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