Commit Graph

1653 Commits

Author SHA1 Message Date
DavHau
2621a961e7 vars: make simplify vars store abstraction 2024-09-02 18:44:00 +02:00
clan-bot
52707d333d Merge pull request 'use pathlib everywhere' (#2023) from type-checking into main 2024-09-02 16:33:46 +00:00
Jörg Thalheim
659e5b37dd use pathlib everywhere 2024-09-02 18:26:13 +02:00
Johannes Kirschbauer
aceae9aa1e API: types schema improve typescript performance 2024-09-02 18:03:44 +02:00
Jörg Thalheim
af0a1dd3f2 use pathlib 2024-09-02 17:40:05 +02:00
Jörg Thalheim
357b619068 add SIM lint 2024-09-02 16:39:30 +02:00
Jörg Thalheim
f6e2c11eb8 add SLF lint 2024-09-02 16:25:06 +02:00
Jörg Thalheim
ad3daa3ce4 add RET, Q, RSE lint 2024-09-02 15:58:49 +02:00
Jörg Thalheim
ddab0a66c8 add PT 2024-09-02 15:52:17 +02:00
Jörg Thalheim
078cab47bf add FA, ICN, ISC, LOG, PIE and PYI linting 2024-09-02 15:41:56 +02:00
Johannes Kirschbauer
5cfa72edcc UI: AdminSettings page 2024-09-02 15:08:36 +02:00
Johannes Kirschbauer
3b526955a2 API: init iwd clanModule inventory 2024-09-02 15:06:55 +02:00
Jörg Thalheim
3d6dbdd97f move all ruff settings in one place 2024-09-02 14:07:06 +02:00
Jörg Thalheim
15ff74f7c2 enable ASYNC, DTZ, YTT and EM lints 2024-09-02 14:07:06 +02:00
Jörg Thalheim
4632e5d0d9 replace breakpoint() check with python lint 2024-09-02 13:36:07 +02:00
Jörg Thalheim
e9a266001c enable comprehensions linting rules 2024-09-02 13:35:52 +02:00
Jörg Thalheim
35839ef701 enable bug-bear linting rules 2024-09-02 13:26:07 +02:00
Jörg Thalheim
af4b9cc2d5 make all same-module imports relative, the rest absolute
This makes sorting more consitent.
2024-09-02 13:00:19 +02:00
Jörg Thalheim
f3a2b4d80e fix all typing error in tests 2024-09-02 12:23:13 +02:00
DavHau
2ec3abb24c vars: improve check command and add tests 2024-09-01 16:45:09 +02:00
DavHau
8ad90aa44f vars: fix listing vars + add test 2024-09-01 16:10:25 +02:00
DavHau
6f4827bde4 vars: implement listing all vars 2024-09-01 16:03:37 +02:00
DavHau
ec055f7606 vars: introduce deploy=true/false for generated files 2024-09-01 14:32:46 +02:00
lassulus
72615f7575 password_store: create secrets with correct permissions 2024-08-30 12:13:00 +02:00
Johannes Kirschbauer
d46fd517d3 Classgen: fix loose type for dict 2024-08-27 18:35:02 +02:00
Johannes Kirschbauer
f7cd4a2c0f Admin module: integrate with clan app 2024-08-27 18:21:18 +02:00
Johannes Kirschbauer
732ba9d176 Template: fix flake-parts template 2024-08-27 11:27:26 +02:00
Johannes Kirschbauer
3dd5a93e69 API: init Admin endpoints 2024-08-27 10:09:08 +02:00
Johannes Kirschbauer
c2ba062959 Python classes: add admin module 2024-08-26 18:41:12 +02:00
Johannes Kirschbauer
e17ef97c4a API: fix single disk service 2024-08-26 18:03:35 +02:00
Johannes Kirschbauer
b7c70cd058 API: fix online check 2024-08-26 18:00:41 +02:00
Johannes Kirschbauer
2d05b98ae3 CLI: add option to generate facter.json 2024-08-26 09:05:01 +02:00
Jörg Thalheim
1585afc8b3 fix users in VM again 2024-08-24 19:19:24 +02:00
Jörg Thalheim
8a3d21c424 hw-generate: don't load nixos-install-tools on local machine
We only need this on the target. Our installer have it already.
2024-08-24 12:07:22 +02:00
Jörg Thalheim
68e1d023e9 hw-generate: fix args 2024-08-24 12:07:22 +02:00
Jörg Thalheim
6dd73177a3 correct error message about allowed hostnames 2024-08-24 11:30:26 +02:00
DavHau
6b5a8ef10c vars: rename 'facts' _ 'vars' in docs 2024-08-23 18:00:38 +02:00
DavHau
b49c517ad6 vars: add deploy test for shared generators 2024-08-23 17:36:33 +02:00
DavHau
1a27bfa8a8 Reapply + Fix "vars: fix - upload machines own secrets only"
This reverts commit 0cd29daf88.
2024-08-23 15:42:46 +02:00
Johannes Kirschbauer
76fbac8431 API: prepare hw_generate for facter 2024-08-23 11:13:06 +02:00
Johannes Kirschbauer
64f0aeea65 API: hw_generate commit generated config 2024-08-22 16:11:08 +02:00
Johannes Kirschbauer
4080fe41f8 Clan-app: generate hw report 2024-08-22 15:57:00 +02:00
clan-bot
0d7bb8f910 Merge pull request 'Clan-app: install machine' (#1954) from hsjobeki/clan-core:hsjobeki-main into main 2024-08-22 08:21:10 +00:00
Johannes Kirschbauer
f7e64cc3b5 API: serde fix nullable fields should be allowed to be none 2024-08-21 17:53:25 +02:00
Qubasa
6c4d7494f6 clan-cli: Fix some type errors in tests 2024-08-21 15:48:43 +02:00
Qubasa
1cb26b41e7 clan-vm-manager: Fix regression 2024-08-21 15:48:43 +02:00
Johannes Kirschbauer
1b146943d8 API: init set_machine 2024-08-21 15:29:08 +02:00
Mic92
cf3a1d6b7a Merge branch 'main' into rework-installation 2024-08-21 13:28:29 +00:00
Jörg Thalheim
81c941aba6 fix template path for relative clan create template 2024-08-21 15:16:46 +02:00
Jörg Thalheim
d20287f9e3 capture_output: only start capturing when we enter the with statement 2024-08-21 15:16:46 +02:00