Qubasa
4aff2a9d40
vars: add machine name to errors
2025-09-16 21:13:54 +02:00
Qubasa
9b39ca42e0
clan_lib: implement check_zerotier_running for network overview
2025-09-16 21:13:54 +02:00
Moritz Böhme
3d8fab062d
feat: add zerotier to network cli
2025-09-16 17:24:11 +02:00
clan-bot
e4b316c14a
Merge pull request 'Update nixpkgs' ( #4821 ) from update-nixpkgs into main
2025-09-16 14:19:39 +00:00
Luis Hebendanz
125a882938
Merge pull request 'bundle nix packagemanager by default' ( #5166 ) from nix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5166
2025-09-16 14:10:29 +00:00
Michael Hoang
2152646df6
cli: don't hardcode system for flash list
2025-09-16 16:07:54 +02:00
Michael Hoang
479d7d536e
cli/persist: explicitly annotate type to assist mypy
2025-09-16 16:07:54 +02:00
Michael Hoang
19a209c75a
cli/templates: only catch ClanError
2025-09-16 16:07:54 +02:00
DavHau
c936830bc6
generate_test_vars: add test
2025-09-16 19:16:53 +07:00
Jörg Thalheim
8e50ddc84b
bundle nix packagemanager by default
...
detsys nix lazy-path seems to be incompatible with our caching and
deployment commands. By shipping nix, we can be sure to have binaries we
tested.
2025-09-16 13:25:06 +02:00
DavHau
ea32fdbd93
generate_test_vars: move into clan_cli
...
Reduces overhead by not having to manage a separate package for this small tool
2025-09-16 16:37:41 +07:00
DavHau
1f3aa0075e
generate_test_vars: fix script
2025-09-16 16:37:41 +07:00
DavHau
5d38824d8e
cli/debug: fix web-pdb
2025-09-16 16:37:41 +07:00
Christian Friedow
196d7c95c0
fix: add missing --host-key-check option
2025-09-11 14:30:48 +02:00
Luis Hebendanz
2599998b17
Merge pull request 'add apply "machine" as an alias to clan machines create' ( #5005 ) from apply into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5005
2025-09-09 10:08:58 +00:00
Qubasa
53ce3cf53d
clan-app: Add password input
2025-09-02 17:41:07 +02:00
DavHau
37a49a14f4
vars: fix re-generate behavior for dependencies of shared vars ( #5001 )
...
fixes https://git.clan.lol/clan/clan-core/issues/3791
This fixes multiple issues we had when re-generating shared vars.
Problem 1: shared vars are re-generated for each individual machine instead of just once (see #3791 )
Problem 2: When a shared var was re-generated for one machine, dependent vars on other machines did not get re-generated, leading to broken state
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5001
2025-09-02 14:54:24 +00:00
lassulus
f97e22e125
Merge pull request 'fix: network checking triggering fail2ban' ( #5047 ) from MoritzBoehme/clan-core:fix-network-check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5047
2025-09-02 09:49:33 +00:00
Johannes Kirschbauer
c2a3f5e498
api/machines: populate instance_refs
2025-09-01 16:47:47 +02:00
Johannes Kirschbauer
727d4e70ae
api/machines: move configuration data into subattribute
...
This helps to make room for 'instance_refs'
And potentially other metadata that we want to compute and expose
2025-09-01 14:42:12 +02:00
Moritz Böhme
261c5d2be8
fix: network checking triggering fail2ban
2025-09-01 14:17:10 +02:00
Johannes Kirschbauer
3862ad2a06
api/modules: add foreign key to instances
2025-08-31 15:58:39 +02:00
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