Commit graph

335 commits

Author SHA1 Message Date
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
xyny
e749fe71d3 chore: remove raw github URLs from module.ymls (unneeded after recent refactor) 2024-07-26 16:02:32 +03:00
Daniel Barenholz
4a433d6112
docs(chezmoi+gschema-overrides): Fix some typos (#298)
* docs(chezmoi): Fix typos

* docs(gschema-overrides): Fix typo
2024-07-26 12:52:12 +00:00
Daniel Barenholz
d78597329d
docs(default-flatpaks): Fix typo (#297)
fix(default-flatpaks): Typo in module.yml
2024-07-26 12:26:56 +00:00
fiftydinar
0a12b0984a
fix(gnome-extensions): Forgot to end-quote echo
Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
2024-07-25 16:41:36 +02:00
fiftydinar
dbc886527f
chore(gnome-extensions): Add check test for connection to the website before performing other steps
Makes it clearer to the user when error is website related
2024-07-25 16:37:57 +02:00
fiftydinar
95109466e8
fix(files): Error-out & fail the build when there's no file/directory supplied in recipe 2024-07-23 14:12:45 +02:00
fiftydinar
2d0feb6e51
Merge branch 'main' into brew-fish-compl-fix 2024-07-22 17:48:13 +02:00
fiftydinar
bb3492b1e9 chore(default-flatpaks): Add ERROR: to the error log for verifying flatpak IDs from FlatHub
Makes it more readable & clearer at the start
2024-07-22 17:43:29 +02:00
fiftydinar
6008d10c14 docs(gnome-extensions): Use 3 ticks instead of 1 for showcasing error in Fly-Pie extension example 2024-07-22 17:33:53 +02:00
fiftydinar
591d581cbf docs(gnome-extensions): Slight style fixes for "Known Issues" section 2024-07-22 17:25:45 +02:00
fiftydinar
189e21af2c docs(gnome-extensions): Clarify known issue about extension-only gschemas.compiled file better 2024-07-22 17:21:37 +02:00
fiftydinar
2d63e610ce
docs(gnome-extensions): Some small additions 2024-07-22 17:06:41 +02:00
fiftydinar
cac6fde96d
docs(gnome-extensions): Add system location explanation 2024-07-22 17:03:22 +02:00
fiftydinar
d8e48d98e9 docs(gnome-extensions): Add known issue about GSConnect not working type of scenario 2024-07-22 16:54:55 +02:00
fiftydinar
df0869a449 chore(files): Update copying directory log to be more precise 2024-07-21 22:45:39 +02:00
fiftydinar
c0929e759c
docs: Update documentation to reflect change from config/ to files/ (#283)
* docs: Update documentation to reflect change from `config/` to `files/`

* docs(files): Match documentation between template & module.yml

* docs(files): Add example about using subfolder

* docs(files): Some small style fixes

* docs: Fix `files/system` typo

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>

* docs: Fix `files/system` typo pt. 2

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>

* chore(files): Update typespec to be compatible with legacy & new recipe

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>

---------

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-07-21 19:21:28 +00:00