lassulus
|
1df5dfe6d3
|
clan-cli: clan_cli.cmd -> clan_lib.cmd
|
2025-05-19 19:07:24 +02:00 |
|
lassulus
|
b10682c7f7
|
clan-cli: move clan_cli.nix to clan_lib.nix
|
2025-05-19 18:40:36 +02:00 |
|
lassulus
|
fb746b874c
|
clan_lib: move clan_lib.flake.flake to clan_lib.flake
|
2025-05-16 19:28:36 +02:00 |
|
Johannes Kirschbauer
|
2e2335a922
|
Fix(cli/machines/list): make listing machines safer
|
2025-05-16 18:05:49 +02:00 |
|
Johannes Kirschbauer
|
29811cd0dc
|
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
|
e4a6cbc7e3
|
Refactor: rename api set_inv_machine parameter to 'machines,update'
|
2025-05-16 17:57:40 +02:00 |
|
hsjobeki
|
1bcf5a82a6
|
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 |
|
Mic92
|
80606274ed
|
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
|
74f9ee4326
|
machines.eval_nix: remove unused refresh parameter
|
2025-05-16 16:31:25 +02:00 |
|
Jörg Thalheim
|
7d6ddc5e59
|
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
|
f210b2f9a6
|
refactor: move clan_cli.error to clan_lib.error
|
2025-05-16 16:14:39 +02:00 |
|
lassulus
|
3dc41f7d5f
|
clan_cli: move flake class to clan_lib
|
2025-05-16 13:38:47 +02:00 |
|
Johannes Kirschbauer
|
c43d8fa958
|
Refactor: replace direct references to inventory
Deprecated. Inventory should be accessed via InventoryStore {read(),write(),...}
|
2025-05-16 11:30:41 +02:00 |
|
Qubasa
|
d765f1078b
|
clan-cli: Unify list_machines and use flake caching
|
2025-05-16 10:47:49 +02:00 |
|
Mic92
|
f91e0a99d2
|
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 |
|
Jörg Thalheim
|
1ff5d64a78
|
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 |
|
Johannes Kirschbauer
|
e1f0590eac
|
refactor(list/machines): use InventoryStore to interact with data"
|
2025-05-14 16:18:12 +02:00 |
|
Johannes Kirschbauer
|
c77a3b11a8
|
Refactor(clan_lib): move nix bound classes out of the cli folder
|
2025-05-13 18:39:36 +02:00 |
|
Qubasa
|
daffc95c96
|
clan-app: Fix machine update cancel task
|
2025-05-13 14:06:02 +02:00 |
|
Michael Hoang
|
8a755fff8c
|
cli: fix machines update not outputting stdout of nixos-rebuild
|
2025-05-10 17:02:56 +10:00 |
|
Qubasa
|
2682581c09
|
clan-cli: Use machine object everywhere instead of name + flake
|
2025-05-09 13:13:14 +02:00 |
|
Qubasa
|
7459566c2b
|
clan-cli: remove useless run_no_stdout function
|
2025-05-08 12:30:16 +02:00 |
|
Qubasa
|
153da50d6f
|
clan-cli: Refactor the API to use the Flake object
|
2025-05-07 16:43:50 +00:00 |
|
Jörg Thalheim
|
444fc3f820
|
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 572ce8885f, reversing
changes made to 0bee027251.
|
2025-05-07 15:24:57 +02:00 |
|
Qubasa
|
7129c38675
|
clan-cli: Refactor the API to use the Flake object
|
2025-05-07 13:12:48 +02:00 |
|
Johannes Kirschbauer
|
6d4db71ea3
|
Refactor(machine/class): use frozen dataclass for class 'machine'
|
2025-05-06 17:12:52 +02:00 |
|
Johannes Kirschbauer
|
b21c98db7f
|
Refactor(machine/install): don't mutate the machine class during installation
|
2025-05-06 17:09:37 +02:00 |
|
Johannes Kirschbauer
|
7371085c05
|
Refactor(machine/update): cleanup dataflow and logic conditions to be intuitive
|
2025-05-06 16:49:32 +02:00 |
|
Mic92
|
6804327bca
|
Merge pull request 'Host: actual setup ssh controlmaster' (#3515) from fix-control-master into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3515
|
2025-05-06 11:21:05 +00:00 |
|
Jörg Thalheim
|
ec76d5f8e5
|
only apply ssh control master to local ssh connection
|
2025-05-06 13:11:30 +02:00 |
|
Jörg Thalheim
|
864cdf33a7
|
Host: actual setup ssh controlmaster
before we were not entering the context manager
|
2025-05-06 13:11:30 +02:00 |
|
Johannes Kirschbauer
|
00b12c2c51
|
chore(API): cleanup remove unnused functions
|
2025-05-06 12:29:11 +02:00 |
|
Jörg Thalheim
|
0d1e642dfd
|
fix build_host set if it doesn't exist
|
2025-05-06 09:56:58 +02:00 |
|
Mic92
|
8af68cbd9d
|
Merge pull request 'fix incorrect target host when build host is set' (#3511) from ssh-foo into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3511
|
2025-05-06 07:54:40 +00:00 |
|
Jörg Thalheim
|
a44fee9eab
|
fix incorrect target host when build host is set
|
2025-05-06 09:54:08 +02:00 |
|
Jörg Thalheim
|
cd23c9ff41
|
fix incorrect target host when build host is set
|
2025-05-06 09:26:59 +02:00 |
|
Qubasa
|
548fdfb877
|
clan-cli: add test_create in clan_lib test folder
|
2025-05-05 22:16:02 +02:00 |
|
Jörg Thalheim
|
b01691cb64
|
bind ssh controlmaster to live time of CLI
|
2025-05-04 16:28:14 +02:00 |
|
Jörg Thalheim
|
6539a6a24f
|
Revert "Merge pull request 'Fix deploying with sudo + password' (#3470) from target-host into main"
This reverts commit 8a849eb90f, reversing
changes made to 3b5c22ebcf.
|
2025-05-04 13:37:39 +02:00 |
|
Jörg Thalheim
|
7abb8bb662
|
update: fix sudo password prompt
|
2025-05-04 10:51:49 +02:00 |
|
Jörg Thalheim
|
091a56f57d
|
update_hardware_config: use host.run rather than adhoc ssh command
|
2025-05-04 10:30:46 +02:00 |
|
pinpox
|
a99c832ed9
|
Set terminal on nix flake update/archive
When using resident SSH-keys (-sk), e.g. from a Yubikey that require a
Pin, a terminal is needed to be able to enter it during deployment.
|
2025-05-02 15:41:29 +02:00 |
|
Jörg Thalheim
|
ea1c8b9503
|
correct capitilization for targetHost in error message
|
2025-05-01 15:11:05 +02:00 |
|
DavHau
|
8a4fe1405a
|
gui: make update machine work
Also fix error when age plugins not defined
|
2025-04-30 15:28:49 +07:00 |
|
Johannes Kirschbauer
|
070114ae9f
|
Fix(clan_lib.api): fix cyclic import problem for api schema export
|
2025-04-26 20:19:23 +02:00 |
|
Johannes Kirschbauer
|
acbe619883
|
Refactor(clan_lib): move clan_cli.api into clan_lib.api
|
2025-04-26 19:51:35 +02:00 |
|
Qubasa
|
9d45376f95
|
clan-cli: Expose private_key to Machine class, in the future we should merge Machine and Host class
|
2025-04-25 13:38:03 +02:00 |
|
Johannes Kirschbauer
|
7076f1b0e6
|
Chore(clan/clan_uri): Remove ClanURI class from clan_cli
|
2025-04-23 16:53:11 +02:00 |
|
Michael Hoang
|
1168395336
|
cli/machines: don't allow installing on macOS
|
2025-04-23 03:13:39 +10:00 |
|
Jörg Thalheim
|
847e3ac4ab
|
drop unused machine_get_fact
|
2025-04-22 18:20:35 +02:00 |
|