Commit graph

533 commits

Author SHA1 Message Date
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
fiftydinar
c7d99d7622
fix(gnome-extensions): Stupid missing quote (#200) 2024-04-11 21:31:40 +02:00
fiftydinar
47b371c3b7 fix(gnome-extensions): Stupid missing quote 2024-04-11 21:31:26 +02:00
fiftydinar
4557175026
fix(gnome-extensions): Extensions can't see gschema.xml, even when it… (#199) 2024-04-11 21:22:53 +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
e4a9978658
fix(gnome-extensions): Fix wget directory prefix (#196) 2024-04-11 19:40:07 +02:00
fiftydinar
a1297a2ebd fix(gnome-extensions): Fix wget directory prefix 2024-04-11 19:39:48 +02:00
fiftydinar
e55915bffd
fix(gnome-extensions): Make folder if it doesn't exist for archive (#195) 2024-04-11 19:31:14 +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
cec5e6c1ea
fix(gnome-extensions): Use wget instead of curl (#194) 2024-04-11 19:24:04 +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
67c40eb4bc
fix(gnome-extensions): Don't require extensions gschema file (#193) 2024-04-10 21:29:27 +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
xyny
c932050d24
fix(modules.json): add missing comma 2024-04-10 17:38:38 +00:00
fiftydinar
22b49ae5fb
docs: Add gnome-extensions to the website (#192) 2024-04-10 17:25:45 +00:00
fiftydinar
a53ae7d91c
feat: gnome-extensions module (#190) 2024-04-10 19:17:15 +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
fiftydinar
5ab351bfda fix: Get rid of SCHEMA_ID dependency!
gschema.xml can be copied without knowing the original name.
2024-04-08 22:16:46 +02:00
fiftydinar
a71bd6cc55 feat: Add full extension name for most error logs 2024-04-08 21:32:00 +02:00