Commit Graph

2955 Commits

Author SHA1 Message Date
clan-bot
978b450865 Merge pull request 'docs: secrets: list the main steps of the guide' (#1456) from DavHau-dave into main 2024-05-27 10:05:55 +00:00
DavHau
63ee7d8ab1 docs: secrets: list the main steps of the guide
... so the user has a routh idea about the mein steps
2024-05-27 12:02:29 +02:00
clan-bot
82fb1a812a Merge pull request 'A Kenji Clan/Cli/Fix Naming' (#1455) from a-kenji-clan/cli/fix-naming into main 2024-05-27 09:54:36 +00:00
a-kenji
c47916651c clan: fix description of cli tool 2024-05-27 11:51:25 +02:00
Jörg Thalheim
e23755d78e make git-hooks opt-in
pre-commit hook break git commits and are disruptive.
Therefore people that want to enable this feature, should enable it locally instead.
I.e. treefmt will also check untracked files that are not meant for the current commit.
2024-05-27 11:08:17 +02:00
clan-bot
a21e246e97 Merge pull request 'clan: facts generate allow regeneration of facts' (#1447) from a-kenji-clan/feat/facts-regenerate-1403 into main 2024-05-26 21:00:38 +00:00
a-kenji
578fc55e40 clan: facts generate allow regeneration of facts
Add `--regenerate` flag to `clan facts generate` which allows forcing
the generation of facts, regardless of their current existence.

Examples:
```
clan facts generate [MACHINE] --regenerate
```
or
```
clan facts generate [MACHINE] --service [SERVICE] --regenerate
```
2024-05-26 22:55:48 +02:00
clan-bot
6b15862f12 Merge pull request 'clan: facts generate specific service' (#1446) from a-kenji-feat/clan/facts-generate-service-1395 into main 2024-05-26 19:57:17 +00:00
a-kenji
4e87389a4d clan: facts generate specific service
Add `--service` flag to the `clan` cli which allows specifying a certain
service to be generated.

Example:

```
clan facts generate [MACHINE] --service [SERVICE]
```

Fixes #1395
2024-05-26 21:52:56 +02:00
clan-bot
85a9c5d611 Merge pull request 'Webview: improve linting & typechecks' (#1445) from hsjobeki-main into main 2024-05-26 16:41:11 +00:00
Johannes Kirschbauer
a3a250b57d Webview: improve linting & typechecks 2024-05-26 18:37:29 +02:00
clan-bot
2a1ebc63f0 Merge pull request 'Api: init response envelop' (#1444) from hsjobeki-feat/api-improvements into main 2024-05-26 16:08:02 +00:00
Johannes Kirschbauer
2d9be0e603 API: handle functions with multiple arguments 2024-05-26 18:04:49 +02:00
Johannes Kirschbauer
5e266578ae Api: init response envelop 2024-05-26 15:57:10 +02:00
clan-bot
a4ffc78e4f Merge pull request 'clan: fix clan facts list [MACHINE]' (#1442) from a-kenji-fix/clan-facts-list into main 2024-05-26 12:29:37 +00:00
a-kenji
ead8118713 clan: fix clan facts list [MACHINE]
Fix `clan facts list [MACHINE]`.
The get command returned a dictionary of bytestrings.
We now convert them to strings.
2024-05-26 14:26:08 +02:00
clan-bot
ce83726a57 Merge pull request 'api: improve message serialisation' (#1440) from hsjobeki-feat/api-improvements into main 2024-05-26 12:20:11 +00:00
Johannes Kirschbauer
daa0be20de api: fix breaking tests 2024-05-26 14:17:17 +02:00
Johannes Kirschbauer
1dafa44ab8 api: convert name casing 2024-05-26 13:54:21 +02:00
Johannes Kirschbauer
bff3d3be5b webview: fix typo 2024-05-26 13:41:07 +02:00
Johannes Kirschbauer
bacc862d52 fix: tests 2024-05-26 13:41:05 +02:00
Johannes Kirschbauer
27ecbca557 api: improve message serialisation 2024-05-26 13:40:47 +02:00
clan-bot
998789f75e Merge pull request 'Add draft: Git Based Machine Deployment with Clan-Core' (#1439) from Qubasa-main into main 2024-05-25 16:37:39 +00:00
Qubasa
8aaddb53a0 Add draft: Git Based Machine Deployment with Clan-Core 2024-05-25 18:34:19 +02:00
clan-bot
a6f3c71344 Merge pull request 'blog: fix typos' (#1436) from a-kenji-fix/typos-1 into main 2024-05-25 10:34:05 +00:00
a-kenji
bfe8b1c5e5 blog: fix typos 2024-05-25 11:57:28 +02:00
clan-bot
cff15989a6 Merge pull request 'blog: fix typo on jsonschema post' (#1435) from DavHau-dave into main 2024-05-25 08:41:03 +00:00
DavHau
b20453c697 blog: fix typo on jsonschema post 2024-05-25 10:37:56 +02:00
clan-bot
215930b383 Merge pull request 'blog: add link for discourse comments' (#1434) from DavHau-dave into main 2024-05-25 07:47:56 +00:00
DavHau
8b4009eedf blog: add link for discourse comments 2024-05-25 09:44:49 +02:00
clan-bot
157e6034aa Merge pull request 'blog: custom slug for jsonschema converter post' (#1433) from DavHau-dave into main 2024-05-25 07:37:54 +00:00
DavHau
ee9a35a7ac blog: custom slug for jsonschema converter post 2024-05-25 09:34:50 +02:00
clan-bot
8f9843927a Merge pull request 'blog: improve description of jsonschema post' (#1432) from DavHau-dave into main 2024-05-25 07:12:35 +00:00
DavHau
89cb284402 blog: improve description of jsonschema post 2024-05-25 09:09:20 +02:00
clan-bot
03837330f5 Merge pull request 'blog: add jsonschema blog post' (#1431) from DavHau-dave into main 2024-05-25 07:01:10 +00:00
DavHau
6f4c9247f1 blog: add jsonschema blog post 2024-05-25 08:57:57 +02:00
clan-bot
2f5390a9a9 Merge pull request 'blog: Remove asciinema player' (#1430) from Qubasa-main into main 2024-05-24 15:13:58 +00:00
Qubasa
5de3bd67fd blog: Fix remote url 2024-05-24 17:10:47 +02:00
clan-bot
795010c01f Merge pull request 'blog: Remove asciinema player' (#1429) from Qubasa-main into main 2024-05-24 14:58:52 +00:00
Qubasa
8e8fda967b blog: Remove asciinema player 2024-05-24 16:57:26 +02:00
Qubasa
c175e3fd0a blog: Remove asciinema player 2024-05-24 16:54:51 +02:00
clan-bot
c40591df09 Merge pull request 'blog: Remove pictures.' (#1428) from Qubasa-main into main 2024-05-24 13:53:28 +00:00
Qubasa
5fd02a8c67 blog: Remove pictures. 2024-05-24 15:50:14 +02:00
Luis Hebendanz
b8c778b1ec Merge pull request 'add-pre-commit' (#1413) from fricklerhandwerk/clan-core:add-pre-commit into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1413
2024-05-24 12:39:56 +00:00
Valentin Gagarin
ff5f55e779 add pre-commit check
make sure things are sane before they hit CI, re-purposing the existing
treefmt configuration.

this adds a custom installer for pre-commit hooks, which is inspired by
pre-commit.nix[0], but is much more minimal than the underlying
pre-commit[1] and builds on a historic idea[2] from this repository.

[0]: https://github.com/cachix/git-hooks.nix
[1]: https://github.com/pre-commit/pre-commit
[2]: 930923512c
2024-05-24 12:39:56 +00:00
clan-bot
647e7fe514 Merge pull request 'documentation: add keys' (#1426) from a-kenji-add-keys into main 2024-05-24 11:49:09 +00:00
a-kenji
b5626aae1e documentation: add keys 2024-05-24 13:46:05 +02:00
clan-bot
7c59b68deb Merge pull request 'documenation: use monospace font for code blocks' (#1425) from a-kenji-fix-monospace into main 2024-05-24 11:11:02 +00:00
a-kenji
67ebc38b0b documenation: use monospace font for code blocks
Use monospace font for code blocks.

Fixes: #1337
2024-05-24 13:08:00 +02:00
clan-bot
38f6e182b7 Merge pull request 'clan machines list: reduce noise' (#1418) from a-kenji-fix/output-noisy/1115 into main 2024-05-24 10:58:13 +00:00