Jörg Thalheim
f6b6229f78
schema: set also clanName
...
this is usually set by buildClan
2024-01-11 17:41:41 +01:00
clan-bot
93fa4e397b
Merge pull request 'cmd.py part 3 refactor' ( #706 ) from Qubasa-main into main
2024-01-10 17:57:51 +00:00
Qubasa
359275eee7
Improved error message. Fixed incorrect ret code check in git.py
2024-01-10 18:54:34 +01:00
Qubasa
64846eb395
Fixed bug, where exception is raised where there shouldn't be raised one
2024-01-10 18:46:54 +01:00
Qubasa
b36d0be524
cmd.py part 3 refactor
2024-01-10 18:39:19 +01:00
clan-bot
46da9eb5db
Merge pull request 'Added ClanCmdError. cmd.run now returns this error' ( #704 ) from Qubasa-main into main
2024-01-10 17:02:08 +00:00
Qubasa
699515ca89
Added ClanCmdError. cmd.run now returns this error
2024-01-10 17:58:39 +01:00
clan-bot
f34df3df02
Merge pull request 'Refactor subprocess to cmd.py part 2' ( #685 ) from Qubasa-main into main
2024-01-10 16:34:38 +00:00
Qubasa
626e5558f3
Fix cmd to default print on all outputs. Default print on stderr
2024-01-10 17:31:11 +01:00
Qubasa
c41bc10325
nix fmt
2024-01-10 17:19:33 +01:00
Qubasa
54f2eba1cc
nix fmt
2024-01-10 17:19:12 +01:00
Qubasa
40beda884c
Updated cmd.py with Mic92 changes to fit previous changes
2024-01-10 17:18:21 +01:00
Jörg Thalheim
eeac4902ab
re-anble pulseaudio in qemu
2024-01-10 15:32:37 +01:00
Qubasa
ba05589af2
Refactor subprocess to cmd.py part 2
2024-01-10 12:11:29 +01:00
clan-bot
26e9463248
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
fa00bb522b
cmd: rework redirecting stdout/stderr
2024-01-09 17:34:43 +01:00
DavHau
520ff0b334
VMs: ensure state dirs don't collide between clans
2024-01-09 17:22:48 +07:00
DavHau
17390fc392
VMs: port vm_persistence test to python
2024-01-09 14:47:33 +07:00
DavHau
c29e0086a4
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
f9dd2e0926
strip whitespace from clan uris
2024-01-04 16:30:26 +01:00
Qubasa
e4a7f68b0e
Fixed cmd.py writing to stderr
2024-01-02 17:21:06 +01:00
Qubasa
3f55c688d9
Refactor subprocess to cmd.py part 1. Fixed clan_uri test.
2024-01-02 17:21:06 +01:00
Qubasa
69d08241e9
delete unecessary f.truncate
2024-01-02 17:21:06 +01:00
Qubasa
ef827af89c
Fixed unsafe dirs.py urlquoting, improved cmd.py run func
2024-01-02 17:21:06 +01:00
Qubasa
7c5ed85231
clan_uri: Support all other formats by just differentiating between remote and local
2024-01-02 17:21:05 +01:00
Jörg Thalheim
0ecfaa96cf
drop references to debug.py
2024-01-02 15:22:36 +01:00
DavHau
e7bd86a9d5
dirs.py: remove outdated comment
2024-01-02 14:25:37 +07:00
Qubasa
7be42146e7
vm-manager: Added right click context menu
2024-01-02 07:24:30 +01:00
Qubasa
01977b2e2a
vm-manager: More error handling
2024-01-02 06:23:55 +01:00
Qubasa
9ec1d594e7
Removed unecessary debug.py and test code
2024-01-01 18:58:12 +01:00
Qubasa
42235e39be
Added settings attribute to history file
2024-01-01 18:24:40 +01:00
Qubasa
7069d746ad
Added write and read history file functions
2023-12-31 15:17:12 +01:00
Qubasa
e0bba046ea
history: added vm config to FlakeConfig
2023-12-31 14:56:03 +01:00
Qubasa
f1642c6c71
vm-manager: Fixed quit application not working bug
2023-12-31 14:13:11 +01:00
Qubasa
33afa04b38
cli: fixed run vm not working with url
2023-12-31 13:56:55 +01:00
Qubasa
fcadaca010
cli: Switched b64 encoding of gcroot names to urlparse
2023-12-31 13:51:13 +01:00
Qubasa
c4799f1e9a
Added gcroot for clan Icon and VM
2023-12-31 00:49:57 +01:00
Qubasa
330ef00a7c
Removed python deal.
2023-12-30 23:10:43 +01:00
Qubasa
cb06353451
pytest: Removed -s flag for CI
2023-12-26 18:20:41 +01:00
Qubasa
ca265b0c59
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
ed643e3829
cli/install: add option to specify alternative kexec url
2023-12-26 14:36:51 +01:00
Jörg Thalheim
de38ce47ee
switch to virtio-audio
2023-12-21 15:39:27 +01:00
Qubasa
a1575ec19c
nix fmt
2023-12-19 18:02:06 +01:00
Qubasa
e0e7324876
Improved spawn interface. Added garbage collector
2023-12-19 17:51:43 +01:00
lassulus
e98f037dd8
clan_cli: remove incorrect clan_flake check
2023-12-16 21:46:19 +01:00
lassulus
56dafff109
machines build_machine_data: raise ClanError on error
2023-12-16 21:46:19 +01:00
Jörg Thalheim
0bdf55b09f
use nix-unit from nixpkgs
2023-12-15 12:36:07 +01:00
Qubasa
5c143bf2da
Finished clan history command. Ported remaining async to sync funcs
2023-12-14 20:57:31 +01:00
Qubasa
962a5641b4
fixed history allowing adding the same clan twice
2023-12-14 18:54:00 +01:00
Qubasa
7dc2c21517
Deleted everything webui
2023-12-14 18:47:14 +01:00