Commit Graph

1249 Commits

Author SHA1 Message Date
Jörg Thalheim
574567c1c4 use pathlib 2024-09-02 17:40:05 +02:00
Jörg Thalheim
483d8ce521 add SIM lint 2024-09-02 16:39:30 +02:00
Jörg Thalheim
e1e39e9ae9 add SLF lint 2024-09-02 16:25:06 +02:00
Jörg Thalheim
cb16cda3fa add RET, Q, RSE lint 2024-09-02 15:58:49 +02:00
Jörg Thalheim
dca1bd084d add PT 2024-09-02 15:52:17 +02:00
Jörg Thalheim
8fbc76ecac add FA, ICN, ISC, LOG, PIE and PYI linting 2024-09-02 15:41:56 +02:00
Johannes Kirschbauer
c2d088b245 UI: AdminSettings page 2024-09-02 15:08:36 +02:00
Johannes Kirschbauer
da25afd978 API: init iwd clanModule inventory 2024-09-02 15:06:55 +02:00
Jörg Thalheim
ddaf44a91b move all ruff settings in one place 2024-09-02 14:07:06 +02:00
Jörg Thalheim
e150b37fb8 enable ASYNC, DTZ, YTT and EM lints 2024-09-02 14:07:06 +02:00
Jörg Thalheim
59c8b4f209 replace breakpoint() check with python lint 2024-09-02 13:36:07 +02:00
Jörg Thalheim
22d6e5e153 enable comprehensions linting rules 2024-09-02 13:35:52 +02:00
Jörg Thalheim
109d1faf9e enable bug-bear linting rules 2024-09-02 13:26:07 +02:00
Jörg Thalheim
b313f2d066 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
b24cbb18b7 fix all typing error in tests 2024-09-02 12:23:13 +02:00
DavHau
64d29cd28c vars: improve check command and add tests 2024-09-01 16:45:09 +02:00
DavHau
b627eafc80 vars: fix listing vars + add test 2024-09-01 16:10:25 +02:00
DavHau
04010bba90 vars: implement listing all vars 2024-09-01 16:03:37 +02:00
DavHau
62ccd0ed4b vars: introduce deploy=true/false for generated files 2024-09-01 14:32:46 +02:00
lassulus
5ced7268a6 password_store: create secrets with correct permissions 2024-08-30 12:13:00 +02:00
Johannes Kirschbauer
4e3dd27b70 Classgen: fix loose type for dict 2024-08-27 18:35:02 +02:00
Johannes Kirschbauer
b601bab5a2 Admin module: integrate with clan app 2024-08-27 18:21:18 +02:00
Johannes Kirschbauer
fe815e5b45 Template: fix flake-parts template 2024-08-27 11:27:26 +02:00
Johannes Kirschbauer
7fe5e355e0 API: init Admin endpoints 2024-08-27 10:09:08 +02:00
Johannes Kirschbauer
e9d0b8c765 Python classes: add admin module 2024-08-26 18:41:12 +02:00
Johannes Kirschbauer
da9af768c2 API: fix single disk service 2024-08-26 18:03:35 +02:00
Johannes Kirschbauer
41141c0483 API: fix online check 2024-08-26 18:00:41 +02:00
Johannes Kirschbauer
a0307a29b8 CLI: add option to generate facter.json 2024-08-26 09:05:01 +02:00
Jörg Thalheim
969eb2f16e fix users in VM again 2024-08-24 19:19:24 +02:00
Jörg Thalheim
de34e058f6 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
7ba0966da3 hw-generate: fix args 2024-08-24 12:07:22 +02:00
Jörg Thalheim
96321123d7 correct error message about allowed hostnames 2024-08-24 11:30:26 +02:00
DavHau
a88b47c1f5 vars: rename 'facts' _ 'vars' in docs 2024-08-23 18:00:38 +02:00
DavHau
238fae500d vars: add deploy test for shared generators 2024-08-23 17:36:33 +02:00
DavHau
f0a3eaca96 Reapply + Fix "vars: fix - upload machines own secrets only"
This reverts commit cb860f9a03.
2024-08-23 15:42:46 +02:00
Johannes Kirschbauer
1e766feb40 API: prepare hw_generate for facter 2024-08-23 11:13:06 +02:00
Johannes Kirschbauer
b0d57cbdf5 API: hw_generate commit generated config 2024-08-22 16:11:08 +02:00
Johannes Kirschbauer
2d119ae750 Clan-app: generate hw report 2024-08-22 15:57:00 +02:00
clan-bot
68c25d6aeb 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
b7d0314826 API: serde fix nullable fields should be allowed to be none 2024-08-21 17:53:25 +02:00
Qubasa
19fe0432d9 clan-cli: Fix some type errors in tests 2024-08-21 15:48:43 +02:00
Qubasa
f74df54edd clan-vm-manager: Fix regression 2024-08-21 15:48:43 +02:00
Johannes Kirschbauer
9a222d62a7 API: init set_machine 2024-08-21 15:29:08 +02:00
Mic92
3710175785 Merge branch 'main' into rework-installation 2024-08-21 13:28:29 +00:00
Jörg Thalheim
666718287a fix template path for relative clan create template 2024-08-21 15:16:46 +02:00
Jörg Thalheim
a72498fe2c capture_output: only start capturing when we enter the with statement 2024-08-21 15:16:46 +02:00
Jörg Thalheim
a3699721c0 remove ipdb again
ipdb doesn't work with capsys and breakpoint
2024-08-21 15:00:47 +02:00
DavHau
cb860f9a03 Revert "vars: fix - upload machines own secrets only"
This reverts commit 8d61b03f8d.
2024-08-21 14:59:05 +02:00
DavHau
8d61b03f8d vars: fix - upload machines own secrets only 2024-08-21 14:47:41 +02:00
Jörg Thalheim
6c421be9b2 test_create_flake: use template name instead of url 2024-08-21 13:59:38 +02:00