Qubasa
2f9195b779
Fix cmd to default print on all outputs. Default print on stderr
2024-01-10 17:31:11 +01:00
Qubasa
715ed10e59
nix fmt
2024-01-10 17:19:33 +01:00
Qubasa
cc6f9e67fa
nix fmt
2024-01-10 17:19:12 +01:00
Qubasa
6f27cd8b6a
Updated cmd.py with Mic92 changes to fit previous changes
2024-01-10 17:18:21 +01:00
Qubasa
7049573d28
Refactor subprocess to cmd.py part 2
2024-01-10 12:11:29 +01:00
clan-bot
9f4e38fcf0
Merge pull request 'cmd: rework redirecting stdout/stderr' ( #700 ) from Mic92-wayland-update into main
2024-01-09 16:39:19 +00:00
Jörg Thalheim
b476f6386d
cmd: rework redirecting stdout/stderr
2024-01-09 17:34:43 +01:00
DavHau
368931c5af
VMs: ensure state dirs don't collide between clans
2024-01-09 17:22:48 +07:00
DavHau
4bdf769075
VMs: persist state folders on host
...
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
Jörg Thalheim
f240dc9338
strip whitespace from clan uris
2024-01-04 16:30:26 +01:00
Qubasa
f424395bd3
Fixed cmd.py writing to stderr
2024-01-02 17:21:06 +01:00
Qubasa
9c7f62a4a5
Refactor subprocess to cmd.py part 1. Fixed clan_uri test.
2024-01-02 17:21:06 +01:00
Qubasa
1986271bef
delete unecessary f.truncate
2024-01-02 17:21:06 +01:00
Qubasa
79b651a6f2
Fixed unsafe dirs.py urlquoting, improved cmd.py run func
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
DavHau
e5c238346a
dirs.py: remove outdated comment
2024-01-02 14:25:37 +07:00
Qubasa
af6722daa0
vm-manager: Added right click context menu
2024-01-02 07:24:30 +01:00
Qubasa
5d69830f1a
vm-manager: More error handling
2024-01-02 06:23:55 +01:00
Qubasa
9f75237d27
Removed unecessary debug.py and test code
2024-01-01 18:58:12 +01:00
Qubasa
4265f53d37
Added settings attribute to history file
2024-01-01 18:24:40 +01:00
Qubasa
3c5dd31501
Added write and read history file functions
2023-12-31 15:17:12 +01:00
Qubasa
17f5d90926
history: added vm config to FlakeConfig
2023-12-31 14:56:03 +01:00
Qubasa
cddce324ef
vm-manager: Fixed quit application not working bug
2023-12-31 14:13:11 +01:00
Qubasa
d604255217
cli: fixed run vm not working with url
2023-12-31 13:56:55 +01:00
Qubasa
6abfe4d595
cli: Switched b64 encoding of gcroot names to urlparse
2023-12-31 13:51:13 +01:00
Qubasa
cb933787ff
Added gcroot for clan Icon and VM
2023-12-31 00:49:57 +01:00
Qubasa
001a48da52
Removed python deal.
2023-12-30 23:10:43 +01:00
Qubasa
c6188c17fb
pytest: Removed -s flag for CI
2023-12-26 18:20:41 +01:00
Qubasa
e17508702a
UI: Added process executor. Display vm status correctly in list. | CLI: Added get_qemu_version(), fixed virtio audio bug.
2023-12-26 18:02:43 +01:00
Jörg Thalheim
a057f58229
cli/install: add option to specify alternative kexec url
2023-12-26 14:36:51 +01:00
Jörg Thalheim
ca70dee092
switch to virtio-audio
2023-12-21 15:39:27 +01:00
Qubasa
30d80a3b28
nix fmt
2023-12-19 18:02:06 +01:00
Qubasa
aaf2fd5569
Improved spawn interface. Added garbage collector
2023-12-19 17:51:43 +01:00
lassulus
1c07eacdce
clan_cli: remove incorrect clan_flake check
2023-12-16 21:46:19 +01:00
lassulus
21fd3a74bb
machines build_machine_data: raise ClanError on error
2023-12-16 21:46:19 +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
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
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