Jörg Thalheim
47010f458c
machines/machines: drop unused qmp wrapper
2024-07-02 11:42:02 +02:00
DavHau
313db5643f
refactor: rename clanCore -> clan.core
2024-06-18 18:32:40 +07:00
Johannes Kirschbauer
b73246bdfd
API: init methods: hw_generate, dns discovery
2024-06-16 16:29:18 +02:00
Johannes Kirschbauer
43e8804eb4
Docs: update machine hardware config instructions
2024-06-15 22:27:46 +02:00
Johannes Kirschbauer
5e39514251
CLI: init hw-generate command
2024-06-15 21:31:23 +02:00
DavHau
07fb01d9db
tests: add test for creating machine on minimal clan
2024-06-09 21:54:04 -07:00
a-kenji
e8241fb7c9
clan: add dynamic completion to clan machines show
2024-06-03 17:06:03 +02:00
Qubasa
d513f66170
clan-cli: Refactor machines/update.py to cmd.run
2024-06-02 10:00:23 +02:00
clan-bot
481f926b17
Merge pull request 'split list machines into show machine command' ( #1521 ) from machines-show into main
2024-05-31 15:00:03 +00:00
Jörg Thalheim
788eae432a
split list machines into show machine command
2024-05-31 16:56:09 +02:00
a-kenji
23ef39a2d9
clan: add dynamic completions
...
Add dynamic completion scaffolding to the clan `cli`.
Also add a dynamic completion mechanism for machines for commands that
have machines as their sole argument.
More intricate dynamic completions will be implemented in follow up
PR's.
2024-05-31 12:55:41 +02:00
Jörg Thalheim
2ae50b7398
allow to override nix options in update/install/flash commands
2024-05-29 10:14:14 +02:00
a-kenji
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
a-kenji
d1591d4485
clan: machines --help add examples to help output
2024-05-27 21:01:05 +02:00
a-kenji
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
clan-bot
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
a-kenji
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
Johannes Kirschbauer
ab656d5655
API: handle functions with multiple arguments
2024-05-26 18:04:49 +02:00
Johannes Kirschbauer
ed171f0264
Api: init response envelop
2024-05-26 15:57:10 +02:00
Johannes Kirschbauer
522fd1bcaa
api: convert name casing
2024-05-26 13:54:21 +02:00
Johannes Kirschbauer
691ae9fb15
api: improve message serialisation
2024-05-26 13:40:47 +02:00
a-kenji
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
Johannes Kirschbauer
c1e7e25641
api: fix typing issues
2024-05-21 16:01:57 +02:00
Johannes Kirschbauer
d174fbd445
clan ui: move print into log.debug statements
2024-05-20 19:59:50 +02:00
Johannes Kirschbauer
8687801cee
clan ui: setup typed api method
2024-05-20 19:34:49 +02:00
Qubasa
fd41badbc6
Add --no-reboot flag to clan machine install
2024-05-14 15:41:15 +02:00
clan-bot
f2a3415e2c
Merge pull request 'clan-cli: add --json and --png flags to machine install' ( #1320 ) from a-kenji-feat/clan-install-json into main
2024-05-07 12:52:21 +00:00
a-kenji
2e821c4525
clan-cli: add --json and --png flags to machine install
...
Allow using `clan machines [machine] install` in conjunction with the
`--json` and `--png` flags.
Fixes #1180
2024-05-07 14:47:13 +02:00
Johannes Kirschbauer
1051367ca4
add cli docs generator
2024-04-30 18:53:00 +02:00
a-kenji
a3f6996d69
clan(help): improve install description
2024-04-26 11:42:18 +02:00
a-kenji
6becce81cb
clan: clan machines install use verbose flag
2024-04-19 16:38:39 +02:00
Jörg Thalheim
f385e0e037
refactor facts command to regenerate facts for all machines
2024-04-15 22:14:54 +02:00
Jörg Thalheim
b3522b73aa
fix case when secrets are regenerated during update/install
2024-04-12 14:46:51 +02:00
Jörg Thalheim
8b4dbc60b5
clan/install: drop -t flag from nixos-anywhere
2024-04-02 13:50:24 +02:00
lassulus
a8d35d37e7
refactor clanCore.secrets -> clanCore.facts
2024-03-27 16:03:16 +01:00
clan-bot
5fd4a63e17
Merge pull request 'clan-vm-manager: Basic pytest framework established' ( #1026 ) from Qubasa-main into main
2024-03-24 22:41:07 +00:00
Qubasa
8ab9d20342
clan-vm-manager: Working pytest skeleton. clan-cli: Fixing devshell depending on itself
2024-03-24 23:36:00 +01:00
lassulus
f16667e25a
refactor secrets & facts -> secret_facts & public_facts
2024-03-23 05:46:54 +01:00
Jörg Thalheim
5ff36a2cd8
nixos-install: also respect port
2024-03-17 22:18:22 +01:00
Jörg Thalheim
9f25f47298
allow to debug nixos-anywhere
2024-03-17 21:36:22 +01:00
Jörg Thalheim
dd0ad2683b
drop secret store logging from install command
2024-03-17 21:32:23 +01:00
Qubasa
372e212c0c
clan_cli: Renamed ClanUrl to FlakeId
2024-03-08 23:47:27 +07:00
Qubasa
f4f3176374
clan-vm-manager: Fix ClanUrl not pickable
2024-03-08 23:23:18 +07:00
Qubasa
e4896814f2
clan_cli: Add TimeTable class to cmd.py. Fix bugs in Machine rewrite
2024-03-08 22:01:54 +07:00
Qubasa
068f89e453
clan_vm_manager: Rewrite of Machine Class Part 1
2024-03-08 15:32:12 +07:00
Jörg Thalheim
ab2defa9e4
add confirmation prompt when installing
2024-03-07 14:13:11 +01:00
Qubasa
31190ed8e5
clan_vm_manager: Extracted VMObject to own component
2024-03-04 12:38:20 +07:00
lassulus
108a37b0a3
clan-cli machines: cache machines_func via store
2024-03-02 11:20:05 +01:00
Qubasa
183c1f4235
clan_vm_manager: Fix qmp shutdown command, bad socket error on retried shutdown
2024-02-26 01:18:13 +07:00
Qubasa
27b9c8915b
clan_vm_manager: Improve VM start and stop switch. Switch will be disabled while stopping vm
2024-02-26 01:04:09 +07:00