Commit Graph

216 Commits

Author SHA1 Message Date
lassulus
fa052f45bd clan_lib: move clan_lib.flake.flake to clan_lib.flake 2025-05-16 19:28:36 +02:00
Johannes Kirschbauer
fe0507b47c refactor: move clan_cli.error to clan_lib.error 2025-05-16 16:14:39 +02:00
lassulus
5423b9af41 clan_cli: move flake class to clan_lib 2025-05-16 13:38:47 +02:00
Qubasa
2f0114a236 clan-cli: Unify list_machines and use flake caching 2025-05-16 10:47:49 +02:00
Jörg Thalheim
1037bd115b Revert "Merge pull request 'clan-cli: Refactor the API to use the Flake object' (#3531) from Qubasa/clan-core:replace_machine_name_with_machine_obj into main"
This reverts commit c09618b323, reversing
changes made to 45b2539455.
2025-05-07 15:24:57 +02:00
Qubasa
a6a69bb09b clan-cli: Refactor the API to use the Flake object 2025-05-07 13:12:48 +02:00
Johannes Kirschbauer
9b96f87160 Chore(clan/clan_uri): Remove ClanURI class from clan_cli 2025-04-23 16:53:11 +02:00
Jörg Thalheim
0b4e896af3 migrate clan history to clan-vm-manager
this functionality is not really useful or used in clan-vm-manager and
therefore should live in the clan-vm-manager.

Not porting the test for now because we probably get rid of the clan-vm-manager soon in favour of the UI.
2025-04-16 14:51:37 +02:00
Jörg Thalheim
573c39e395 vm-manager: ignore interface between GObject and ListModel 2025-03-19 15:29:03 +01:00
lassulus
2a8f40e91a clan_cli machines: use Flake instead of FlakeId 2025-02-07 06:26:09 +01:00
Qubasa
cf2ddfc191 clan-vm-manager: Fix regression part2 2024-11-28 19:01:46 +01:00
Johannes Kirschbauer
836c9d26ab UI/webview: remove unused clamp 2024-11-27 11:03:57 +01:00
Qubasa
aec2fdbf94 clan-vm-manager: Fix regression 2024-11-25 20:08:50 +01:00
Jörg Thalheim
3bdb932cc2 clan-vm-manager: fix typing error 2024-10-22 12:47:56 +02:00
Jörg Thalheim
0a568be528 pass in flakeid to vm_state_dir 2024-10-08 17:51:55 +00:00
Qubasa
e9bfb129a1 clan-cli: Init clan machines import 2024-09-16 18:15:55 +02:00
Jörg Thalheim
5ac3ac63c2 get rid of ValueError 2024-09-03 18:14:31 +02:00
Jörg Thalheim
29909e49d3 apply TRY lint 2024-09-03 18:13:46 +02:00
Jörg Thalheim
1fa0e72bea use pathlib everywhere 2024-09-02 18:26:13 +02:00
Jörg Thalheim
483d8ce521 add SIM lint 2024-09-02 16:39:30 +02:00
Jörg Thalheim
e1e39e9ae9 add SLF lint 2024-09-02 16:25:06 +02:00
Jörg Thalheim
cb16cda3fa add RET, Q, RSE lint 2024-09-02 15:58:49 +02:00
Jörg Thalheim
8fbc76ecac add FA, ICN, ISC, LOG, PIE and PYI linting 2024-09-02 15:41:56 +02:00
Jörg Thalheim
e150b37fb8 enable ASYNC, DTZ, YTT and EM lints 2024-09-02 14:07:06 +02:00
Jörg Thalheim
2405315c21 clan-vm-manager: remove type assertions
we use mypy already, so these type assertions don't make sense.
Also we no longer have strings and always FlakeId in this case
2024-08-26 15:52:20 +02:00
Qubasa
f74df54edd clan-vm-manager: Fix regression 2024-08-21 15:48:43 +02:00
Johannes Kirschbauer
ede5cbcf13 Fix: regression list_machines. Split into multiple functions
list_inventory_machines, list_nixos_machine, list_sops_machines
The caller of the function should specify which machines they wants to see
2024-08-03 12:43:35 +02:00
Qubasa
fb4ceebccf formatter.nix: Add prettier 2024-08-02 18:56:53 +02:00
Qubasa
3e9ebbc90f clan-app: Finish flash view. clan-cli: Flash cli now verifies if language and keymap are valid. 2024-08-02 17:51:45 +02:00
Qubasa
ce1dec774e clan-vm-manager: Fix regression 2024-07-29 17:33:46 +02:00
Qubasa
9ae1bc5f63 clan-vm-manager, clan-app: Make executable icon work in process overview 2024-07-23 14:12:45 +02:00
Qubasa
31161322d6 clan-vm-manager: Fix waypipe regression in nix code 2024-07-23 13:20:02 +02:00
Qubasa
131299694b clan-vm-manager: Restore to known good version 2024-07-19 22:07:34 +02:00
Johannes Kirschbauer
b03fe685dc clan-app: rename clan-vm-manager 2024-06-05 11:24:59 +02:00
Johannes Kirschbauer
fc9f3e9da9 Webview: css font and icon import transformation 2024-05-30 18:23:49 +02:00
Jörg Thalheim
a5cf0c7aad fmt more stuff 2024-05-29 12:51:43 +02:00
Jörg Thalheim
2c8e231bb2 consistent rename cLAN -> Clan 2024-05-27 13:58:32 +00:00
Johannes Kirschbauer
2d9be0e603 API: handle functions with multiple arguments 2024-05-26 18:04:49 +02:00
Johannes Kirschbauer
bacc862d52 fix: tests 2024-05-26 13:41:05 +02:00
Johannes Kirschbauer
27ecbca557 api: improve message serialisation 2024-05-26 13:40:47 +02:00
Johannes Kirschbauer
13678606e7 api: fix typing issues 2024-05-21 16:01:57 +02:00
Johannes Kirschbauer
53548eb56e clan ui: move print into log.debug statements 2024-05-20 19:59:50 +02:00
Johannes Kirschbauer
8d77525664 clan ui: setup typed api method 2024-05-20 19:34:49 +02:00
Johannes Kirschbauer
fee16e6328 clan-ui: rollback default view until webview is ready 2024-05-20 11:08:14 +02:00
Johannes Kirschbauer
59b3981582 fix: segfault gtk when using webkit 2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
e8c1508dc7 clan ui: integrate webview ui into clan-mananger-gtk 2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
484247de6d add webview threaded api 2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
3b3426d219 init webview: add webview ui and list machine as api example 2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
d5cf64c73e vm-manager: hide hidden vm log info 2024-05-08 12:27:16 +02:00
Johannes Kirschbauer
90228b5da8 vm-manager: move signals to emitter 2024-04-24 14:41:53 +02:00