Commit graph

566 commits

Author SHA1 Message Date
xyny
012d68d894
docs(chezmoi): fix using underscores as delimiters in docs, when code uses dashes (#242)
* docs(chezmoi): fix using underscores as delimiters in docs, when code uses dashes

this apparently was just a documentation problem, not an actual issue

* fix: change enable-all-users to all-users

* docs: change remaining underscores in readme to dashes

* fix: remove install-chezmoi key

* fix: rename changed-file-policy to file-conflict-policy
2024-06-02 11:23:53 +00:00
fiftydinar
cfe3d163c3
fix(gnome-extensions): Fix workaround for Fly-Pie (#246) 2024-06-02 11:25:07 +02:00
Andrey Brusnik
cea8f62efa
fix(gnome-extensions): Fix x2 workaround for Fly-Pie
EXT_UUID is undefined too in legacy config logic
2024-06-02 04:09:39 +04:00
Andrey Brusnik
0dc909a911
fix(gnome-extensions): Fix workaround for Fly-Pie
INSTALL_EXT is undefined in legacy config logic, but EXTENSION_NAME is defined here
2024-06-02 03:58:29 +04:00
fiftydinar
40c620f161
fix(gnome-extensions): Fly-Pie extension not working pt.2 (#245) 2024-06-02 00:59:21 +02:00
fiftydinar
4c028bb1d8 fix(gnome-extensions): Fly-Pie extension not working pt.2
Forgot that this one also doesn't include `gschemas.compiled` in ZIP, unlike some extensions, so just compile the schema always to the UUID extension directory.
2024-06-02 00:58:46 +02:00
fiftydinar
dce31464c1
fix(gnome-extensions): Fly-Pie extension not working (#244) 2024-06-02 00:38:04 +02:00
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
63503c5574
refactor(gnome-extensions): Support for automatic install of latest G… (#238) 2024-05-28 18:29:12 +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
fiftydinar
55ad698e7f
feat: detect URLs and always install them using rpm-ostree install (#226) (#235) 2024-05-19 17:26:42 +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
xyny
9619250285 fix: only run reviewdog on PRs 2024-05-19 17:48:59 +03:00
xyny
111ab9ebeb feat: add shellcheck github action #225 2024-05-19 17:47:30 +03:00
xyny
20d63f2cdb chore(dx): add shellcheck to recommended vscode extensions 2024-05-19 16:47:32 +03:00
xyny
ab73ad0a51 feat: rebuild website & schemas on push to main #234 2024-05-19 16:34:37 +03:00
fiftydinar
6b810ca37b
docs(default-flatpaks): Add known issue about #231 (#232) 2024-05-17 10:54:47 +02: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
fiftydinar
c3084ad86f
fix(chezmoi): chezmoi-update.service fails when dotfiles have changed (#222) 2024-05-09 17:27:59 +02: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
99235ba05c
chore(yafti): Freeze yafti version until refactored yafti is tested (#220) 2024-05-09 12:48:43 +02:00
fiftydinar
e83831e3cc
chore(yafti): Freeze yafti version until refactored yafti is tested 2024-05-09 12:09:45 +02:00
fiftydinar
2aec125bca
docs(chezmoi): Fix spelling error in README.md 2024-05-08 16:44:36 +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
xyny
836243b9c2
chore: add chezmoi to modules.json 2024-05-06 15:50:35 +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
3a33f7706b
chore(gnome-extensions): Add check if Gnome DE is used (#217) 2024-05-06 12:26:01 +02:00
fiftydinar
774c9a8d55 chore(gnome-extensions): Add check if Gnome DE is used 2024-05-05 22:39:20 +02:00
fiftydinar
8c0e8fa776
docs: Refactor bash module code guidelines (#175)
* docs: Refactor bash module code guidelines

* docs: Merge system & local-user config definition

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

* docs: Remove unnecessary "Bash" title

* docs: Replace "user" with "local-user" in some areas

* docs: Indicate that modules are bash-based in title

* docs: Mention bash in 1st sentence

* docs: Add `set -euo pipefail` & `set -euxo pipefail` in code rules

* docs: Make `set -euo pipefail` part clearer

* docs: Add some terms related to maintainer & user

* docs: Better separate post-install config & recipe.yml config

* docs: Add more details about System Config

* docs: Add real module path example & add example of current module which implements this

* docs: Remove 2nd path example, which can confuse users

* docs: Make yaml config more detailed

* docs: Add config location path in example

* docs: Fix "Module-maintainer" part of doc

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

* docs: Fix "Image-maintainer" part of doc

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

* docs: Fix "Local-maintainer" part of doc

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

* docs: Fix "error-checks" part of doc

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

* docs: Fix "pipefail" part of doc

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

* docs: Replace "Post-install" module config with "Local" term

* docs: Use "Glossary" word instead of "Terms"

* docs: Make information about proper string parsing clearer

* docs: Reword System Config

* docs: Make config info as comments, not as YAML keys

* docs: Add better explanation about how module config functions.

* docs: Make distinction between build-time & boot-time modules clearer

Boot-time is not the ideal term, but it's better than what it was before.

* docs: Fix formatting

---------

Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-05-04 14:03:11 +00:00
dependabot[bot]
7bf3bd83ba
chore(deps): bump sigstore/cosign-installer from 3.4.0 to 3.5.0 (#209)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.4.0...v3.5.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 06:27:02 +00:00
Alexis Purslane
3ddc1d6de0
docs(files): re-add file documentation (#205) 2024-04-13 09:34:19 +00:00
fiftydinar
61ad81ab66
docs(gnome-extensions): Add missing step where gschema is compiled (#201) 2024-04-11 21:59:30 +02:00
fiftydinar
a7a78bda0e docs(gnome-extensions): Add missing step where gschema is compiled 2024-04-11 21:59:14 +02:00