a-kenji
1a9e9246be
pkgs/cli: Improve grammar in inventory doc comment
2024-11-10 00:51:21 +01:00
a-kenji
767244301a
pkgs/cli: Fix grammar in inventory doc comment
2024-11-10 00:48:54 +01:00
Johannes Kirschbauer
bdd9497335
Classgen: forward item types for array types
2024-11-08 13:20:45 +01:00
Johannes Kirschbauer
a1acac4b7d
Inventory: init inventory.tags for globally defined static and dynamic tags
2024-11-08 12:48:03 +01:00
Johannes Kirschbauer
15974d92fe
Inventory/schemas: move all schemas to legacyPackages
2024-10-09 13:27:09 +02:00
Jörg Thalheim
61f0ceeaf5
fixtures_flake: drop unused substitutions
2024-10-09 12:07:58 +02:00
Qubasa
1b0b111f03
clan flash: Remove root requirement for flash, add a flash-template
2024-09-24 13:42:21 +02:00
Qubasa
d4e8f88185
clan-cli: Move clan machines import to clan machines create
2024-09-23 17:11:48 +02:00
Johannes Kirschbauer
0addba0d20
Update: inventory classes check
2024-09-16 12:52:28 +00:00
Johannes Kirschbauer
cf24170d0d
CLI: update classes
2024-09-16 12:52:28 +00:00
Johannes Kirschbauer
91a9fb23be
API: rename set_inventory
2024-09-13 16:11:10 +02:00
Qubasa
787599ebb6
clanCore: init machine_id_v3
2024-09-13 12:17:49 +02:00
Johannes Kirschbauer
f2a2b8e893
API: type all services with dict[str,Any] in python to reduce complexity.
2024-09-12 16:19:51 +02:00
Johannes Kirschbauer
39518d302b
API: remove all python dataclasses for clanModules (services)
2024-09-12 16:19:51 +02:00
a-kenji
66c0517dfe
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
4b56605340
Clan-cli: update import in classes
2024-09-12 09:28:58 +02:00
a-kenji
f1b857f4ae
Revert "Merge pull request 'machine_id_v2' ( #2052 ) from Qubasa/clan-core:machine_id_v2 into main"
...
This reverts commit 68a72a4156 , reversing
changes made to 7af3e80249 .
2024-09-10 14:01:12 +02:00
Qubasa
a0b3275ed1
clanCore: init machineId and diskId v2
2024-09-09 15:51:31 +02:00
Jörg Thalheim
403b9cf2cc
apply TRY lint
2024-09-03 18:13:46 +02:00
Johannes Kirschbauer
6e595c3f60
UI: Init iwd service for single wifi
2024-09-03 17:24:31 +02:00
Jörg Thalheim
659e5b37dd
use pathlib everywhere
2024-09-02 18:26:13 +02:00
Jörg Thalheim
357b619068
add SIM lint
2024-09-02 16:39:30 +02:00
Johannes Kirschbauer
3b526955a2
API: init iwd clanModule inventory
2024-09-02 15:06:55 +02:00
Jörg Thalheim
15ff74f7c2
enable ASYNC, DTZ, YTT and EM lints
2024-09-02 14:07:06 +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
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
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
f63940e2ba
init: Set/get single disk
2024-08-20 12:05:22 +02:00
Johannes Kirschbauer
b015f1f123
PropagatedBuild inputs workaround
2024-07-26 15:23:25 +02:00
Johannes Kirschbauer
fe10c5fbd6
Clan-app: show clan details for each registered clan
2024-07-24 18:26:26 +02:00
clan-bot
8020010fcf
Merge pull request 'Inventory improvements' ( #1795 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-24 11:23:16 +00:00
Johannes Kirschbauer
1d51ae5c85
Fix unit tests
2024-07-24 13:15:08 +02:00
Johannes Kirschbauer
c8407e2052
Python Inventory classes: Auto-update
2024-07-24 10:37:19 +02:00
Johannes Kirschbauer
679fd914e0
Inventory: add load_eval method
2024-07-24 10:34:10 +02:00
Johannes Kirschbauer
6d441a1494
Classgen: make type order predictable
2024-07-19 18:49:16 +02:00
Johannes Kirschbauer
5c18f67fed
Classgen: refactor functions
2024-07-19 18:20:22 +02:00
Johannes Kirschbauer
3435db68c8
Classgen: add error reporting and combine common classes
2024-07-19 13:03:38 +02:00
Johannes Kirschbauer
6d49f5c926
Commit generated code otherwise CI cannot check types
2024-07-19 09:52:14 +02:00
Johannes Kirschbauer
07965598f5
Classgen: add mapped keys and more stuff
2024-07-18 21:58:36 +02:00
Johannes Kirschbauer
7e84eaa4b3
Init: Autogenerate classes from nix interfaces
2024-07-18 19:14:12 +02:00
Johannes Kirschbauer
24b3674983
Inventory: fix dataclasses discrepancy once more
2024-07-17 11:39:18 +02:00
Johannes Kirschbauer
0bfba72739
Inventory: fix options
2024-07-17 10:55:46 +02:00
Johannes Kirschbauer
ef18d60286
Inventory: extend python dataclasses by schema changes
2024-07-17 10:09:58 +02:00
Johannes Kirschbauer
7e21428548
Inventory: extend model by deployment info
2024-07-17 10:09:58 +02:00
Johannes Kirschbauer
dfec6afd6b
Clan create: migrate to inventory
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
d6493ed64d
API: tests for module instance update
2024-07-02 16:09:13 +02:00
Johannes Kirschbauer
f7c80834cb
Inventory persistence improves error resistance
2024-07-02 11:16:54 +02:00