Commit graph

277 commits

Author SHA1 Message Date
fiftydinar
f50b02db2b fix(gnome-extensions): Fly-Pie extension not working
It requires hard-coded compiled schema to be in extension UUID folder, else it fails.

Rest of the explanation can be seen in code comments.
2024-06-02 00:27:33 +02:00
fiftydinar
5df21fac2b docs(gnome-extensions): Fix README title formatting 2024-05-28 00:51:52 +02:00
fiftydinar
fd5e46fbe4 fix(gnome-extensions): Fix all jq commands 2024-05-27 22:04:59 +02:00
fiftydinar
b9e10da0f8 chore(gnome-extensions): Remove -I=0 flag, since it might be incompatible with jq 2024-05-27 21:11:47 +02:00
fiftydinar
7332928506
docs(gnome-extensions): Make caution about legacy configuration clearer
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-05-27 21:08:08 +02:00
fiftydinar
a0dab808f6
chore(gnome-extensions): Remove unneded ending log print
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-05-27 21:07:21 +02:00
fiftydinar
8f4857c8a6
chore(gnome-extensions): Remove unneded to-do comment
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-05-27 21:05:50 +02:00
fiftydinar
8fa97b5892 chore(gnome-extensions): Use jq instead of yq for parsing JSON 2024-05-27 21:03:25 +02:00
fiftydinar
64570aed40 fix(gnome-extensions): There is no need to use echo when bash substitution exists
Thanks to ShellCheck
2024-05-27 10:41:42 +02:00
fiftydinar
5ca57235bf fix(gnome-extensions): Use echo only, ditch sed for whitespace replace
Why use `sed` when `echo` can be utilized.

Thanks to ShellCheck.
2024-05-27 10:33:59 +02:00
fiftydinar
6c7ca18921 fix(gnome-extensions): Syntax errors reported by ShellCheck 2024-05-27 10:23:16 +02:00
fiftydinar
5b954d2d8f
Merge branch 'main' into gnome-extensions-rewrite 2024-05-27 10:22:35 +02:00
fiftydinar
22f18acd65 chore(gnome-extensions): Add safe-check for main extension directory on uninstallation 2024-05-27 10:19:38 +02:00
fiftydinar
629ab53d52 refactor(gnome-extensions): Support for automatic install of latest Gnome extensions
Also adds support for uninstalling extensions.

Legacy config is still compatible, but it is advised to migrate to latest config. Users are warned about this in logs.

I find this pretty much ready, except I think about something down below.

