9fef40258a
cmd: skip print for zero-length bufs
2024-01-30 10:30:25 +07:00
a3d92a766e
clan-cli: drop unused variables
2024-01-30 10:30:25 +07:00
80a335eb4c
drop unused unfree_nixpkgs function
2024-01-30 10:30:25 +07:00
0366147235
clan-cli machines: get flake path via flake metadata
checks-impure / test (pull_request) Successful in 1m22s
checks / test (pull_request) Successful in 2m39s
2024-01-29 09:54:30 +01:00
6b9f8b851e
Merge pull request 'Revert "vm-state: fix and improve testing"' ( #768 ) from DavHau-revert into main
checks-impure / test (push) Successful in 1m21s
checks / test (push) Successful in 2m41s
2024-01-29 08:20:09 +00:00
99092f6e76
Revert "vm-state: fix and improve testing"
...
checks-impure / test (pull_request) Successful in 1m37s
checks / test (pull_request) Successful in 3m23s
This reverts commit 6adc68a354
.
2024-01-29 15:16:10 +07:00
549a5800a5
Merge pull request 'Secret mgmt problem' ( #767 ) from Qubasa-main into main
checks-impure / test (push) Successful in 1m40s
checks / test (push) Successful in 2m25s
2024-01-29 08:15:44 +00:00
f6c811e531
UI: Display error logs on VM crash. Fixed inspect_vm problem.
checks-impure / test (pull_request) Successful in 1m32s
checks / test (pull_request) Successful in 2m41s
2024-01-29 15:11:57 +07:00
155a1ee98c
Secret mgmt problem
2024-01-29 14:00:38 +07:00
dc4634b8eb
package vsock-enabled waypipe
checks-impure / test (pull_request) Successful in 1m32s
checks / test (pull_request) Successful in 2m20s
2024-01-29 11:48:08 +07:00
4a84d7da97
nix-direnv-watch-file -> watch-file
checks-impure / test (pull_request) Successful in 1m26s
checks / test (pull_request) Successful in 2m47s
2024-01-29 11:02:43 +07:00
6adc68a354
vm-state: fix and improve testing
...
checks-impure / test (pull_request) Successful in 1m34s
checks / test (pull_request) Successful in 3m6s
checks / test (push) Successful in 30s
checks-impure / test (push) Successful in 1m27s
Also adds qemu qga protocol implementation to execute commands
2024-01-26 19:41:05 +07:00
3afed7a563
clan-cli secrets: generate secrets inside bubblewrap
checks-impure / test (pull_request) Successful in 1m29s
checks / test (pull_request) Successful in 2m46s
2024-01-24 19:20:07 +01:00
abaa218e27
clan-cli install: use new Machine interface, fix mypy error
checks-impure / test (pull_request) Successful in 1m18s
checks / test (pull_request) Successful in 2m38s
2024-01-24 15:49:24 +01:00
6ba641c974
clan-cli update: use new Machine class interface
2024-01-24 15:49:12 +01:00
e1237499d0
clan-cli Machine: make deployment info lazy
2024-01-24 15:49:12 +01:00
3284224440
clan-cli backups: use new machine class for eval
2024-01-24 15:49:12 +01:00
9cf670ee29
test_vm_persistance: substitute clan-core repo
2024-01-24 15:49:12 +01:00
6b004fca6f
machines.Machine: refactor flake_dir -> flake; use Machine class in vm
2024-01-24 15:49:12 +01:00
de885c3010
test_vm_persistance: add age keys
2024-01-24 15:49:12 +01:00
aee0ee4d5e
move secret stores into clan_cli codebase
2024-01-24 15:49:12 +01:00
09887037f5
WIP: clan-cli secrets: add secret_store as python class
2024-01-23 15:04:40 +01:00
6b00957d38
prepare details view
checks-impure / test (pull_request) Successful in 1m32s
checks / test (pull_request) Successful in 2m2s
2024-01-21 12:46:04 +01:00
035a9f2358
add search bar
checks-impure / test (pull_request) Successful in 1m33s
checks / test (pull_request) Successful in 2m36s
2024-01-21 12:13:15 +01:00
7ac0292cdd
display id as subtitle
checks-impure / test (pull_request) Successful in 1m29s
checks / test (pull_request) Successful in 2m24s
2024-01-20 14:51:37 +01:00
d0b075c217
add join to list
checks-impure / test (pull_request) Successful in 1m23s
checks / test (pull_request) Successful in 2m20s
2024-01-20 13:18:43 +01:00
cd2125074f
organize files and classes consistently
checks-impure / test (pull_request) Successful in 1m32s
checks / test (pull_request) Successful in 2m31s
2024-01-20 10:12:37 +01:00
70cf75830d
Remove error from qemu_command
checks-impure / test (pull_request) Successful in 1m21s
checks / test (pull_request) Successful in 2m39s
2024-01-19 18:54:54 +01:00
d956dbeb77
UI: Added signal handling for stopped and started vm.
checks-impure / test (pull_request) Failing after 1m4s
checks / test (pull_request) Successful in 2m39s
2024-01-19 18:52:51 +01:00
2da236b362
Improved error messages in clan_cli
checks-impure / test (pull_request) Successful in 1m31s
checks / test (pull_request) Successful in 2m50s
2024-01-19 14:10:22 +01:00
60c4d231f8
Wrapped vm.run in cmd.run. Working --wayland
checks-impure / test (pull_request) Successful in 1m35s
checks / test (pull_request) Successful in 2m48s
2024-01-19 13:56:17 +01:00
2d613e3933
Gtk4 migration ( #693 )
...
checks / test (push) Successful in 30s
checks-impure / test (push) Successful in 1m18s
Co-authored-by: Qubasa <consulting@qube.email>
Reviewed-on: #693
Co-authored-by: Johannes Kirschbauer <hsjobeki@gmail.com>
Co-committed-by: Johannes Kirschbauer <hsjobeki@gmail.com>
2024-01-17 12:11:49 +00:00
bd5ad0dc31
Merge pull request 'disable state home for now' ( #740 ) from Mic92-main into main
checks-impure / test (push) Successful in 1m21s
checks / test (push) Successful in 2m39s
2024-01-17 10:03:48 +00:00
1d2f003210
use upstream qemu for wayland feature
checks-impure / test (pull_request) Successful in 1m22s
checks / test (pull_request) Successful in 2m43s
2024-01-17 11:00:45 +01:00
f1acc44488
URI: Added support for #flake_attr
checks-impure / test (pull_request) Successful in 1m26s
checks / test (pull_request) Successful in 2m50s
2024-01-16 17:11:26 +01:00
d20f47ad5b
CLI: History supports multiple attrs from the same url now. Errors when executing the cli are formatted better
checks-impure / test (pull_request) Successful in 1m30s
checks / test (pull_request) Successful in 2m26s
2024-01-16 16:16:12 +01:00
abfa2f218c
cmd.py refactor part 7
checks-impure / test (pull_request) Successful in 1m29s
checks / test (pull_request) Successful in 2m53s
2024-01-12 17:37:59 +01:00
0c1d4a1d41
cmd.py refactor part 6
checks-impure / test (pull_request) Successful in 1m29s
checks / test (pull_request) Successful in 2m49s
2024-01-12 17:21:48 +01:00
1a6983e031
cmd.py refactor part 6
2024-01-12 17:02:56 +01:00
ca5cc389ac
cmd.py refactor part 5
checks-impure / test (pull_request) Successful in 1m29s
checks / test (pull_request) Successful in 2m49s
2024-01-12 16:52:34 +01:00
2c2e4862ba
Fixed duplicate logging issue with correct logging in ssh and in root logger
checks-impure / test (pull_request) Successful in 1m29s
checks / test (pull_request) Successful in 2m47s
2024-01-12 16:46:44 +01:00
47f4ef2c31
revert logger changes in f7c6ab5888
...
checks-impure / test (pull_request) Successful in 1m16s
checks / test (pull_request) Successful in 29s
This adds another logger to the logger in clan_cli.ssh which we do not want
2024-01-12 14:48:36 +01:00
e1729a0991
zt-tcp-relay: init at 2023-07-11
checks-impure / test (pull_request) Successful in 1m27s
checks / test (pull_request) Successful in 2m36s
2024-01-12 13:49:36 +01:00
c86e465e35
drop qemu-rutabaga patches
checks-impure / test (pull_request) Successful in 1m44s
checks / test (pull_request) Successful in 6m17s
2024-01-12 12:20:29 +01:00
796ef76893
cmd: add a timeout in select
checks-impure / test (pull_request) Successful in 1m23s
checks / test (pull_request) Successful in 2m42s
2024-01-12 00:20:22 +01:00
05aaa180e0
cmd.py: Fix busy loop.
checks-impure / test (pull_request) Successful in 1m31s
checks / test (pull_request) Successful in 3m3s
2024-01-12 00:13:21 +01:00
1d489438bd
Re-added rlist.remove to counter busy loop
2024-01-12 00:08:15 +01:00
0941367bb3
cmd.py: Fix deadlock because of incorrect select usage
checks-impure / test (pull_request) Successful in 1m20s
checks / test (pull_request) Successful in 2m53s
2024-01-11 23:03:14 +01:00
3351f87a7f
Removed duplicate logging messages
checks-impure / test (pull_request) Successful in 1m22s
checks / test (pull_request) Successful in 2m52s
2024-01-11 22:46:29 +01:00
d1ca0eaf80
Identified deadlocking funciton
checks-impure / test (pull_request) Successful in 1m22s
checks / test (pull_request) Successful in 2m54s
2024-01-11 22:28:35 +01:00
4d4c09da80
Enabled logging DEBUG in pytest
2024-01-11 22:14:55 +01:00
f7c6ab5888
Working test_secrets_generate
checks / test (pull_request) Successful in 2m49s
checks-impure / test (pull_request) Has been cancelled
2024-01-11 21:48:39 +01:00
16b043f508
cmd.py: Fixing bug: missing output because of forgotten flush() call
2024-01-11 21:11:49 +01:00
0133ccd5f7
Fixed missing log.BOTH and error_msg at prev refactors
2024-01-11 21:11:49 +01:00
2ae439ec52
cmd.py refactor part 4
2024-01-11 21:11:49 +01:00
0d9f0c3ec1
Merge pull request 'make zerotier name configureable' ( #711 ) from Mic92-zerotier into main
checks-impure / test (push) Successful in 1m18s
checks / test (push) Successful in 2m27s
2024-01-11 17:05:54 +00:00
f6b6229f78
schema: set also clanName
...
checks-impure / test (pull_request) Successful in 1m18s
checks / test (pull_request) Failing after 2m49s
this is usually set by buildClan
2024-01-11 17:41:41 +01:00
2b75cc4744
zerotier-members: add ipv6 to list display
checks-impure / test (pull_request) Successful in 1m29s
checks / test (pull_request) Successful in 2m38s
2024-01-11 15:46:26 +01:00
93fa4e397b
Merge pull request 'cmd.py part 3 refactor' ( #706 ) from Qubasa-main into main
checks-impure / test (push) Successful in 1m19s
checks / test (push) Successful in 2m49s
2024-01-10 17:57:51 +00:00
359275eee7
Improved error message. Fixed incorrect ret code check in git.py
checks-impure / test (pull_request) Successful in 1m18s
checks / test (pull_request) Successful in 2m50s
2024-01-10 18:54:34 +01:00
64846eb395
Fixed bug, where exception is raised where there shouldn't be raised one
2024-01-10 18:46:54 +01:00
b36d0be524
cmd.py part 3 refactor
checks-impure / test (pull_request) Failing after 1m25s
checks / test (pull_request) Failing after 3m8s
2024-01-10 18:39:19 +01:00
46da9eb5db
Merge pull request 'Added ClanCmdError. cmd.run now returns this error' ( #704 ) from Qubasa-main into main
checks-impure / test (push) Successful in 1m18s
checks / test (push) Successful in 2m50s
2024-01-10 17:02:08 +00:00
699515ca89
Added ClanCmdError. cmd.run now returns this error
checks-impure / test (pull_request) Successful in 1m27s
checks / test (pull_request) Successful in 3m3s
2024-01-10 17:58:39 +01:00
f34df3df02
Merge pull request 'Refactor subprocess to cmd.py part 2' ( #685 ) from Qubasa-main into main
checks-impure / test (push) Successful in 1m19s
checks / test (push) Successful in 2m50s
2024-01-10 16:34:38 +00:00
626e5558f3
Fix cmd to default print on all outputs. Default print on stderr
checks-impure / test (pull_request) Successful in 1m17s
checks / test (pull_request) Successful in 2m51s
2024-01-10 17:31:11 +01:00
c41bc10325
nix fmt
checks-impure / test (pull_request) Failing after 1m19s
checks / test (pull_request) Successful in 2m50s
2024-01-10 17:19:33 +01:00
54f2eba1cc
nix fmt
2024-01-10 17:19:12 +01:00
40beda884c
Updated cmd.py with Mic92 changes to fit previous changes
2024-01-10 17:18:21 +01:00
eeac4902ab
re-anble pulseaudio in qemu
checks-impure / test (pull_request) Successful in 1m36s
checks / test (pull_request) Successful in 3m0s
2024-01-10 15:32:37 +01:00
ba05589af2
Refactor subprocess to cmd.py part 2
checks-impure / test (pull_request) Failing after 16s
checks / test (pull_request) Failing after 40s
2024-01-10 12:11:29 +01:00
26e9463248
Merge pull request 'cmd: rework redirecting stdout/stderr' ( #700 ) from Mic92-wayland-update into main
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
checks-impure / test (pull_request) Successful in 1m16s
checks / test (pull_request) Successful in 2m40s
2024-01-09 17:34:43 +01:00
520ff0b334
VMs: ensure state dirs don't collide between clans
checks-impure / test (pull_request) Successful in 1m20s
checks / test (pull_request) Successful in 2m37s
2024-01-09 17:22:48 +07:00
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
c73818c1a5
zerotier-members: print authorized state on list
checks-impure / test (pull_request) Successful in 1m27s
checks / test (pull_request) Successful in 2m25s
2024-01-08 22:28:13 +01: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
a5137efd48
move selected_vm to the ClanListToolbar constructor
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
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
6a75ea56fd
clan-vm-manager: make joining clan url more logical
...
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
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
7f21e99736
update nix-direnv
checks-impure / test (pull_request) Successful in 1m5s
checks / test (pull_request) Successful in 2m18s
2024-01-04 16:24:26 +01:00
ae00b3ae65
Fix broken executor.py
checks / test (pull_request) Successful in 2m13s
checks-impure / test (pull_request) Successful in 59s
2024-01-03 13:26:25 +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
d0b165b311
only set process title on Linux
...
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
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
0676d93e4b
rebase
checks-impure / test (pull_request) Successful in 1m6s
checks / test (pull_request) Successful in 2m34s
2024-01-02 10:02:25 +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
c157ecb161
Added show_error_dialogue on exception
checks-impure / test (pull_request) Successful in 1m9s
checks / test (pull_request) Successful in 2m27s
2024-01-02 05:54:19 +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