a-kenji
6347bb7f3a
pkgs/clan: Further unify clan flake validation
...
Further unify clan flake validation and improve test coverage.
2025-07-15 13:03:49 +02:00
Qubasa
8b1968cca6
clan-cli: Move Machine object to clan_lib
2025-05-22 19:11:19 +02:00
lassulus
44e3df3ebf
clan-cli: split backups into cli and lib
2025-05-21 13:46:35 +02:00
Johannes Kirschbauer
fe0507b47c
refactor: move clan_cli.error to clan_lib.error
2025-05-16 16:14:39 +02:00
Jörg Thalheim
be79d75c08
bind ssh controlmaster to live time of CLI
2025-05-04 16:28:14 +02:00
lassulus
300aaa48e7
clan-cli: use new flake caching for machines
2025-02-23 15:58:03 +01:00
DavHau
e8edec65d6
backups: throw error if no provider specified
2024-12-20 20:27:58 +07:00
Qubasa
b9091beff9
clan-cli: Replace log.info to machine.info if applicable
2024-12-12 15:36:17 +01:00
Jörg Thalheim
cb16cda3fa
add RET, Q, RSE lint
2024-09-02 15:58:49 +02:00
Jörg Thalheim
e150b37fb8
enable ASYNC, DTZ, YTT and EM lints
2024-09-02 14:07:06 +02:00
Jörg Thalheim
b313f2d066
make all same-module imports relative, the rest absolute
...
This makes sorting more consitent.
2024-09-02 13:00:19 +02:00
Jörg Thalheim
6037ad1ce0
move FlakeId to flake id
...
move FlakeId to flake id
2024-07-03 18:28:55 +02:00
Jörg Thalheim
2f1dac6962
make machine class now a dataclass
2024-07-03 12:34:43 +02:00
DavHau
4db2e8303f
refactor: rename clanCore -> clan.core
2024-06-18 18:32:40 +07:00
a-kenji
1e6ea7344e
clan: add dynamic completions to clan backups providers
2024-06-05 09:23:02 +00:00
a-kenji
32a20caad4
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
9362d8b42d
backup cli: make sure we have a flake
2024-05-29 10:14:14 +02:00
Jörg Thalheim
fa94ee4b96
backups: no longer interpret backup interface as bash commands
2024-03-20 09:32:01 +01:00
Jörg Thalheim
5e5077c31c
rename machine.host to machine.target_host
2024-02-06 17:21:42 +01:00
lassulus
f67e750bbf
clan-cli backups: use new machine class for eval
2024-01-24 15:49:12 +01:00
lassulus
bdd1f9be6d
machines.Machine: refactor flake_dir -> flake; use Machine class in vm
2024-01-24 15:49:12 +01:00
lassulus
4cc9c4366c
backups: support services for restore
2023-12-08 19:09:29 +01:00
Jörg Thalheim
5e34e55fff
modernize code with ruff
2023-12-06 17:13:58 +01:00
lassulus
83dd430d03
implement backup cli for borgbackup
2023-12-04 17:47:23 +01:00
lassulus
c9e640a74d
add dummy backups cli
2023-11-28 13:23:48 +01:00