Qubasa
6d06742c49
clan_cli: Added lazy qmp
2024-02-13 16:44:09 +07:00
Qubasa
e17fa83dad
test_vms_cli: Trying new way of testing
2024-02-13 16:44:09 +07:00
Qubasa
a1afd05fcb
clan_cli: Made qmp implementation lazy
2024-02-13 16:44:09 +07:00
Qubasa
e30168742e
clan_vm_manager: Added VM shutdown timeout
2024-02-12 14:16:44 +07:00
DavHau
a438a27c69
vms: init graceful shutdown for GUI
...
- add python modules for qemu protocols: QMP (hardware interactions) and QGA (guest service interaction)
- refactor state directory: remove name from path (already contains url)
- add impure vm test for basic qmp interaction
- simplify existing vm persistance test (factor out shared code)
- integrate graceful shutdown into GUI
the GUI integration still needs to be improved later:
- add fallback in case system doesn't react to powerdown button
- shutdown GUI switch fails if VM hasn't been started yet, and then remains in a wrong position
2024-02-09 19:55:18 +07:00
Jörg Thalheim
eee82b97cd
remove unused ssh.run method
2024-02-06 15:47:32 +01:00
Jörg Thalheim
584299e199
rename deployment address to target address
...
This is a prepares having a build server for deployment
2024-02-02 16:39:29 +07:00
DavHau
5bdbb43490
qemu: init python modules for qmp and qga
2024-02-01 12:32:21 +07:00
DavHau
af9b4c32e8
Reapply "vm-state: fix and improve testing"
...
This reverts commit a429ab5d3c .
vm-state: revert sysusers, improve testing
zerotier: enable persistence
vm-state: cleanup tests
2024-01-31 11:02:16 +07:00
DavHau
a429ab5d3c
Revert "vm-state: fix and improve testing"
...
This reverts commit 41c97a5fce .
2024-01-29 15:16:10 +07:00
DavHau
41c97a5fce
vm-state: fix and improve testing
...
Also adds qemu qga protocol implementation to execute commands
2024-01-26 19:41:05 +07:00
lassulus
96c92a4cc0
test_vm_persistance: substitute clan-core repo
2024-01-24 15:49:12 +01:00
lassulus
b98e15d6d7
test_vm_persistance: add age keys
2024-01-24 15:49:12 +01:00
Qubasa
6d532174d9
URI: Added support for #flake_attr
2024-01-16 17:11:26 +01:00
Qubasa
f087f527cc
Removed duplicate logging messages
2024-01-11 22:46:29 +01:00
Qubasa
a98463e3b9
Enabled logging DEBUG in pytest
2024-01-11 22:14:55 +01:00
Qubasa
6647c38417
Working test_secrets_generate
2024-01-11 21:48:39 +01:00
Qubasa
2f9195b779
Fix cmd to default print on all outputs. Default print on stderr
2024-01-10 17:31:11 +01:00
DavHau
368931c5af
VMs: ensure state dirs don't collide between clans
2024-01-09 17:22:48 +07:00
DavHau
5cdd9a1817
VMs: port vm_persistence test to python
2024-01-09 14:47:33 +07:00
Qubasa
9c7f62a4a5
Refactor subprocess to cmd.py part 1. Fixed clan_uri test.
2024-01-02 17:21:06 +01:00
Qubasa
d7c5850f2f
clan_uri: Support all other formats by just differentiating between remote and local
2024-01-02 17:21:05 +01:00
Qubasa
001a48da52
Removed python deal.
2023-12-30 23:10:43 +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
3a28e023e2
Moved history to own subcommand
2023-12-14 18:21:10 +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
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
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
lassulus
0ab11948e7
backups: implement list the easy way
2023-12-07 13:22:41 +01:00
Jörg Thalheim
b0ecc17645
get rid of task_manager
2023-12-06 15:53:23 +01:00
clan-bot
6e807198d1
Merge pull request 'clan_cli: ClanURI fixed non executing tests' ( #611 ) from Qubasa-main into main
2023-12-06 12:41:16 +00:00
Qubasa
010e0bd3f9
clan_cli: ClanURI fixed non executing tests
2023-12-06 13:38:22 +01:00
clan-bot
0ae283714d
Merge pull request 'clan_cli: Remodeled ClanURI parser' ( #610 ) from Qubasa-main into main
2023-12-05 17:19:42 +00:00
Qubasa
9fa88b1599
clan_cli: Remodeled ClanURI parser
2023-12-05 18:16:51 +01:00
Qubasa
34a943b3ad
clan_cli: Remodeled ClanURI parser
2023-12-05 18:08:27 +01:00
clan-bot
767817e7fa
Merge pull request 'Improved desktop file installation' ( #609 ) from Qubasa-main into main
2023-12-05 15:20:03 +00:00
Qubasa
cebc52ba87
clan_cli: Added ClanURI class parser
2023-12-05 16:17:15 +01:00
clan-bot
1338282c62
Merge pull request 'backups: add clanCore backup & clan borgbackup module' ( #605 ) from lassulus-backups into main
2023-12-04 16:51:33 +00:00
lassulus
83dd430d03
implement backup cli for borgbackup
2023-12-04 17:47:23 +01:00
Johannes Kirschbauer
0ae7ce8f7c
extend clan history model
2023-12-02 16:16:38 +01:00
Jörg Thalheim
59d1829f4d
disallow variable shadowing
2023-11-30 14:31:37 +01:00
Jörg Thalheim
7502184f66
fix build
2023-11-30 11:08:50 +01:00
Jörg Thalheim
9d64ccb08e
integegrate remote-viewer instead of spicy
2023-11-29 16:07:12 +01:00