1
0
forked from clan/clan-core
Commit Graph

1323 Commits

Author SHA1 Message Date
c34664429c clan: add descriptions for reference documentation 2024-05-28 11:37:32 +02:00
eee99730d1 clan: add run_no_stdout function suppressing stdout
Add the `run_no_stdout` function suppressing stdout by default.This
keeps the noise down on most commands, while still
stayingdebuggable.Stdout will be active when the `--debug` flag is
passed to the cli.

Fixes #1443
2024-05-28 11:13:55 +02:00
a0b0e1a0ac editor: improve nixpkgs option completions 2024-05-28 09:34:57 +02:00
d1591d4485 clan: machines --help add examples to help output 2024-05-27 21:01:05 +02:00
ec9f605004 clan: duplicate description field for generation of the reference documentation 2024-05-27 20:29:34 +02:00
efacb7f184 clan: ssh --help add examples
Add examples to the output of `clan ssh --help`.
2024-05-27 20:14:37 +02:00
a704a05b15 clan: rename cLan to clan 2024-05-27 19:52:51 +02:00
c0a54f539a consistent rename cLAN -> Clan 2024-05-27 13:58:32 +00:00
e8bd5ad24b clan: add examples and description to most help
Add examples and description to most toplevel help outputs.
2024-05-27 14:33:58 +02:00
775f993ecc Merge pull request 'clan-cli: Fix nix develop not working in template because of symlink' (#1462) from Qubasa-main into main 2024-05-27 12:05:17 +00:00
0e1478edcd clan-cli: Fix nix develop not working in template because of symlink 2024-05-27 14:00:31 +02:00
bfc1203a8a Merge pull request 'init: vscode .#editor' (#1461) from Qubasa-init/editors into main 2024-05-27 12:00:26 +00:00
2bd8b144b9 init: vscode .#editor 2024-05-27 13:52:54 +02:00
64adf17368 drop offline in nix shell
Otherwise we become gentoo!
2024-05-27 13:40:11 +02:00
6d7849a03c clan: fix description of cli tool 2024-05-27 11:51:25 +02:00
81e0700826 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
4daf036a3c 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
4faab0a20f 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
4c4c94c508
Webview: improve linting & typechecks 2024-05-26 18:37:29 +02:00
b0d5ef01ca Merge pull request 'Api: init response envelop' (#1444) from hsjobeki-feat/api-improvements into main 2024-05-26 16:08:02 +00:00
ab656d5655
API: handle functions with multiple arguments 2024-05-26 18:04:49 +02:00
ed171f0264
Api: init response envelop 2024-05-26 15:57:10 +02:00
270f9d54cb 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
73f486fe13 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
f54c518fd7
api: fix breaking tests 2024-05-26 14:17:17 +02:00
522fd1bcaa
api: convert name casing 2024-05-26 13:54:21 +02:00
be5c3accfe
webview: fix typo 2024-05-26 13:41:07 +02:00
3998efac78
fix: tests 2024-05-26 13:41:05 +02:00
691ae9fb15
api: improve message serialisation 2024-05-26 13:40:47 +02:00
9bb6ed313f clan machines list: reduce noise
Don't log nix error output by default on `clan machines list`.
Log it, if `--debug` is passed.

Fixes #1115
2024-05-24 12:55:14 +02:00
fd29ed4693 Merge pull request 'zerotier-members: fix joining by member ip' (#1397) from a-kenji-fix/by-ip into main 2024-05-21 14:42:35 +00:00
9db4e5cf2f zerotier-members: fix joining by member ip 2024-05-21 16:39:28 +02:00
c1e7e25641
api: fix typing issues 2024-05-21 16:01:57 +02:00
21104a0465
webview: replace dream2nix by buildNpm from nixpkgs to save inputs 2024-05-21 15:52:20 +02:00
e9b0ce6a78
clan ui: add check to build script 2024-05-21 10:09:05 +02:00
d174fbd445
clan ui: move print into log.debug statements 2024-05-20 19:59:50 +02:00
8687801cee
clan ui: setup typed api method 2024-05-20 19:34:49 +02:00
2cb7adb377
clan-ui: rollback default view until webview is ready 2024-05-20 11:08:14 +02:00
a47c2f3e69 zerotier-members: allow joining by zerotier ip 2024-05-19 23:13:26 +02:00
4cfc335e2c fix: segfault gtk when using webkit 2024-05-18 14:14:12 +00:00
e25bd69c68 clan ui: override webkitgtk unbroken on darwin. 2024-05-18 14:14:12 +00:00
fe17f9e1a1 clan ui: integrate webview ui into clan-mananger-gtk 2024-05-18 14:14:12 +00:00
7980f13bed add webview threaded api 2024-05-18 14:14:12 +00:00
fef16a84a9 init webview: add webview ui and list machine as api example 2024-05-18 14:14:12 +00:00
8762ee4420 Migrated blog to mkdocs 2024-05-16 15:08:24 +02:00
fd41badbc6 Add --no-reboot flag to clan machine install 2024-05-14 15:41:15 +02:00
d574faf253 Heavily improve documentation and flake template 2024-05-14 15:41:15 +02:00
e668a7f536 Fix build error 2024-05-14 15:41:15 +02:00
3293ac0c14 fix get_keymap_and_locale 2024-05-14 15:41:15 +02:00
be841cdec2 Removed ssh password login 2024-05-14 15:41:15 +02:00