Johannes Kirschbauer
|
f189eeaff4
|
Fix(cli/state):_Make listing state folders more safe
|
2025-05-16 18:05:08 +02:00 |
|
Johannes Kirschbauer
|
49e8164ecb
|
Fix(cli/dirs): properly import urllib.parse module
|
2025-05-16 18:05:08 +02:00 |
|
Johannes Kirschbauer
|
b941d77cfa
|
Fix(cli/vars): log.info; since machine is unbound in this context
|
2025-05-16 18:05:08 +02:00 |
|
Johannes Kirschbauer
|
d7c541c508
|
Fix: typing in async_run
|
2025-05-16 18:05:08 +02:00 |
|
Johannes Kirschbauer
|
64e3d84cab
|
Refactor(cli): name set_inv_machine back to set_machine
We don't want to leak information about our internals
Such as 'inv' meaning 'inventory' this is not important from the outside
|
2025-05-16 18:05:07 +02:00 |
|
Johannes Kirschbauer
|
ec22a098e6
|
Refactor: rename api set_inv_machine parameter to 'machines,update'
|
2025-05-16 17:57:40 +02:00 |
|
hsjobeki
|
dce0ea4008
|
Merge pull request 'refactor: move clan_cli.error to clan_lib.error' (#3677) from hsjobeki/clan-core:chores-1 into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3677
|
2025-05-16 15:17:41 +00: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 |
|
Mic92
|
f5191b9998
|
Merge pull request 'installation: put use_tor option in right place' (#3680) from installation into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3680
|
2025-05-16 14:43:17 +00:00 |
|
Jörg Thalheim
|
41598b8f34
|
machines.eval_nix: remove unused refresh parameter
|
2025-05-16 16:31:25 +02:00 |
|
Jörg Thalheim
|
13c6543a88
|
installation: put use_tor option in right place
we would always disable tor, even if enabled.
|
2025-05-16 16:18:25 +02:00 |
|
Johannes Kirschbauer
|
fe0507b47c
|
refactor: move clan_cli.error to clan_lib.error
|
2025-05-16 16:14:39 +02:00 |
|
Mic92
|
73fd4b00d0
|
Merge pull request 'upload: don't try to re-create directory if it already exists' (#3678) from upload into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3678
|
2025-05-16 13:53:05 +00:00 |
|
Jörg Thalheim
|
3d743960a4
|
upload: don't try to re-create directory if it already exists
This allows bind mounts i.e. needed for preserveration/impermanence
|
2025-05-16 15:39:09 +02:00 |
|
lassulus
|
5423b9af41
|
clan_cli: move flake class to clan_lib
|
2025-05-16 13:38:47 +02:00 |
|
hsjobeki
|
5a1bd4447e
|
Merge pull request 'Refactor: replace direct references to inventory' (#3674) from hsjobeki/clan-core:chores-1 into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3674
|
2025-05-16 10:43:24 +00:00 |
|
lassulus
|
47ba924b6b
|
Merge pull request 'clan_cli flake: get selectLib as path: as well' (#3675) from select-as-path into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3675
|
2025-05-16 10:22:24 +00:00 |
|
lassulus
|
89c59b5358
|
clan_cli flake: get selectLib as path: as well
This is needed so older nix versions can get select in a pure way. Since
non path: paths can never be pure on older nix versions
|
2025-05-16 11:37:22 +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 |
|
Brian McGee
|
6df4705efc
|
fix: move vendoring of nixpkgs and select into root devshell
|
2025-05-15 12:00:26 +01:00 |
|
Mic92
|
e4394b8dc7
|
Merge pull request 'Add multiline-hidden-prompt' (#3632) from multiline-hidden-prompt into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3632
Reviewed-by: hsjobeki <hsjobeki@gmail.com>
Reviewed-by: lopter <louis@opter.org>
|
2025-05-15 08:10:34 +00:00 |
|
lassulus
|
f9b910b5cb
|
clan-cli vars upload: create dir if provided
|
2025-05-15 06:42:24 +00:00 |
|
Mic92
|
4058c8aede
|
Merge pull request 'fix ssh master on macos' (#3649) from ssh-master into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3649
|
2025-05-14 22:19:51 +00:00 |
|
Jörg Thalheim
|
50dc6c4c50
|
fix ssh master on macos
|
2025-05-14 20:30:36 +02:00 |
|
Jörg Thalheim
|
31cb76721f
|
prompt: handle KeyboardInterrupt more gracefully
|
2025-05-14 19:53:36 +02:00 |
|
Jörg Thalheim
|
b5d132b193
|
do not instantiate vars_generators several times
We should really not have any property that has side effects i.e.
spawning processes.
|
2025-05-14 19:53:36 +02:00 |
|
Jörg Thalheim
|
75fa7ac609
|
add multiline-hidden prompt for both ui and cli
|
2025-05-14 19:53:36 +02:00 |
|
Johannes Kirschbauer
|
7e0c8c3672
|
refactor(list/machines): use InventoryStore to interact with data"
|
2025-05-14 16:18:12 +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
|
91034b66bf
|
refactor(lib/inventory): use util functions from clan_lib
|
2025-05-14 12:15:37 +02:00 |
|
Johannes Kirschbauer
|
bdb075be11
|
refactor(cli/inventory): remove unncessary init_inventory function
|
2025-05-14 12:15:36 +02:00 |
|
Johannes Kirschbauer
|
1a4922817a
|
refactor(lib/persist): move WriteInfo class into persistence lib
|
2025-05-14 10:19:07 +02:00 |
|
Johannes Kirschbauer
|
925756f7e0
|
chore(cli/inventory): add deprecation note for old python module
|
2025-05-14 10:18:27 +02:00 |
|
Johannes Kirschbauer
|
4507c4f3c3
|
chore(cli/inventory): remove unused 'default_inventory'
|
2025-05-14 09:28:06 +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 |
|
Mic92
|
8b1d1f9c25
|
Merge pull request 'cmd: wait on status after killing process' (#3628) from misc into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3628
|
2025-05-13 14:29:58 +00:00 |
|
Jörg Thalheim
|
d8d0043249
|
cmd: wait on status after killing process
|
2025-05-13 16:18:03 +02:00 |
|
Michael Hoang
|
c7ca8945a3
|
Revert "disable age-plugin-se for now on aarch64-linuxql"
This reverts commit ee8921273a.
|
2025-05-14 00:12:49 +10:00 |
|
Jörg Thalheim
|
58c2cd8ffa
|
tests_secrets_cli: improve assertion message for pgp key
|
2025-05-13 16:10:54 +02:00 |
|
Jörg Thalheim
|
0f7328ab89
|
filter out test files from clan-cli source
this means we can fix test without having to re-run the installation
tests.
|
2025-05-13 15:55:00 +02:00 |
|
Jörg Thalheim
|
c95237accd
|
test_ssh_remote: skip whole module at once on macOS
|
2025-05-13 15:18:21 +02:00 |
|
Qubasa
|
8d80fe343d
|
clan-app: Fix machine update cancel task
|
2025-05-13 14:06:02 +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 |
|