Johannes Kirschbauer
ec6fddce03
Fix(test): migrate machine cli command tests to use the new functions
2025-05-27 17:57:08 +02:00
Johannes Kirschbauer
c293d813cc
Feat(inventoryStore): add 'invalidate_cache' to the Flake protocol
2025-05-27 17:56:35 +02:00
Johannes Kirschbauer
3ed3cdddc9
Feat(inventory): remove legacy action functions
...
Inventory should only and always be accessed through the inventory store.
Manually reading and writing to the json file is highly insecure
2025-05-27 17:20:04 +02:00
hsjobeki
ec17a785af
Merge pull request 'Fix: configure deferred setting module path correctly' ( #3776 ) from fix-3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3776
2025-05-27 14:46:09 +00:00
Johannes Kirschbauer
38b83c41cf
Fix: configure deferred setting module path correctly
2025-05-27 16:31:54 +02:00
Mic92
055b1eb413
Merge pull request 'chore(deps): update nix-darwin digest to 44a7d0e' ( #3775 ) from renovate/nix-darwin-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3775
2025-05-27 14:23:32 +00:00
Mic92
d74ddf7334
Merge pull request 'docs: clarify when to override the nixpkgs input of clan-core' ( #3774 ) from push-kylqnyonxntl into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3774
2025-05-27 14:23:21 +00:00
renovate[bot]
55923023cf
chore(deps): update nix-darwin digest to 44a7d0e
2025-05-27 14:10:10 +00:00
Michael Hoang
e0c1cb47e7
docs: clarify when to override the nixpkgs input of clan-core
...
To match 30987ee5b2/docs/site/guides/migrations/migration-guide.md (L54-L55)
2025-05-27 22:48:08 +10:00
Michael Hoang
30987ee5b2
Merge pull request 'docs: point users towards passing in self to buildClan' ( #3772 ) from push-wluozlqruukw into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3772
Reviewed-by: kenji <aks.kenji@protonmail.com >
2025-05-27 12:34:27 +00:00
Michael Hoang
eadd59ff21
docs: point users towards passing in self to buildClan
2025-05-27 13:49:14 +10:00
clan-bot
a62ac116d8
Merge pull request 'Update Clan Core for Checks' ( #3771 ) from update-clan-core-for-checks into main
2025-05-27 03:01:12 +00:00
clan-bot
2422e0c8e1
Update pinned clan-core for checks
2025-05-27 02:51:23 +00:00
hsjobeki
afa8d62d48
Merge pull request 'Refactor(lib/inventory): move machine actions into clan_lib/machines/actions.py' ( #3770 ) from chores-3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3770
2025-05-26 16:05:26 +00:00
Johannes Kirschbauer
767477cd5c
Chore: rename secrets.get_machine to avoid ambiguity
2025-05-26 17:52:46 +02:00
Johannes Kirschbauer
349968c631
Refactor(lib/inventory): move machine actions into clan_lib/machines/actions.py
2025-05-26 17:51:12 +02:00
hsjobeki
d7b111ef0a
Merge pull request 'Feat(persist): add support for deferredModule read/write' ( #3752 ) from deferredModule-serde into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3752
2025-05-26 14:18:53 +00:00
Johannes Kirschbauer
8aed51c63e
fix(morph/test): temporary workaround for morph test
2025-05-26 16:06:12 +02:00
Johannes Kirschbauer
73d72298cc
chore: add todo comments for template logic in create machine
2025-05-26 16:05:20 +02:00
brianmcgee
d389c4dc5d
Merge pull request 'feat(ui): introduces storybook' ( #3767 ) from feat/storybook into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3767
2025-05-26 13:55:46 +00:00
kenji
91cf2a54bb
Merge pull request 'pkgs/generate-test-vars: Fix build' ( #3769 ) from kenji/clan-core:ke-vars-generator-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3769
2025-05-26 13:48:49 +00:00
a-kenji
322068dad1
pkgs/generate-test-vars: Fix erroneous module import
...
The machines module lives in the `clan_lib` library.
2025-05-26 15:43:41 +02:00
a-kenji
39995eef39
pkgs/generate-test-vars: Add basic module test
...
Add a basic module test that can catch breaking changes in module
usage.
2025-05-26 15:41:48 +02:00
kenji
01eff2c6b9
Merge pull request 'clanServices/wifi/tests: Use undeprecated module registration' ( #3768 ) from kenji/clan-core:ke-wifi-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3768
2025-05-26 12:59:01 +00:00
a-kenji
491dd8134a
clanServices/wifi/tests: Use undeprecated module registration
2025-05-26 14:44:00 +02:00
DavHau
7e4e083014
Merge pull request 'services/wifi: migrate to NetworkManager' ( #3766 ) from DavHau/clan-core:dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3766
2025-05-26 12:14:08 +00:00
DavHau
f561102ca8
clanModules/wifi: remove module
...
It was replaces by a service module and experimental anyways
2025-05-26 19:09:20 +07:00
DavHau
6d6a0521ff
services/wifi: migrate to NetworkManager
2025-05-26 19:09:20 +07:00
Brian McGee
bf993af56f
feat(ui): introduces storybook
...
- adds the necessary dependencies and configuration for Storybook.
- refactors the `Button` component and adds some stories for it.
2025-05-26 12:56:51 +01:00
brianmcgee
7503784699
Merge pull request 'feat(ui): add a clan context provider' ( #3744 ) from feat/clan-uri-context into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3744
2025-05-26 09:26:07 +00:00
renovate[bot]
1c62c287b7
Update data-mesher digest to f52e3ee
2025-05-26 08:00:31 +00:00
renovate[bot]
a32b3db8e5
Update treefmt-nix digest to 1f3f7b7
2025-05-26 07:40:10 +00:00
clan-bot
04d0087239
Merge pull request 'Update Clan Core for Checks' ( #3762 ) from update-clan-core-for-checks into main
2025-05-26 03:01:06 +00:00
clan-bot
6777baca96
Update pinned clan-core for checks
2025-05-26 02:51:22 +00:00
renovate[bot]
4b44892b47
Update disko digest to a894f28
2025-05-26 02:22:29 +00:00
renovate[bot]
339696da1f
Lock file maintenance
2025-05-26 00:20:21 +00:00
renovate[bot]
1644dc66e7
Lock file maintenance
2025-05-26 00:00:32 +00:00
Luis Hebendanz
4aaa985703
Merge pull request 'clan-cli: Fix too long path for socket issue #3756 ' ( #3757 ) from Qubasa/clan-core:fix_path_to_long into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3757
2025-05-25 20:28:46 +00:00
Qubasa
8a40d46e96
clan-cli: Fix too long path for socket issue #3756
2025-05-25 22:16:51 +02:00
kenji
c7515ab5e9
Merge pull request 'typo' ( #3755 ) from nim65s/clan-core:typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3755
2025-05-25 17:05:30 +00:00
Guilhem Saurel
447a4ecc3e
another typo
2025-05-25 18:02:06 +02:00
Guilhem Saurel
df12613ad8
typo
2025-05-25 17:36:14 +02:00
clan-bot
fe39c37c07
Merge pull request 'Update Clan Core for Checks' ( #3754 ) from update-clan-core-for-checks into main
2025-05-25 03:01:27 +00:00
clan-bot
6b8c0ba57a
Update pinned clan-core for checks
2025-05-25 02:51:32 +00:00
clan-bot
5f10f5712e
Merge pull request 'Update Clan Core for Checks' ( #3753 ) from update-clan-core-for-checks into main
2025-05-24 03:00:43 +00:00
clan-bot
2bf33ea295
Update pinned clan-core for checks
2025-05-24 02:51:23 +00:00
Johannes Kirschbauer
eadc7997cd
Fix(machines/create): check if machine is already created
2025-05-23 22:31:06 +02:00
Johannes Kirschbauer
43be58c433
Fix(machines/create): always add 'deploy.targetHost'
...
Rationale: not passing the value, is equivalent to deleting a value from the inventory store
See: 'delete_by_path'
deploy.targetHost has a default of null (None)
2025-05-23 22:07:09 +02:00
Johannes Kirschbauer
d8a835c7ae
test(persist/inventory): add test for adding deferredModule
...
This feature will allow us to read/write to 'settings' of service
'instances' which are of type deferredModule.
Usually a deferredModule needs to be evaulated, but because we use our
own type, which forces some constraints, we can safely perform read and
write
2025-05-23 21:49:16 +02:00
Johannes Kirschbauer
f746184bf6
fix(persist/delete): delete explizitly
2025-05-23 21:47:12 +02:00