Commit Graph

673 Commits

Author SHA1 Message Date
lassulus
21fd3a74bb machines build_machine_data: raise ClanError on error 2023-12-16 21:46:19 +01:00
Jörg Thalheim
41b5e88808 use nix-unit from nixpkgs 2023-12-15 12:36:07 +01:00
Qubasa
83e1c972ad Finished clan history command. Ported remaining async to sync funcs 2023-12-14 20:57:31 +01:00
Qubasa
4c2ff0d6af fixed history allowing adding the same clan twice 2023-12-14 18:54:00 +01:00
Qubasa
999747c5fc Deleted everything webui 2023-12-14 18:47:14 +01:00
Qubasa
30cd375d98 Fixed failing tests in machines and history cli, removed test_machines_api.py 2023-12-14 18:25:42 +01:00
Qubasa
67be1d1977 Improved ClanURI 2023-12-14 18:21:10 +01:00
Qubasa
54f0a7d342 Reworked machines list, and history commands 2023-12-14 18:21:10 +01:00
Qubasa
a8ceeab0fe Fixed pytest 2023-12-14 18:21:10 +01:00
Qubasa
08682ee9bb Fixing pytest 2023-12-14 18:21:10 +01:00
Qubasa
040e06bcdd Improved history command 2023-12-14 18:21:10 +01:00
Qubasa
3a28e023e2 Moved history to own subcommand 2023-12-14 18:21:10 +01:00
a-kenji
df6adf979e vms/run: remove superfluous command 2023-12-14 15:45:45 +01:00
a-kenji
10cbb6d15c vms/run: fix virtual machines spawning multiple windows 2023-12-14 08:55:12 +01:00
Qubasa
7c36383075 Used inspect commands in vm-manager 2023-12-09 00:45:12 +01:00
Qubasa
c00a1983fa Removed democlan dependency 2023-12-09 00:23:19 +01:00
Qubasa
5d42756f58 Fixed democlan dep 2023-12-09 00:21:33 +01:00
Qubasa
b60aef97f9 Removed democlan dependency 2023-12-09 00:19:30 +01:00
Qubasa
4506202a82 Added clan flakes inspect command. Improved ClanURI. Added democlan as dependency in flake.nix 2023-12-09 00:09:21 +01:00
clan-bot
91ca79be0d Merge pull request 'clanCore: Fixed missing type null for clanIcon' (#634) from Qubasa-main into main 2023-12-08 18:33:58 +00:00
Qubasa
fe8da705e9 clanCore: Fixed missing type null for clanIcon 2023-12-08 19:27:58 +01:00
lassulus
c2742463c3 clan-cli Machines: implement eval/build-cache 2023-12-08 19:09:29 +01:00
lassulus
4cc9c4366c backups: support services for restore 2023-12-08 19:09:29 +01:00
clan-bot
a4c774d74d Merge pull request 'move clanName into nixos machine configuration' (#630) from Mic92-main into main 2023-12-08 15:21:59 +00:00
Jörg Thalheim
821e5e0a7b disable tty0 when using wayland
we don't vga output and use our serial console instead
2023-12-08 16:19:09 +01:00
Jörg Thalheim
26c6954db0 move clanName into nixos machine configuration 2023-12-08 15:05:56 +00:00
Jörg Thalheim
3054b9c77d move clanName into nixos machine configuration 2023-12-08 16:03:29 +01:00
clan-bot
08871258bb Merge pull request 'add wayland option' (#628) from Mic92-main into main 2023-12-08 14:16:43 +00:00
Jörg Thalheim
0e91f8721f prefix nixpkgs# explicitly in nix_shell
This makes the function usage less confusing (you can now tell from the call side what are flags and what is passed to nix-shell) and allows to use different flakes to download packages.
2023-12-08 15:14:14 +01:00
Jörg Thalheim
af3001a3ac vms/run: split large vm run method into smaller ones 2023-12-08 15:09:48 +01:00
Jörg Thalheim
49010f4d46 add wayland option 2023-12-08 14:13:47 +01:00
clan-bot
bb0f37ad26 Merge pull request 'make vm inspect non-async' (#627) from Mic92-main into main 2023-12-08 13:02:02 +00:00
Jörg Thalheim
10930c27bf make vm inspect non-async 2023-12-08 13:59:24 +01:00
clan-bot
90db791ff0 Merge pull request 'Added windows folder' (#624) from Qubasa-main into main 2023-12-08 12:49:07 +00:00
Qubasa
b8bc7a3fcc clan_cli: URI parser now only has HTTP and FILE. Also clan:///home/user or clan://~/Downloads is supported 2023-12-08 13:46:21 +01:00
clan-bot
82815979b5 Merge pull request 'vms/run: rename flake_url to flake-url' (#623) from Mic92-main into main 2023-12-08 12:42:59 +00:00
Jörg Thalheim
8cff166393 vms/run: rename flake_url to flake-url 2023-12-08 13:40:28 +01:00
Qubasa
6f80cdb5eb Replaced Status with checkbox 2023-12-08 12:18:55 +01:00
clan-bot
cc4d81f41c Merge pull request 'always provide a clan_flake_toplevel value' (#620) from Mic92-main into main 2023-12-08 11:12:57 +00:00
Jörg Thalheim
4b16269a38 vms/run/inspect: also make it more type-safe
nix will show proper error messages when it cannot find a flake.
2023-12-08 12:08:48 +01:00
Jörg Thalheim
218478c801 vms/run: make flake field option always have a value 2023-12-08 12:08:45 +01:00
clan-bot
38bf05955d Merge pull request 'make cli options more type safe using a dataclass' (#619) from Mic92-main into main 2023-12-08 10:33:44 +00:00
Jörg Thalheim
b9ca10c4da make cli options more type safe using a dataclass 2023-12-08 11:31:29 +01:00
clan-bot
691ddbdd43 Merge pull request 'make sure that flake url is always set in the cli' (#618) from Mic92-main into main 2023-12-08 10:07:50 +00:00
Jörg Thalheim
e97bcbd94f make sure that flake url is always set in the cli 2023-12-08 11:05:22 +01:00
lassulus
3d1533892b backups: implement list/create and dry-run restore 2023-12-07 18:23:22 +01:00
lassulus
0ab11948e7 backups: implement list the easy way 2023-12-07 13:22:41 +01:00
Jörg Thalheim
5e34e55fff modernize code with ruff 2023-12-06 17:13:58 +01:00
Jörg Thalheim
02f2b3700e re-add 'U' ruff type category
This should have been not removed
2023-12-06 17:11:17 +01:00
Jörg Thalheim
b0ecc17645 get rid of task_manager 2023-12-06 15:53:23 +01:00