Johannes Kirschbauer
c447aec9d3
api/modules: improve logic for builtin modules
2025-08-31 15:58:39 +02:00
Johannes Kirschbauer
5137d19b0f
nix_modules: fix and update None types
2025-08-31 15:58:39 +02:00
Johannes Kirschbauer
58cfcf3d25
api/modules: delete instances.py duplicate
2025-08-31 15:58:39 +02:00
Jörg Thalheim
8620761bbd
vars: fix var name in error message
2025-08-31 15:23:24 +02:00
Jörg Thalheim
17e9231657
vars: improve error message when storing trying to store a var in a read-only flake
2025-08-31 14:14:56 +02:00
Mic92
acc2674d79
Merge pull request 'fix: check if phases are non-default when installing' ( #5024 ) from sachk/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5024
2025-08-29 16:16:01 +00:00
Jörg Thalheim
c34a21a3bb
install: make Step a String enum
2025-08-29 17:45:16 +02:00
Sacha Korban
1a766a3447
fix: check if phases are non-default when running
2025-08-29 17:26:49 +02:00
DavHau
a364b5ebf3
API/list_service_instances: add module metadata ( #5023 )
...
@hsjobeki
Co-authored-by: Johannes Kirschbauer <hsjobeki@gmail.com >
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5023
2025-08-29 13:14:19 +00:00
Jörg Thalheim
758eacd27e
add apply "machine" as an alias to clan machines create
...
I was a bit confused that I was able to list templates but not
apply them. Turns out that "apply" only supported disk templates
2025-08-27 13:39:39 +00:00
hsjobeki
3b2d357f10
Merge pull request 'api/modules: unify duplicate endpoints for {modules, instances}' ( #4994 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4994
2025-08-27 07:13:46 +00:00
DavHau
f77456a123
vars: simplify graph implementation, remove obsolete closure functions
...
- full_closure is obsolete since it is the same as calling requested_closure with the full list of generators.
- minimal_closure is obsolete as well. Since the recent addition of dependents to the closure via 3d2127ce1e it is essentially the same as the all_missing_closure
2025-08-27 12:50:59 +07:00
DavHau
3d2127ce1e
vars: always generate dependents
...
Even for the minimal closure case (when a specific generator was picked), we should still force regeneration of all dependents, as otherwise we risk keeping outdated dependents from previous generations
2025-08-27 11:47:46 +07:00
DavHau
6e4c3a638d
vars: move graph tests to separate file
2025-08-27 11:47:46 +07:00
DavHau
a4a5916fa2
vars: generate over multiple machines at once
2025-08-27 11:45:45 +07:00
Johannes Kirschbauer
f6727055cd
api/modules: unify duplicate endpoints for {modules, instances}
2025-08-26 21:44:58 +02:00
hsjobeki
0517d87caa
Merge pull request 'api/instances: add list service instances' ( #4993 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4993
2025-08-26 16:52:53 +00:00
Johannes Kirschbauer
89e587592c
api/instances: add list service instances
2025-08-26 18:47:08 +02:00
hsjobeki
41de615331
Merge pull request 'ui/services: add more features to components' ( #4988 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4988
2025-08-26 16:40:51 +00:00
Johannes Kirschbauer
b7639b1d81
ui/services: fix some background colors
2025-08-26 18:35:43 +02:00
Johannes Kirschbauer
647bc4e4df
api/list_modules: return a simpler list of modules
2025-08-26 18:35:43 +02:00
Jörg Thalheim
4cb17d42e1
PLR2004: fix
2025-08-26 16:21:15 +02:00
Jörg Thalheim
3168fecd52
PT100: fix
2025-08-26 16:21:15 +02:00
Jörg Thalheim
8ba8fda54b
RUF100: fix
2025-08-26 16:21:15 +02:00
Jörg Thalheim
d5b09f18ed
RET504: fix
2025-08-26 15:55:23 +02:00
Jörg Thalheim
db5571d623
SIM108: fix
2025-08-26 15:23:36 +02:00
Jörg Thalheim
d4bdaec586
SIM102: fix
2025-08-26 15:22:25 +02:00
Jörg Thalheim
cb9c8e5b5a
try{300,301,400}: fix
2025-08-26 15:17:16 +02:00
Jörg Thalheim
8145740cc1
api: lazly load Api options
2025-08-26 14:48:20 +02:00
Jörg Thalheim
b2a54f5b0d
PLC0415: fix
2025-08-26 14:46:42 +02:00
DavHau
501d020562
vars: retrieve generators for multiple machines
...
This is necessary ground work for fixing regeneration behavior spanning over multiple machines
2025-08-26 18:55:54 +07:00
Mic92
a9bafd71e1
Merge pull request 'templates/list: we can compute the lenght of an dictionary directly' ( #4980 ) from ruff into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4980
2025-08-26 11:45:44 +00:00
Jörg Thalheim
c3eb40f17a
templates/list: we can compute the lenght of an dictionary directly
2025-08-26 13:39:49 +02:00
Jörg Thalheim
7330285150
prompt/multiline: strip final newline just like hidden prompt
2025-08-26 13:35:12 +02:00
Jörg Thalheim
5bfa0d7a9d
prompt: catch EOF errors
2025-08-26 13:26:49 +02:00
adeci
8ea2dd9b72
add feature: ask for vars input confirmation, and fail after 3 attempts. fixes accidental misinputs when typing passwords!
2025-08-26 13:26:49 +02:00
Jörg Thalheim
6d2372be56
machines/update: fix incorrecct nixos-rebuild command
2025-08-26 13:11:43 +02:00
Jörg Thalheim
63697ac4b1
various fixes
2025-08-26 13:07:22 +02:00
Jörg Thalheim
1dda60847e
PLW0602: fix
2025-08-26 12:57:31 +02:00
Mic92
a5474bc25f
Merge pull request 'ruff-7-misc' ( #4939 ) from ruff-7-misc into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4939
2025-08-26 10:43:12 +00:00
Luis Hebendanz
78abc36cd3
Merge pull request 'clan-cli: clan machines update-hardware-config now uses kexec, and supports non NixOS targets' ( #4948 ) from Qubasa/clan-core:fix_update_hardware_config into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4948
2025-08-26 10:16:59 +00:00
Jörg Thalheim
e6066a6cb1
spawn_tor: catch OSError and wrap as ClanError
2025-08-26 12:12:29 +02:00
Jörg Thalheim
c45d4cfec9
D413/D212: fix
2025-08-26 12:01:47 +02:00
Jörg Thalheim
64217e1281
G001: fix
2025-08-26 12:01:47 +02:00
Jörg Thalheim
ac20514a8e
EXE001: fix
2025-08-26 12:01:47 +02:00
Jörg Thalheim
61a647b436
PLR1704: fix
2025-08-26 12:01:47 +02:00
Jörg Thalheim
c9a709783a
BLE001: fix
2025-08-26 12:01:47 +02:00
Jörg Thalheim
8f8426de52
PGH003: fix
2025-08-26 11:36:38 +02:00
Qubasa
4bce390e64
clan-cli: clan machiens update-hardware-config now uses kexec, and supports non NixOS targets
2025-08-26 11:35:44 +02:00
Jörg Thalheim
cbf9678534
flake/prefetch: Fix unconditional truthy string causes always-True
2025-08-26 11:07:57 +02:00