Commit Graph

35 Commits

Author SHA1 Message Date
lassulus
cb74273da4 clan-cli: move clan_cli.nix to clan_lib.nix 2025-05-19 18:40:36 +02:00
lassulus
1861c4447f clan_lib flake: remove redundant store definition 2025-05-19 17:49:12 +02:00
lassulus
107bc91fa1 clan_lib flake: test if cache gets invalidated with nix gc 2025-05-19 17:48:46 +02:00
lassulus
9685e00122 clan_lib flake: get select output without nixpkgs 2025-05-19 16:11:56 +02:00
lassulus
8218bd3539 clan_lib flake: get store path from NIX_STORE_DIR 2025-05-19 16:11:56 +02:00
lassulus
102fa21b9c clan_lib flake: check the whole tree even if we fetched all keys before
This is needed because nix garbage collection can remove store paths. So
the cache can become invalid because a path needs to be rebuild.
2025-05-19 16:11:56 +02:00
lassulus
1c8b8bf83d clan_lib: move test_flake_caching into clan_lib flake folder 2025-05-18 21:35:56 +02:00
lassulus
fa052f45bd clan_lib: move clan_lib.flake.flake to clan_lib.flake 2025-05-16 19:28:36 +02:00
Johannes Kirschbauer
8ddf0e50d3 Fix: dynamically import clan_cli in flake methods
This is a temporary workaround to solve cyclic imports all these modules should be moved to clan_lib
soon afterwards
2025-05-16 17:02:58 +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
Johannes Kirschbauer
6de58478fa Refactor: replace direct references to inventory
Deprecated. Inventory should be accessed via InventoryStore {read(),write(),...}
2025-05-16 11:30:41 +02:00
Qubasa
2f0114a236 clan-cli: Unify list_machines and use flake caching 2025-05-16 10:47:49 +02:00
Johannes Kirschbauer
70e2a6d116 chore: remove unused iwd python module 2025-05-14 16:17:03 +02:00
Johannes Kirschbauer
633e6ffeae refactor(lib/persist): rename 'patch' to 'apply_patch' 2025-05-14 16:16:16 +02:00
Johannes Kirschbauer
574ed11df4 feat(lib/InventoryStore): add read method 2025-05-14 16:10:49 +02:00
Johannes Kirschbauer
deb6b57a23 refactor(clan/lib): move tests for persist.util into clan_lib 2025-05-14 13:35:27 +02:00
Johannes Kirschbauer
1a4922817a refactor(lib/persist): move WriteInfo class into persistence lib 2025-05-14 10:19:07 +02:00
Johannes Kirschbauer
1860504fb0 feat(clan_lib): add 'InventoryStore' for persistence 2025-05-14 09:18:55 +02:00
Johannes Kirschbauer
45b12cdce6 Refactor(clan_lib): move nix bound classes out of the cli folder 2025-05-13 18:39:36 +02:00
hsjobeki
310450d142 Merge pull request 'UI: make tasks cancleable' (#3586) from hsjobeki/clan-core:qubasas into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3586
2025-05-12 16:24:45 +00:00
hsjobeki
0aab11f007 Merge pull request 'Feat(UI/modules): display more module informations' (#3585) from hsjobeki/clan-core:ui-modules into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3585
2025-05-12 16:21:10 +00:00
Johannes Kirschbauer
96d6ae68b7 Feat(UI/modules): display more module informations 2025-05-12 18:09:42 +02:00
Qubasa
3ea01c60f6 working fileSelect component 2025-05-12 17:54:10 +02:00
Qubasa
38ea6515cf clan-app: Add cancellable tasks 2025-05-12 17:54:10 +02:00
Johannes Kirschbauer
e2ab2fcfb3 Fix: update test and docs 2025-05-12 15:54:50 +02:00
Qubasa
01f9bb358e clan-cli: Use machine object everywhere instead of name + flake 2025-05-09 13:13:14 +02:00
Qubasa
5f7b95ac73 clan-cli: remove useless run_no_stdout function 2025-05-08 12:30:16 +02:00
Qubasa
89decdaf7e clan-cli: Refactor the API to use the Flake object 2025-05-07 16:43:50 +00:00
Johannes Kirschbauer
3413a08c4e Feat(modules): display clan.service modules 2025-05-07 16:03:39 +02:00
Johannes Kirschbauer
19dbab01d7 chore(API): cleanup remove unnused functions 2025-05-06 12:29:11 +02:00
Qubasa
b90812ecce clan-cli: add test_create in clan_lib test folder 2025-05-05 22:16:02 +02:00
Johannes Kirschbauer
fbd291ba11 chore: remove unused moduleSchemas and related API endpoint for legacy modules
We didn't reach the state where we would display these schemas in the
UI.
We might need to wire this up in a similar way for the newer
clan.services
2025-04-27 13:14:09 +02:00
Johannes Kirschbauer
f6628ec1a9 Refactor(clan_lib): move clan_cli.api into clan_lib.api 2025-04-26 19:51:35 +02:00
Johannes Kirschbauer
35c280ffa7 Refactor(clan_cli): init clan_lib folder 2025-04-26 19:50:11 +02:00