Commit Graph

1059 Commits

Author SHA1 Message Date
DavHau
bb1950a4a0 fixtures_flakes.py: remove dead code 2024-07-05 15:55:52 +07:00
DavHau
c9485fb3fd devShells: make all shells inherit from default shell
Currently, important tools from the default shell are lost as soon as select-shell is used to switch to another shell. select-shell itself, for example is missing, which makes it impossible to switch back to another shell.
2024-07-05 15:01:25 +07:00
DavHau
18b64f2d0b clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking} 2024-07-04 17:05:37 +07:00
Jörg Thalheim
9994f3c101 add assertion if FlakeId has wrong value 2024-07-03 18:28:55 +02:00
Jörg Thalheim
a582eb9fd4 don't catch all exceptions when generating facts 2024-07-03 18:28:55 +02:00
Jörg Thalheim
6037ad1ce0 move FlakeId to flake id
move FlakeId to flake id
2024-07-03 18:28:55 +02:00
clan-bot
842d9a360c Merge pull request 'refactor-machine' (#1691) from refactor-machine into main 2024-07-03 10:48:09 +00:00
Jörg Thalheim
2f1dac6962 make machine class now a dataclass 2024-07-03 12:34:43 +02:00
Johannes Kirschbauer
3227de583f API: tests for module instance update 2024-07-02 16:09:13 +02:00
Jörg Thalheim
cc3f99bfaa simplify clan uri further 2024-07-02 12:52:10 +02:00
clan-bot
4d6b84f71c Merge pull request 'remove unused multi machine clan urls' (#1687) from Mic92-main into main 2024-07-02 10:26:14 +00:00
Jörg Thalheim
ae8cff57aa remove unused multi machine clan urls 2024-07-02 12:20:30 +02:00
Johannes Kirschbauer
c73a5e87d4 API: remove performance constraints 2024-07-02 12:15:37 +02:00
Johannes Kirschbauer
9307ca68eb API: add performance constraints 2024-07-02 12:07:45 +02:00
clan-bot
6cf0cc491e Merge pull request 'machines/machines: drop unused qmp wrapper' (#1683) from Mic92-main into main 2024-07-02 10:01:43 +00:00
Jörg Thalheim
54cec7f772 remove unused MachineParams 2024-07-02 11:57:39 +02:00
Johannes Kirschbauer
2996ab5941 api: clan Modules add readme content 2024-07-02 11:45:48 +02:00
Jörg Thalheim
466fac640f machines/machines: drop unused qmp wrapper 2024-07-02 11:42:02 +02:00
clan-bot
bd7df2a166 Merge pull request 'API: migrate add machine to inventory' (#1676) from hsjobeki/clan-core:hsjobeki-main into main 2024-07-02 09:25:01 +00:00
Johannes Kirschbauer
c17943428a Fix test 2024-07-02 11:21:52 +02:00
Johannes Kirschbauer
a71fd47354 Inventory persistence improves error resistance 2024-07-02 11:16:54 +02:00
Johannes Kirschbauer
1efadb5e3d API: migrate machines delete and list to inventory 2024-07-02 11:07:11 +02:00
a-kenji
ffe6e03705 clan: implement OSC8 hyperlinks for help output
The name of the terminal help output stays the same to keep
compatibility with legacy terminal implementations.
2024-07-02 08:55:01 +00:00
Jörg Thalheim
d7a17a2ada drop duplicate empty template 2024-07-02 10:41:55 +02:00
Johannes Kirschbauer
4a61e51afd API: migrate add machine to inventory 2024-07-01 21:55:42 +02:00
Johannes Kirschbauer
4363544672 Inventory: add system and sample machine 2024-07-01 21:25:02 +02:00
Jörg Thalheim
cb9fbc969b introduce minifakeroot that also works on macos 2024-06-27 18:53:10 +02:00
Jörg Thalheim
2ed8bba017 make bubblewrap in fact generation optional 2024-06-27 18:23:05 +02:00
DavHau
bc3d17ad06 api: add endpoint machine_schema 2024-06-27 16:58:37 +07:00
a-kenji
a5172b995f clan: state add information about the backup command hooks to the help 2024-06-26 08:46:02 +00:00
Johannes Kirschbauer
17532e999f API: add clanModules list and details test 2024-06-25 21:31:44 +02:00
Johannes Kirschbauer
cbb78ca1ae ClanModules: Add docs and api to retrieve metadata 2024-06-25 21:17:01 +02:00
Johannes Kirschbauer
cf03c71966 Docs: rename clanName to just name 2024-06-25 14:21:53 +02:00
Qubasa
1cb6cff6fe clan-cli: Better env jailing in temporary_home 2024-06-25 12:03:44 +02:00
a-kenji
a6f342db35 clan: state list improve formatting 2024-06-25 11:50:19 +02:00
a-kenji
69e826fc17 cli: add command to list state
Add a subcommand to list configured state for a specific machine.

Example:
```
$ clan state list [MACHINE]
```
2024-06-25 09:34:31 +00:00
a-kenji
9d394baca5 clan: ssh fix typos 2024-06-25 10:32:05 +02:00
Qubasa
642b60cd98 clan-cli: Acutally test SecretStore for age and password-store. 2024-06-24 21:41:16 +02:00
Qubasa
10877d73f4 clan-cli: Fix user-password without user-prompt. Remove newlines from user-password and root-password. Improve test_generate_secret 2024-06-24 20:08:02 +02:00
Qubasa
960d8541b1 Fix run_vm test
nix fmt
2024-06-24 19:23:16 +02:00
Qubasa
9a39ed1766 Fixed Contributing.md guide 2024-06-24 19:22:24 +02:00
Qubasa
feab5f737e clan-cli: Add validity check for ssh
stash
2024-06-24 19:22:19 +02:00
Qubasa
7b0e1b437b clan-cli: Add validity check for age key generation 2024-06-21 15:07:53 +02:00
Qubasa
7cd26af66e clan-cli: Disable stack trace on KeyboardInterrupt 2024-06-21 13:11:33 +02:00
Johannes Kirschbauer
c4705ef8b6 UI: display block devices 2024-06-19 11:36:19 +02:00
DavHau
4db2e8303f refactor: rename clanCore -> clan.core 2024-06-18 18:32:40 +07:00
Johannes Kirschbauer
97d8dd9816 API: init methods: hw_generate, dns discovery 2024-06-16 16:29:18 +02:00
Johannes Kirschbauer
0826c2bce0 Docs: update machine hardware config instructions 2024-06-15 22:27:46 +02:00
Johannes Kirschbauer
ec1eab7e14 CLI: init hw-generate command 2024-06-15 21:31:23 +02:00
Johannes Kirschbauer
759ace4f74 API: init op_key, improve seralisation & signature typing 2024-06-15 11:32:09 +02:00