Michael Hoang
c73652a401
cli: don't depend on the entire clan-core
2025-04-28 13:20:07 +10:00
Michael Hoang
c347badd7f
cli: fallback to bundled Nixpkgs
2025-04-28 13:10:00 +10:00
Michael Hoang
c7c3abdf04
Merge pull request 'cli: don't use select from clanLib' ( #3423 ) from push-ywotxpmyxlwp into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3423
2025-04-28 03:01:48 +00:00
Michael Hoang
6c8ef6e9be
cli: don't use select from clanLib
2025-04-28 12:52:00 +10:00
renovate[bot]
52a28488c7
chore(deps): update data-mesher digest to 8d0a67b
2025-04-28 00:30:10 +00:00
renovate[bot]
15832521e7
chore(deps): update treefmt-nix digest to b2b6c02
2025-04-27 20:30:24 +00:00
renovate[bot]
9e409cbefe
chore(deps): update data-mesher digest to f05729d
2025-04-27 20:10:09 +00:00
hsjobeki
5fc1f2cdbb
Merge pull request 'Chore: remove unused legacy endpoints' ( #3418 ) from hsjobeki/clan-core:chores-remove-unused into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3418
2025-04-27 11:25:00 +00:00
Johannes Kirschbauer
b87d5a238c
chore: remove unused moduleSchemas and related API endpoint for legacy modules
...
We didn't reach the state where we would display these schemas in the
UI.
We might need to wire this up in a similar way for the newer
clan.services
2025-04-27 13:14:09 +02:00
Johannes Kirschbauer
7007b7d62e
refactor: rename clanLib.values to introspection
2025-04-27 13:10:42 +02:00
hsjobeki
033c50a5c3
Merge pull request 'Feat(clan.service): init automatic assertions for api schema checks' ( #3416 ) from hsjobeki/clan-core:new-json-schemas into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3416
2025-04-27 11:07:12 +00:00
hsjobeki
5aa8715e9f
Merge pull request 'fix: typo in auto-upgrade clanModule' ( #3417 ) from hsjobeki/clan-core:fix-auto-upgrade into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3417
2025-04-27 10:13:22 +00:00
Johannes Kirschbauer
3e31a73ae3
fix: typo in auto-upgrade clanModule
2025-04-27 12:04:03 +02:00
Johannes Kirschbauer
6dfc324661
Feat(clan.service): init automatic assertions for api schema checks
2025-04-27 11:49:56 +02:00
hsjobeki
95e6c5ca0f
Merge pull request 'Feat(clan.service): enable opt-in json-schema restriction for clan.service interface modules' ( #3415 ) from hsjobeki/clan-core:new-json-schemas into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3415
2025-04-27 09:49:08 +00:00
Johannes Kirschbauer
8495106ec4
feat(services): init feature flags in the module manifest: 'manifest.features.API'
2025-04-27 11:07:45 +02:00
Johannes Kirschbauer
ffa8257763
chore: remove unused option 'clanSchema' from core nixos modules
2025-04-27 11:07:45 +02:00
hsjobeki
bdeba9e4bf
Merge pull request 'Init 'clan_lib' namespace and migrate clan_cli.api' ( #3414 ) from hsjobeki/clan-core:clan-lib into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3414
2025-04-26 18:29:35 +00:00
Johannes Kirschbauer
070114ae9f
Fix(clan_lib.api): fix cyclic import problem for api schema export
2025-04-26 20:19:23 +02:00
Johannes Kirschbauer
acbe619883
Refactor(clan_lib): move clan_cli.api into clan_lib.api
2025-04-26 19:51:35 +02:00
Johannes Kirschbauer
3b889649ec
Refactor(clan_cli): init clan_lib folder
2025-04-26 19:50:11 +02:00
Mic92
e335556767
Merge pull request 'nixpkgs source: delete existing symlink' ( #3411 ) from nixpkgs-build into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3411
2025-04-25 14:41:23 +00:00
Jörg Thalheim
97564052ab
nixpkgs source: delete existing symlink
2025-04-25 16:31:35 +02:00
Luis Hebendanz
7b6483bfad
Merge pull request 'clan-cli: Expose private_key to Machine class, in the future we should merge Machine and Host class' ( #3407 ) from Qubasa/clan-core:vpb-patches2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3407
2025-04-25 12:26:00 +00:00
Qubasa
130a5bc593
clan-cli: Improve remote destination depth validation with detailed error messaging
2025-04-25 14:00:40 +02:00
Qubasa
9d45376f95
clan-cli: Expose private_key to Machine class, in the future we should merge Machine and Host class
2025-04-25 13:38:03 +02:00
Mic92
e78bd89426
Merge pull request 'clanCore/vars: allow mode to be set' ( #3404 ) from visualphoenix/clan-core:mode_fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3404
2025-04-25 09:44:25 +00:00
Raymond Barbiero
222915a9ed
clanCore/vars: allow mode to be set
...
fmt
2025-04-25 11:29:43 +02:00
Michael Hoang
d8780b8da9
Merge pull request 'lib: move select.select -> select for backwards compat with old CLIs' ( #3410 ) from push-vxxntzmwuzzx into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3410
Reviewed-by: lassulus <clanlol@lassul.us >
2025-04-25 09:24:17 +00:00
Michael Hoang
cc4b009f06
lib: move select.select -> select for backwards compat with old CLIs
2025-04-25 17:30:06 +10:00
Michael Hoang
59e7af7830
Merge pull request 'Refactor select with new maybe selector' ( #3362 ) from better-select into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3362
2025-04-25 07:02:22 +00:00
Michael Hoang
60ff14d6b7
cli: fix restoring backups
...
There was a bug in `select` that made it output attrsets instead of
lists so we fix the broken refactor done in
5ac629f549 .
2025-04-25 16:52:13 +10:00
lassulus
34ac45bd13
clan-cli flake-module: get select from new lib location
2025-04-25 16:26:45 +10:00
lassulus
89adacebec
templates: fix usage with new select
2025-04-25 16:26:45 +10:00
lassulus
5feccf4e57
Refactor select with new maybe selector
...
This is a great refactor of the select functionality in the flake class.
This now uses the same parser as the nix code, but runs it in python for
nice stacktraces.
Also we now have a maybe selector which can be used by prepending the
selector with a ?
Tests have been expanded to make sure the code is more stable and easier
to understand
2025-04-25 16:26:45 +10:00
Michael Hoang
27077817ae
Merge pull request 'clan-app: improve README' ( #3409 ) from push-ystlwosvuxvw into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3409
2025-04-25 01:20:40 +00:00
Michael Hoang
d7f0c0fc78
clan-app: improve README
2025-04-25 11:12:27 +10:00
renovate[bot]
8f37df456d
Update disko digest to ca27b88
2025-04-24 13:50:10 +00:00
DavHau
dc5d10931b
Merge pull request 'clan-app: add basic smoke test using OCR + nixos tests' ( #3406 ) from DavHau/clan-core:dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3406
2025-04-24 12:02:06 +00:00
DavHau
39c13a5c38
clan-app: add basic smoke test using OCR + nixos tests
2025-04-24 18:17:09 +07:00
renovate[bot]
4be8f7d973
Update data-mesher digest to 4fdda23
2025-04-24 07:30:09 +00:00
hsjobeki
785f68b2f6
Merge pull request 'Chore(clan/clan_uri): Remove ClanURI class from clan_cli' ( #3401 ) from hsjobeki/clan-core:remove-clan-uri into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3401
2025-04-23 15:13:32 +00:00
Johannes Kirschbauer
7076f1b0e6
Chore(clan/clan_uri): Remove ClanURI class from clan_cli
2025-04-23 16:53:11 +02:00
hsjobeki
771901f6aa
Merge pull request 'Refactor: move checks/lib into lib/ to avoid duplicate lib' ( #3399 ) from hsjobeki/clan-core:checks-lib-remove into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3399
2025-04-23 14:33:19 +00:00
Johannes Kirschbauer
a589736f9b
lib/tests: fix container driver module path
2025-04-23 16:23:09 +02:00
Johannes Kirschbauer
f6e514ec6f
Refactor: move checks/lib into lib/ to avoid duplicate lib
...
Lets avoid the mistake of nixpkgs having multiple
libs
2025-04-23 16:19:16 +02:00
DavHau
366be7c723
Merge pull request 'inventory tests: use containers by default' ( #3398 ) from DavHau/clan-core:dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3398
2025-04-23 12:59:52 +00:00
DavHau
e2fb237c33
inventory tests: use containers by default
2025-04-23 19:49:02 +07:00
hsjobeki
c172996dbf
Merge pull request 'UI: fix general layout' ( #3397 ) from hsjobeki/clan-core:ui-3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3397
2025-04-23 11:33:35 +00:00
Mic92
8bc58b1f8c
Merge pull request 'clanModules/vaultwarden: Migrate from facts to vars' ( #3394 ) from kenji/clan-core:ke-vaultwarden-migrate-to-vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3394
2025-04-23 11:32:52 +00:00