DavHau
5cdd9a1817
VMs: port vm_persistence test to python
2024-01-09 14:47:33 +07:00
clan-bot
b26ab00edb
Merge pull request 'zerotier-members: print authorized state on list' ( #697 ) from lassulus-member_list_auth into main
2024-01-08 21:32:00 +00:00
lassulus
ae774353c1
zerotier-members: print authorized state on list
2024-01-08 22:28:13 +01:00
clan-bot
b092743ddd
Merge pull request 'VMs: persist state folders on host' ( #696 ) from DavHau-main into main
2024-01-08 11:42:19 +00: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
clan-bot
e08698aac3
Merge pull request 'move selected_vm to the ClanListToolbar constructor' ( #690 ) from Mic92-wayland-update into main
2024-01-04 17:53:02 +00:00
clan-bot
55047c1320
Merge pull request 'Update start/stop button based on VM state' ( #689 ) from Mic92-wayland-update into main
2024-01-04 17:50:25 +00:00
Jörg Thalheim
8e00120724
move selected_vm to the ClanListToolbar constructor
2024-01-04 18:50:21 +01:00
Jörg Thalheim
a80c386e44
Update start/stop button based on VM state
2024-01-04 18:47:52 +01:00
Jörg Thalheim
0192ec2d4f
executor: simplify running_procs
2024-01-04 18:42:13 +01:00
clan-bot
a3294ab714
Merge pull request 'reduce number of eval workers' ( #688 ) from Mic92-wayland-update into main
2024-01-04 16:21:16 +00:00
clan-bot
e9dc905148
Merge pull request 'clan-vm-manager: make joining clan url more logical' ( #687 ) from Mic92-wayland-update into main
2024-01-04 16:18:29 +00:00
Jörg Thalheim
b4c5168855
reduce number of eval workers
2024-01-04 17:18:10 +01:00
Jörg Thalheim
cb9b25b34d
clan-vm-manager: make joining clan url more logical
...
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
Jörg Thalheim
11a2e808f0
clan-vm-manager: rename "New" to "Join Clan"
2024-01-04 16:50:19 +01:00
Jörg Thalheim
61a0c69b38
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
clan-bot
f7c0a7d8bd
Merge pull request 'strip whitespace from clan uris' ( #686 ) from Mic92-wayland-update into main
2024-01-04 15:34:10 +00:00
clan-bot
3c1d48fc93
Merge pull request 'switch to xwayland display :1' ( #683 ) from Mic92-wayland-update into main
2024-01-04 15:31:10 +00:00
Jörg Thalheim
f240dc9338
strip whitespace from clan uris
2024-01-04 16:30:26 +01:00
Jörg Thalheim
907520cb7e
update nix-direnv
2024-01-04 16:24:26 +01:00
Jörg Thalheim
25fd707c3f
switch to xwayland display :1
...
no conflict with Xorg
2024-01-04 16:18:27 +01:00
clan-bot
d0f1cf6720
Merge pull request 'Fix broken executor.py' ( #684 ) from Qubasa-main into main
2024-01-03 12:42:03 +00:00
Qubasa
b87010016d
Fix broken executor.py
2024-01-03 13:26:25 +01:00
clan-bot
4f432bb5af
Merge pull request 'clan_uri: Support all other formats by just differentiating between remote and local' ( #680 ) from Qubasa-main into main
2024-01-02 16:24:51 +00: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
clan-bot
cce293fab5
Merge pull request 'Executor: drop unused in_file' ( #682 ) from Mic92-wayland-update into main
2024-01-02 14:46:25 +00:00
Jörg Thalheim
c889b2ade1
only set process title on Linux
...
the systemcall is not portable
2024-01-02 15:44:28 +01:00
Jörg Thalheim
c07e7868a5
Executor: drop unused in_file
2024-01-02 15:44:28 +01:00
clan-bot
77b4ef4ba0
Merge pull request 'drop references to debug.py' ( #681 ) from Mic92-wayland-update into main
2024-01-02 14:26:02 +00:00
Jörg Thalheim
2ec7282389
drop references to debug.py
2024-01-02 15:22:36 +01:00
clan-bot
328a24ab39
Merge pull request 'Automatic flake update - 2024-01-01T00:00+00:00' ( #670 ) from flake-update-2024-01-01 into main
2024-01-02 14:14:59 +00:00
clan-bot
76c896605b
Merge pull request 'fix: join workflow' ( #677 ) from hsjobeki-main into main
2024-01-02 09:05:41 +00:00
Johannes Kirschbauer
ea0fd3ba84
rebase
2024-01-02 10:02:25 +01:00
clan-bot
bba05382cf
Merge pull request 'dirs.py: remove outdated comment' ( #676 ) from DavHau-main into main
2024-01-02 07:29:05 +00:00
DavHau
e5c238346a
dirs.py: remove outdated comment
2024-01-02 14:25:37 +07:00
clan-bot
8a8a7fb52d
Merge pull request 'vm-manager: More error handling' ( #675 ) from Qubasa-main into main
2024-01-02 06:27:30 +00: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
clan-bot
b6bcf8dfa7
Merge pull request 'Added show_error_dialogue on exception' ( #674 ) from Qubasa-main into main
2024-01-02 04:57:05 +00:00
Qubasa
1a3a33281b
Added show_error_dialogue on exception
2024-01-02 05:54:19 +01:00
clan-bot
101331b90a
Merge pull request 'Removed unecessary debug.py and test code' ( #672 ) from Qubasa-main into main
2024-01-01 18:01:16 +00:00
Qubasa
9f75237d27
Removed unecessary debug.py and test code
2024-01-01 18:58:12 +01:00
clan-bot
cbcc68ebeb
Merge pull request 'history: added vm config to FlakeConfig' ( #671 ) from Qubasa-origin/Qubasa-main-no-flake-update into main
2024-01-01 17:27:48 +00:00
Qubasa
4265f53d37
Added settings attribute to history file
2024-01-01 18:24:40 +01:00
Clan Merge Bot
644af3e164
update flake lock - 2024-01-01T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/1144887c6f4d2dcbb2316a24364ef53e25b0fcfe' (2023-12-06)
→ 'github:nix-community/disko/0ce1b15b99ac7c280384f136eae00b968f5b3f72' (2023-12-28)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/1f8d62a69936dd899d0e7c955537b2f4ca5bc623' (2023-12-10)
→ 'github:NixOS/nixpkgs/eae82ed71467a19374437376fbb7f5e3ad486aeb' (2023-12-31)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/d806e546f96c88cd9f7d91c1c19ebc99ba6277d9' (2023-12-10)
→ 'github:Mic92/sops-nix/cfdbaf68d00bc2f9e071f17ae77be4b27ff72fa6' (2023-12-31)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/afdd5e48a0869b389027307652a658051c0d2f96' (2023-12-10)
→ 'github:numtide/treefmt-nix/2961375283668d867e64129c22af532de8e77734' (2023-12-19)
2024-01-01 00:00:16 +00:00
Qubasa
3c5dd31501
Added write and read history file functions
2023-12-31 15:17:12 +01:00