Jörg Thalheim
bbb2aca5cb
rename run_no_output to run_no_stdout
...
we want stderr for some nix commands.
2024-12-03 17:15:28 +01:00
lassulus
3ae82f3efc
*: nix fmt
2024-12-02 15:14:40 +01:00
Qubasa
1f98df96e3
clan-cli: cmd.run now has its options extracted to a dataclass
2024-11-28 15:26:37 +01:00
Qubasa
a0b013d3cc
clan-cli: Fix inventory update.sh
2024-11-22 22:23:10 +01:00
Johannes Kirschbauer
88114ebfdc
Clan-cli: update inventory classes.py
2024-11-21 15:38:17 +00:00
a-kenji
f96020809c
pkgs/cli: Improve grammar in inventory doc comment
2024-11-10 00:51:21 +01:00
a-kenji
8eab08be8b
pkgs/cli: Fix grammar in inventory doc comment
2024-11-10 00:48:54 +01:00
Johannes Kirschbauer
16b0592d0f
Classgen: forward item types for array types
2024-11-08 13:20:45 +01:00
Johannes Kirschbauer
4994b5acb5
Inventory: init inventory.tags for globally defined static and dynamic tags
2024-11-08 12:48:03 +01:00
Johannes Kirschbauer
08d26b9463
Inventory/schemas: move all schemas to legacyPackages
2024-10-09 13:27:09 +02:00
Jörg Thalheim
c620ee9d90
fixtures_flake: drop unused substitutions
2024-10-09 12:07:58 +02:00
Qubasa
945c491d05
clan flash: Remove root requirement for flash, add a flash-template
2024-09-24 13:42:21 +02:00
Qubasa
a27880a65e
clan-cli: Move clan machines import to clan machines create
2024-09-23 17:11:48 +02:00
Johannes Kirschbauer
27768aa04b
Update: inventory classes check
2024-09-16 12:52:28 +00:00
Johannes Kirschbauer
f3a9a4e108
CLI: update classes
2024-09-16 12:52:28 +00:00
Johannes Kirschbauer
813172119e
API: rename set_inventory
2024-09-13 16:11:10 +02:00
Qubasa
60397e0ca4
clanCore: init machine_id_v3
2024-09-13 12:17:49 +02:00
Johannes Kirschbauer
e3d85fc2b8
API: type all services with dict[str,Any] in python to reduce complexity.
2024-09-12 16:19:51 +02:00
Johannes Kirschbauer
1a81c1f84b
API: remove all python dataclasses for clanModules (services)
2024-09-12 16:19:51 +02:00
a-kenji
56ce3d625c
clanModules/state-version: init state-version
...
This adds a clanModule that will initialize the `system.stateVersion`
upon deploying the machine for the first time.
If the machine is completely reinstalled, then the state version might be
regenerated. But care should be taken if rebuilding from backups.
2024-09-12 15:47:30 +02:00
Johannes Kirschbauer
a559a01fb7
Clan-cli: update import in classes
2024-09-12 09:28:58 +02:00
a-kenji
b13ed922b1
Revert "Merge pull request 'machine_id_v2' ( #2052 ) from Qubasa/clan-core:machine_id_v2 into main"
...
This reverts commit 22a11abfe5 , reversing
changes made to 208b71ac0e .
2024-09-10 14:01:12 +02:00
Qubasa
5c975a5eef
clanCore: init machineId and diskId v2
2024-09-09 15:51:31 +02:00
Jörg Thalheim
29909e49d3
apply TRY lint
2024-09-03 18:13:46 +02:00
Johannes Kirschbauer
facc0bd226
UI: Init iwd service for single wifi
2024-09-03 17:24:31 +02:00
Jörg Thalheim
1fa0e72bea
use pathlib everywhere
2024-09-02 18:26:13 +02:00
Jörg Thalheim
483d8ce521
add SIM lint
2024-09-02 16:39:30 +02:00
Johannes Kirschbauer
da25afd978
API: init iwd clanModule inventory
2024-09-02 15:06:55 +02:00
Jörg Thalheim
e150b37fb8
enable ASYNC, DTZ, YTT and EM lints
2024-09-02 14:07:06 +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
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
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
db0ebcabf0
init: Set/get single disk
2024-08-20 12:05:22 +02:00
Johannes Kirschbauer
7a3fad01e0
PropagatedBuild inputs workaround
2024-07-26 15:23:25 +02:00
Johannes Kirschbauer
1a881e43e5
Clan-app: show clan details for each registered clan
2024-07-24 18:26:26 +02:00
clan-bot
49ace8a765
Merge pull request 'Inventory improvements' ( #1795 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-24 11:23:16 +00:00
Johannes Kirschbauer
1b52dca96b
Fix unit tests
2024-07-24 13:15:08 +02:00
Johannes Kirschbauer
a8886e9e2f
Python Inventory classes: Auto-update
2024-07-24 10:37:19 +02:00
Johannes Kirschbauer
871fa8f1ff
Inventory: add load_eval method
2024-07-24 10:34:10 +02:00
Johannes Kirschbauer
bfaaa2e038
Classgen: make type order predictable
2024-07-19 18:49:16 +02:00
Johannes Kirschbauer
243aa17d55
Classgen: refactor functions
2024-07-19 18:20:22 +02:00
Johannes Kirschbauer
33261ab4b6
Classgen: add error reporting and combine common classes
2024-07-19 13:03:38 +02:00
Johannes Kirschbauer
a4b1a0eb47
Commit generated code otherwise CI cannot check types
2024-07-19 09:52:14 +02:00
Johannes Kirschbauer
fbe27bfa0a
Classgen: add mapped keys and more stuff
2024-07-18 21:58:36 +02:00
Johannes Kirschbauer
b752d2eb67
Init: Autogenerate classes from nix interfaces
2024-07-18 19:14:12 +02:00
Johannes Kirschbauer
fdd19b8ddd
Inventory: fix dataclasses discrepancy once more
2024-07-17 11:39:18 +02:00
Johannes Kirschbauer
bc520df9ff
Inventory: fix options
2024-07-17 10:55:46 +02:00