Latest Gnome extension version, that is compatible with Gnome version of the image, is installed by default.
Legacy config format can be used to have this support, but I want to depreciate legacy config format in the future.
So Idk If I should add this feature as an option in new config format.
It can be useful in case of some extension regressions.
2024-05-27 10:04:08 +02:00
xyny
f754bb7cc0 docs: installing from RPM URL 2024-05-19 18:20:42 +03:00
xyny
3b1ba3b853 feat: detect URLs and always install them using rpm-ostree install #226
`rpm-ostree override remove --install` doesn't seem to support installing directly from URLs
2024-05-19 18:11:46 +03:00
fiftydinar
62232260b4 docs(default-flatpaks): Add known issue about https://github.com/blue-build/modules/issues/231 2024-05-17 09:03:21 +02:00
qoijjj
bc0cfd7381
fix(rpm-ostree): switch wget to curl for coreos compatibility (#224)
use curl instead of wget in rpm-ostree module so it can be used with ucore/coreos base images
2024-05-10 18:04:01 +00:00
exponentactivity
d1ff4ad5f5
fix: Debug output is enabled despite DEBUG=false
Fixes #221
2024-05-09 17:14:18 +02:00
exponentactivity
ca2214f05a
Merge branch 'blue-build:main' into main 2024-05-09 17:07:22 +02:00
exponentactivity
d575a32696
fix: chezmoi-update.service fails when dotfiles have changed
Fixes #219
2024-05-09 15:27:12 +02:00
fiftydinar
e83831e3cc
chore(yafti): Freeze yafti version until refactored yafti is tested 2024-05-09 12:09:45 +02:00
Matt Norton
aba83efa49
Fix spelling error in README.md 2024-05-08 15:25:05 +01:00
xyny
d46ef9baec
fix(chezmoi): readme typo 2024-05-06 16:04:10 +00:00
exponentactivity
824fa565e5
feat: Add Chezmoi module (#215)
* build: Added cosign.pub

* Feat: Add chezmoi module

* Excaped characters making build fail

* Switch ` for '

* Fixed syntax issues

* Fixed bash syntax and systemctl parameters

* Update modules/chezmoi/module.yml to correct README url

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

* Used -z instead of `! -n`

* Fixed default settings

* Made script more verbose to ease debugging

* Fixed wrong default values

* Changed output to be more meaningful

for the end user, instead of the developer.

* Added debugging function

* Rename `install` > `install_chezmoi`, imrpove docs

Gave `install` a clearer name.
Added information to docs and improved readability.

* Fixed conditional check for set variable

* Removed unneeded commands and updated output.

* Change to official public key

* Fixed invalid systemd targets

* Fix chezmoi dir being created but not populated

~/.local/share/chezmoi is created before this service runs, failing `ConditionPathExists=!%h/.local/share/chezmoi`.
`.git` only exists if a repository has been cloned there.

* Made variable naming conform to project style

* fix: Redo suggested commits

I accidently overwrote some commits.

* docs: Explain what lingering does

* docs: fix typo in shortdesc

(oops my fault)

---------

Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-05-06 15:48:39 +00:00
fiftydinar
774c9a8d55 chore(gnome-extensions): Add check if Gnome DE is used 2024-05-05 22:39:20 +02:00
Alexis Purslane
3ddc1d6de0
docs(files): re-add file documentation (#205) 2024-04-13 09:34:19 +00:00
fiftydinar
a7a78bda0e docs(gnome-extensions): Add missing step where gschema is compiled 2024-04-11 21:59:14 +02:00
fiftydinar
47b371c3b7 fix(gnome-extensions): Stupid missing quote 2024-04-11 21:31:26 +02:00
fiftydinar
00204a1114 fix(gnome-extensions): Extensions can't see gschema.xml, even when it's present
Gschema needs to be compiled also.

It worked for me initially, because I use `gschema-overrides` module after `gnome-extensions`, which does the same thing.

So I missed this crucial step.
2024-04-11 21:22:37 +02:00
fiftydinar
a1297a2ebd fix(gnome-extensions): Fix wget directory prefix 2024-04-11 19:39:48 +02:00
fiftydinar
305342eb3d fix(gnome-extensions): Make folder if it doesn't exist for archive 2024-04-11 19:30:58 +02:00
fiftydinar
d964693898 fix(gnome-extensions): Use wget instead of curl
`wget` might be more reliable for downloading things, which is performed in this module.

Some user faced the error with extension that didn't download fully, causing the `unzip` command to fail.
I tested the same extension & it installed successfully for me.

This was maybe a server error, maybe `curl`'s, but I will still do this change, as I have more trust in `wget` for strictly downloading things.
2024-04-11 19:22:07 +02:00
fiftydinar
b4af81b28e fix(gnome-extensions): Don't require extensions gschema file
Some extensions simply don't have preferences.
2024-04-10 21:27:20 +02:00
fiftydinar
16a96c22fc
docs: Make extensions with additional dependencies section even better
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-04-10 19:15:03 +02:00
fiftydinar
5cc81a489b docs: Fix grammar in logs for non-specified module input 2024-04-10 19:13:19 +02:00
fiftydinar
47c99acfe6 docs: Get rid of unnecessary comments in module.yml 2024-04-10 19:12:06 +02:00
fiftydinar
eac23050ad docs: Add explanation on how to install additional system dependencies if needed for extension 2024-04-10 19:06:55 +02:00
fiftydinar
2f14404e06 docs: Get rid of redundant Usage instructions 2024-04-10 18:54:13 +02:00
fiftydinar
bb56fb94a8 style: Make "DONE" in logs symmetric & get rid of gettext-domain term 2024-04-10 18:50:27 +02:00
fiftydinar
2f711abb2a
docs: Change title to be clearer & to avoid gettext-domain & module-input terms
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-04-10 18:29:21 +02:00
fiftydinar
4578c2f024
docs: Add clearer Usage instructions
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-04-10 18:27:25 +02:00
fiftydinar
2004690aa6
docs: Use "releases" term instead of "end-releases"
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-04-10 18:11:31 +02:00
fiftydinar
5e393fee44 docs: Update "Usage" with more accurate steps on how to get the recipe input 2024-04-09 19:44:30 +02:00
fiftydinar
10f53b27e6 fix: Revert icons installation
It's more reliable to have them in main extension folder instead

They appear to work.
2024-04-09 14:21:06 +02:00
fiftydinar
5b4b47e6e0 style: Make icons log more readable 2024-04-09 14:07:49 +02:00
fiftydinar
6f8cef496c feat: Copy icons if they exist & add better checks for gschema 2024-04-09 13:58:53 +02:00
fiftydinar
1ed844fd85 fix: Get rid of gettext-domain key, install key is already sufficient 2024-04-09 09:09:43 +02:00
fiftydinar
c2ffe9c20e style: Add more info about which extension is installed in logs 2024-04-09 09:05:42 +02:00
fiftydinar
ae1a7b53bf docs: "Almost all" extensions compatibility is true now. 2024-04-08 22:19:52 +02:00