17390fc392
VMs: port vm_persistence test to python
checks-impure / test (pull_request) Successful in 1m21s
checks / test (pull_request) Successful in 2m40s
2024-01-09 14:47:33 +07:00
c29e0086a4
VMs: persist state folders on host
...
checks-impure / test (pull_request) Successful in 1m24s
checks / test (pull_request) Successful in 2m40s
Done:
- move vm inspect attrs from system.clan.vm.config to clanCore.vm.inspect. This gives us proper name and type checking. everything in `system` is basically freeform, so the previous option definitions were never enforced
- when running VMs, mount state directory from ~/.config/clan/vmstate/{...} from the host to /var/vmstate inside the vm
- create bind mount inside the VM from /var/vmstate/{folder} to / for all folders defined in clanCore.state.<name>.folders
TODOs:
- make sure directories in ~/.config/clan/vmstate never collide (include hash of clan-url, etc.)
- port impure test to python
2024-01-08 18:38:07 +07:00
f9dd2e0926
strip whitespace from clan uris
checks-impure / test (pull_request) Successful in 1m8s
checks / test (pull_request) Successful in 2m44s
2024-01-04 16:30:26 +01:00
e4a7f68b0e
Fixed cmd.py writing to stderr
checks-impure / test (pull_request) Successful in 1m7s
checks / test (pull_request) Successful in 2m42s
2024-01-02 17:21:06 +01:00
3f55c688d9
Refactor subprocess to cmd.py part 1. Fixed clan_uri test.
2024-01-02 17:21:06 +01:00
69d08241e9
delete unecessary f.truncate
2024-01-02 17:21:06 +01:00
ef827af89c
Fixed unsafe dirs.py urlquoting, improved cmd.py run func
2024-01-02 17:21:06 +01:00
7c5ed85231
clan_uri: Support all other formats by just differentiating between remote and local
2024-01-02 17:21:05 +01:00
0ecfaa96cf
drop references to debug.py
checks-impure / test (pull_request) Successful in 1m6s
checks / test (pull_request) Successful in 1m43s
2024-01-02 15:22:36 +01:00
e7bd86a9d5
dirs.py: remove outdated comment
checks-impure / test (pull_request) Successful in 1m12s
checks / test (pull_request) Successful in 2m48s
2024-01-02 14:25:37 +07:00
7be42146e7
vm-manager: Added right click context menu
checks-impure / test (pull_request) Successful in 1m13s
checks / test (pull_request) Successful in 2m42s
2024-01-02 07:24:30 +01:00
01977b2e2a
vm-manager: More error handling
2024-01-02 06:23:55 +01:00
9ec1d594e7
Removed unecessary debug.py and test code
checks / test (pull_request) Successful in 28s
checks-impure / test (pull_request) Successful in 1m1s
2024-01-01 18:58:12 +01:00
42235e39be
Added settings attribute to history file
checks-impure / test (pull_request) Successful in 1m13s
checks / test (pull_request) Successful in 2m51s
2024-01-01 18:24:40 +01:00
7069d746ad
Added write and read history file functions
2023-12-31 15:17:12 +01:00
e0bba046ea
history: added vm config to FlakeConfig
2023-12-31 14:56:03 +01:00
f1642c6c71
vm-manager: Fixed quit application not working bug
checks-impure / test (pull_request) Successful in 1m11s
checks / test (pull_request) Successful in 2m43s
2023-12-31 14:13:11 +01:00
33afa04b38
cli: fixed run vm not working with url
checks-impure / test (pull_request) Successful in 1m11s
checks / test (pull_request) Successful in 2m47s
2023-12-31 13:56:55 +01:00
fcadaca010
cli: Switched b64 encoding of gcroot names to urlparse
checks-impure / test (pull_request) Successful in 1m11s
checks / test (pull_request) Successful in 2m49s
2023-12-31 13:51:13 +01:00
c4799f1e9a
Added gcroot for clan Icon and VM
checks-impure / test (pull_request) Successful in 1m12s
checks / test (pull_request) Successful in 2m52s
2023-12-31 00:49:57 +01:00
330ef00a7c
Removed python deal.
checks-impure / test (pull_request) Successful in 1m17s
checks / test (pull_request) Successful in 2m48s
2023-12-30 23:10:43 +01:00
cb06353451
pytest: Removed -s flag for CI
checks-impure / test (pull_request) Successful in 1m3s
checks / test (pull_request) Successful in 2m39s
2023-12-26 18:20:41 +01:00
ca265b0c59
UI: Added process executor. Display vm status correctly in list. | CLI: Added get_qemu_version(), fixed virtio audio bug.
checks-impure / test (pull_request) Successful in 1m16s
checks / test (pull_request) Failing after 2m46s
2023-12-26 18:02:43 +01:00
ed643e3829
cli/install: add option to specify alternative kexec url
checks-impure / test (pull_request) Successful in 1m6s
checks / test (pull_request) Successful in 3m2s
2023-12-26 14:36:51 +01:00
de38ce47ee
switch to virtio-audio
2023-12-21 15:39:27 +01:00
a1575ec19c
nix fmt
checks-impure / test (pull_request) Successful in 1m3s
checks / test (pull_request) Successful in 2m41s
2023-12-19 18:02:06 +01:00
e0e7324876
Improved spawn interface. Added garbage collector
2023-12-19 17:51:43 +01:00
e98f037dd8
clan_cli: remove incorrect clan_flake check
checks-impure / test (pull_request) Successful in 1m1s
checks / test (pull_request) Failing after 1m5s
2023-12-16 21:46:19 +01:00
56dafff109
machines build_machine_data: raise ClanError on error
2023-12-16 21:46:19 +01:00
0bdf55b09f
use nix-unit from nixpkgs
2023-12-15 12:36:07 +01:00
5c143bf2da
Finished clan history command. Ported remaining async to sync funcs
checks / test (pull_request) Successful in 1m2s
checks-impure / test (pull_request) Successful in 1m13s
2023-12-14 20:57:31 +01:00
962a5641b4
fixed history allowing adding the same clan twice
2023-12-14 18:54:00 +01:00
7dc2c21517
Deleted everything webui
checks / test (pull_request) Successful in 58s
checks-impure / test (pull_request) Successful in 1m5s
2023-12-14 18:47:14 +01:00
1a36ef242f
Fixed failing tests in machines and history cli, removed test_machines_api.py
checks / test (pull_request) Failing after 1m14s
checks-impure / test (pull_request) Successful in 1m15s
2023-12-14 18:25:42 +01:00
e139628fbd
Improved ClanURI
2023-12-14 18:21:10 +01:00
c90053834a
Reworked machines list, and history commands
2023-12-14 18:21:10 +01:00
9d952ba534
Fixed pytest
2023-12-14 18:21:10 +01:00
a1ebe663ce
Fixing pytest
2023-12-14 18:21:10 +01:00
b00f4554d8
Improved history command
2023-12-14 18:21:10 +01:00
771c0e43ca
Moved history to own subcommand
2023-12-14 18:21:10 +01:00
8e84f7997a
vms/run: remove superfluous command
checks-impure / test (pull_request) Successful in 1m33s
checks / test (pull_request) Successful in 2m3s
2023-12-14 15:45:45 +01:00
7b5fffdaf4
vms/run: fix virtual machines spawning multiple windows
checks-impure / test (pull_request) Successful in 1m13s
checks / test (pull_request) Successful in 2m1s
2023-12-14 08:55:12 +01:00
30d55fc67e
Used inspect commands in vm-manager
checks-impure / test (pull_request) Successful in 1m33s
checks / test (pull_request) Successful in 2m3s
2023-12-09 00:45:12 +01:00
030d31c8b4
Removed democlan dependency
checks-impure / test (pull_request) Successful in 1m12s
checks / test (pull_request) Successful in 1m59s
2023-12-09 00:23:19 +01:00
b319db0df9
Fixed democlan dep
checks-impure / test (pull_request) Failing after 16s
checks / test (pull_request) Failing after 1m59s
2023-12-09 00:21:33 +01:00
136246de79
Removed democlan dependency
checks-impure / test (pull_request) Failing after 16s
checks / test (pull_request) Failing after 1m57s
2023-12-09 00:19:30 +01:00
d4b8cef242
Added clan flakes inspect command. Improved ClanURI. Added democlan as dependency in flake.nix
2023-12-09 00:09:21 +01:00
9f4ab67fc2
Merge pull request 'clanCore: Fixed missing type null for clanIcon' ( #634 ) from Qubasa-main into main
assets1 / test (push) Successful in 22s
checks-impure / test (push) Successful in 1m8s
checks / test (push) Successful in 2m0s
2023-12-08 18:33:58 +00:00
d6052c3497
clanCore: Fixed missing type null for clanIcon
2023-12-08 19:27:58 +01:00
8340d8f5f2
clan-cli Machines: implement eval/build-cache
checks-impure / test (pull_request) Successful in 1m15s
checks / test (pull_request) Successful in 2m24s
2023-12-08 19:09:29 +01:00