Commit Graph

1705 Commits

Author SHA1 Message Date
9f8e719b48 state: move options clanCore.state to a separate file
All checks were successful
checks-impure / test (pull_request) Successful in 1m18s
checks / test (pull_request) Successful in 2m12s
2024-01-10 17:10:10 +07:00
26e9463248 Merge pull request 'cmd: rework redirecting stdout/stderr' (#700) from Mic92-wayland-update into main
All checks were successful
checks-impure / test (push) Successful in 1m19s
checks / test (push) Successful in 2m36s
2024-01-09 16:39:19 +00:00
fa00bb522b cmd: rework redirecting stdout/stderr
All checks were successful
checks-impure / test (pull_request) Successful in 1m16s
checks / test (pull_request) Successful in 2m40s
2024-01-09 17:34:43 +01:00
7e1be41843 Merge pull request 'VMs: ensure state dirs don't collide between clans' (#699) from DavHau-main into main
All checks were successful
checks / test (push) Successful in 29s
checks-impure / test (push) Successful in 1m15s
2024-01-09 10:25:39 +00:00
520ff0b334 VMs: ensure state dirs don't collide between clans
All checks were successful
checks-impure / test (pull_request) Successful in 1m20s
checks / test (pull_request) Successful in 2m37s
2024-01-09 17:22:48 +07:00
2566fccfcf Merge pull request 'VMs: port vm_persistence test to python' (#698) from DavHau-main into main
All checks were successful
checks / test (push) Successful in 28s
checks-impure / test (push) Successful in 1m15s
2024-01-09 07:50:31 +00:00
17390fc392 VMs: port vm_persistence test to python
All checks were successful
checks-impure / test (pull_request) Successful in 1m21s
checks / test (pull_request) Successful in 2m40s
2024-01-09 14:47:33 +07:00
b272eebc75 Merge pull request 'zerotier-members: print authorized state on list' (#697) from lassulus-member_list_auth into main
All checks were successful
checks / test (push) Successful in 29s
checks-impure / test (push) Successful in 1m14s
2024-01-08 21:32:00 +00:00
c73818c1a5 zerotier-members: print authorized state on list
All checks were successful
checks-impure / test (pull_request) Successful in 1m27s
checks / test (pull_request) Successful in 2m25s
2024-01-08 22:28:13 +01:00
df5e6761e6 Merge pull request 'VMs: persist state folders on host' (#696) from DavHau-main into main
All checks were successful
checks / test (push) Successful in 31s
checks-impure / test (push) Successful in 1m14s
2024-01-08 11:42:19 +00:00
c29e0086a4 VMs: persist state folders on host
All checks were successful
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
4123944732 Merge pull request 'move selected_vm to the ClanListToolbar constructor' (#690) from Mic92-wayland-update into main
All checks were successful
checks / test (push) Successful in 30s
checks-impure / test (push) Successful in 1m3s
2024-01-04 17:53:02 +00:00
96e2deee1f Merge pull request 'Update start/stop button based on VM state' (#689) from Mic92-wayland-update into main
All checks were successful
checks / test (push) Successful in 33s
checks-impure / test (push) Successful in 1m20s
2024-01-04 17:50:25 +00:00
a5137efd48 move selected_vm to the ClanListToolbar constructor
All checks were successful
checks-impure / test (pull_request) Successful in 1m20s
checks / test (pull_request) Successful in 2m10s
2024-01-04 18:50:21 +01:00
c7fda31ab3 Update start/stop button based on VM state
All checks were successful
checks-impure / test (pull_request) Successful in 1m4s
checks / test (pull_request) Successful in 2m16s
2024-01-04 18:47:52 +01:00
738aaa3b5d executor: simplify running_procs 2024-01-04 18:42:13 +01:00
2da5b4a0ff Merge pull request 'reduce number of eval workers' (#688) from Mic92-wayland-update into main
All checks were successful
checks / test (push) Successful in 30s
checks-impure / test (push) Successful in 1m3s
2024-01-04 16:21:16 +00:00
dbfbbf8670 Merge pull request 'clan-vm-manager: make joining clan url more logical' (#687) from Mic92-wayland-update into main
All checks were successful
checks / test (push) Successful in 34s
checks-impure / test (push) Successful in 1m13s
2024-01-04 16:18:29 +00:00
4fc48f38d5 reduce number of eval workers
All checks were successful
checks-impure / test (pull_request) Successful in 1m12s
checks / test (pull_request) Successful in 2m22s
2024-01-04 17:18:10 +01:00
6a75ea56fd clan-vm-manager: make joining clan url more logical
All checks were successful
checks-impure / test (pull_request) Successful in 1m16s
checks / test (pull_request) Successful in 1m45s
The icon is confusing. It distracts from the actual "Join" label. Also when a user
copy in an URL we can assume they trust the content, which might be not the case
when they just clicked on an URL.
2024-01-04 17:08:01 +01:00
093566aa42 clan-vm-manager: rename "New" to "Join Clan" 2024-01-04 16:50:19 +01:00
d18c2063c3 clan-vm-manager: rename "Online" to "Status"
online means connected to some network, which is not what this field shows.
2024-01-04 16:49:21 +01:00
bd07d59707 Merge pull request 'strip whitespace from clan uris' (#686) from Mic92-wayland-update into main
All checks were successful
checks / test (push) Successful in 30s
checks-impure / test (push) Successful in 1m2s
2024-01-04 15:34:10 +00:00
d803cec108 Merge pull request 'switch to xwayland display :1' (#683) from Mic92-wayland-update into main
All checks were successful
checks / test (push) Successful in 33s
checks-impure / test (push) Successful in 1m14s
2024-01-04 15:31:10 +00:00
f9dd2e0926 strip whitespace from clan uris
All checks were successful
checks-impure / test (pull_request) Successful in 1m8s
checks / test (pull_request) Successful in 2m44s
2024-01-04 16:30:26 +01:00
7f21e99736 update nix-direnv
All checks were successful
checks-impure / test (pull_request) Successful in 1m5s
checks / test (pull_request) Successful in 2m18s
2024-01-04 16:24:26 +01:00
0922856fa5 switch to xwayland display :1
no conflict with Xorg
2024-01-04 16:18:27 +01:00
f526e1261f Merge pull request 'Fix broken executor.py' (#684) from Qubasa-main into main
All checks were successful
checks / test (push) Successful in 30s
checks-impure / test (push) Successful in 1m4s
2024-01-03 12:42:03 +00:00
ae00b3ae65 Fix broken executor.py
All checks were successful
checks / test (pull_request) Successful in 2m13s
checks-impure / test (pull_request) Successful in 59s
2024-01-03 13:26:25 +01:00
8870351737 Merge pull request 'clan_uri: Support all other formats by just differentiating between remote and local' (#680) from Qubasa-main into main
All checks were successful
checks / test (push) Successful in 31s
checks-impure / test (push) Successful in 1m4s
2024-01-02 16:24:51 +00:00
e4a7f68b0e Fixed cmd.py writing to stderr
All checks were successful
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
4383fab8d7 Merge pull request 'Executor: drop unused in_file' (#682) from Mic92-wayland-update into main
All checks were successful
checks / test (push) Successful in 30s
checks-impure / test (push) Successful in 1m4s
2024-01-02 14:46:25 +00:00
d0b165b311 only set process title on Linux
All checks were successful
checks-impure / test (pull_request) Successful in 1m8s
checks / test (pull_request) Successful in 1m20s
the systemcall is not portable
2024-01-02 15:44:28 +01:00
c609d84273 Executor: drop unused in_file 2024-01-02 15:44:28 +01:00
7e662b7655 Merge pull request 'drop references to debug.py' (#681) from Mic92-wayland-update into main
All checks were successful
checks / test (push) Successful in 31s
checks-impure / test (push) Successful in 1m2s
2024-01-02 14:26:02 +00:00
0ecfaa96cf drop references to debug.py
All checks were successful
checks-impure / test (pull_request) Successful in 1m6s
checks / test (pull_request) Successful in 1m43s
2024-01-02 15:22:36 +01:00
c1e449e055 Merge pull request 'Automatic flake update - 2024-01-01T00:00+00:00' (#670) from flake-update-2024-01-01 into main
All checks were successful
checks-impure / test (push) Successful in 1m6s
checks / test (push) Successful in 2m40s
2024-01-02 14:14:59 +00:00
91633df0c8 Merge pull request 'fix: join workflow' (#677) from hsjobeki-main into main
All checks were successful
checks / test (push) Successful in 27s
checks-impure / test (push) Successful in 1m1s
2024-01-02 09:05:41 +00:00
0676d93e4b
rebase
All checks were successful
checks-impure / test (pull_request) Successful in 1m6s
checks / test (pull_request) Successful in 2m34s
2024-01-02 10:02:25 +01:00
d6fe6b1d69 Merge pull request 'dirs.py: remove outdated comment' (#676) from DavHau-main into main
All checks were successful
checks / test (push) Successful in 28s
checks-impure / test (push) Successful in 1m0s
2024-01-02 07:29:05 +00:00
e7bd86a9d5 dirs.py: remove outdated comment
All checks were successful
checks-impure / test (pull_request) Successful in 1m12s
checks / test (pull_request) Successful in 2m48s
2024-01-02 14:25:37 +07:00
3914d61008 Merge pull request 'vm-manager: More error handling' (#675) from Qubasa-main into main
All checks were successful
checks / test (push) Successful in 27s
checks-impure / test (push) Successful in 1m2s
2024-01-02 06:27:30 +00:00
7be42146e7 vm-manager: Added right click context menu
All checks were successful
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
1fc524e53e Merge pull request 'Added show_error_dialogue on exception' (#674) from Qubasa-main into main
All checks were successful
checks / test (push) Successful in 27s
checks-impure / test (push) Successful in 59s
2024-01-02 04:57:05 +00:00
c157ecb161 Added show_error_dialogue on exception
All checks were successful
checks-impure / test (pull_request) Successful in 1m9s
checks / test (pull_request) Successful in 2m27s
2024-01-02 05:54:19 +01:00