a-kenji
04f36a4cb1
pkgs/clan: Fix common command flags registering
...
Fix common command flags registering.
Register the common command flags before triggering autocomplete,
that way we can use the flags in the autocompletions themselves.
2025-07-22 19:56:07 +02:00
a-kenji
cacd853374
pkgs/cli: Support the flake argument for clan shell completions
2025-07-22 19:06:42 +02:00
brianmcgee
07caa6890f
Merge pull request 'chore(ui): finish simplifying clan query params' ( #4450 ) from ui/simplify-clan-params into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4450
2025-07-22 16:49:29 +00:00
Brian McGee
9706285474
chore(ui): finish simplifying clan query params
2025-07-22 17:45:23 +01:00
Kenji Berthold
1510b4014b
Merge pull request 'pkgs/cli: Autocomplete various vars subcommands' ( #4447 ) from kenji/ke-complete-vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4447
2025-07-22 16:27:32 +00:00
lassulus
d5e0f7e505
Merge pull request 'fix: handle arbitrary store paths references in flake cache' ( #4441 ) from fix-flake-caching into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4441
2025-07-22 16:18:15 +00:00
brianmcgee
09b92084c8
Merge pull request 'ui/simplify-clan-params' ( #4448 ) from ui/simplify-clan-params into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4448
2025-07-22 16:13:37 +00:00
brianmcgee
ce70be5ca3
Merge pull request 'Add tanstack devtools to UI' ( #4446 ) from feat/tanstack-devstools into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4446
2025-07-22 16:11:27 +00:00
Brian McGee
dd3051d62b
chore(ui): simplify clan uri params
...
Now that everything lives under `/clans/:clanURI` we don't need to handle the case where the param might be null.
2025-07-22 17:08:12 +01:00
Brian McGee
5f290fed7f
chore(ui): remove solid-devtools
...
It's a chrome extension which is pointless inside of webview which is webkit.
2025-07-22 17:07:44 +01:00
a-kenji
cd8a1d9a32
pkgs/cli: Autocomplete various vars subcommands
...
Add autocomplete for `vars` for the following subcommands:
```
clan vars get [machine] [var_id]
clan vars set [machine] [var_id]
```
2025-07-22 18:03:55 +02:00
Brian McGee
ee9ae21bd2
feat(ui): add tanstack devtools for debugging queries
2025-07-22 16:33:53 +01:00
Jörg Thalheim
bd1451ce18
fix: handle arbitrary store paths references in flake cache
...
Previously, paths like /nix/store/hash-file.nix:123 were incorrectly
treated as pure store paths and wrapped in {"outPath": ...}, breaking
the cache. This fix:
- Adds helper functions to properly detect and handle store references
- Distinguishes between pure store paths and paths with metadata (line numbers)
- Supports multiple store references in a single string
- Handles custom NIX_STORE_DIR correctly
- Ensures existence checks work for all store references
Also fixes test_cache_gc to delete NIX_REMOTE for proper local store testing.
2025-07-22 17:13:04 +02:00
pinpox
a94cc4b7f7
Merge pull request 'Add wait_for_file testing helper' ( #4442 ) from add-wait-for-file into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4442
2025-07-22 14:38:07 +00:00
pinpox
cf2ccd7e14
Add wait_for_file testing helper
2025-07-22 16:27:20 +02:00
hsjobeki
69ab00b34b
Merge pull request 'store: move merge_objects into persistence helpers' ( #4440 ) from api-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4440
2025-07-22 13:12:04 +00:00
Johannes Kirschbauer
0043870882
merge_objects: add unit tests
2025-07-22 15:01:00 +02:00
Johannes Kirschbauer
0ea42ae541
store: move merge_objects into persistence helpers
2025-07-22 15:01:00 +02:00
Kenji Berthold
ad50cfbcbb
Merge pull request 'docs: Fix typo' ( #4439 ) from kenji/ke-typo-getting-started into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4439
2025-07-22 11:30:58 +00:00
Kenji Berthold
cf65ae81cf
Merge pull request 'pkgs/cli: Add disko template completion to clan templates apply disk' ( #4438 ) from kenji/ke-complete-disko into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4438
2025-07-22 11:26:58 +00:00
a-kenji
19ca7d9a77
docs: Fix typo
2025-07-22 13:26:06 +02:00
Kenji Berthold
0b2ee45526
Merge pull request 'pkgs/cli: Add completions to clan flakes create --template [TEMPLATE]' ( #4437 ) from kenji/ke-complete-template into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4437
2025-07-22 11:25:04 +00:00
a-kenji
28e39ada84
pkgs/cli: Add disko template completion to clan templates apply disk
2025-07-22 13:04:45 +02:00
a-kenji
fb52b955cc
pkgs/cli: Add completions to clan flakes create --template [TEMPLATE]
...
Add completions to `clan flakes create --template [TEMPLATE]`
2025-07-22 13:01:45 +02:00
pinpox
77f75b916d
Merge pull request 'Fix store symlinks in container test' ( #4436 ) from fix-container-symlinks into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4436
2025-07-22 10:45:02 +00:00
pinpox
97022ba873
Fix store symlinks in container test
2025-07-22 12:28:11 +02:00
Luis Hebendanz
aee71b3fd6
Merge pull request 'pkgs/cli: Validate flake for network subcommands' ( #4433 ) from kenji/ke-networks-validate-flake into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4433
2025-07-22 05:27:45 +00:00
Luis Hebendanz
76535852e4
Merge pull request 'pkgs/cli: Add machine to output while uploading sources' ( #4429 ) from kenji/ke-update-add-machine into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4429
2025-07-22 05:27:06 +00:00
Kenji Berthold
a694e8d122
Merge pull request 'pkgs/cli: Fix typo in networking help' ( #4431 ) from kenji/ke-network-fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4431
2025-07-21 20:38:54 +00:00
Kenji Berthold
93fee8263f
Merge pull request 'pkgs/cli: Fix typo in networking list help' ( #4432 ) from kenji/ke-networks-fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4432
2025-07-21 20:23:55 +00:00
clan-bot
28859641eb
Merge pull request 'Update flake-parts' ( #4430 ) from update-flake-parts into main
2025-07-21 20:18:37 +00:00
a-kenji
3a2be243c0
pkgs/cli: Add machine to output while uploading sources
...
Add the `machine` to it's output while uploading sources.
2025-07-21 22:15:43 +02:00
a-kenji
9fdf41813a
pkgs/cli: Validate flake for network subcommands
...
When running for example `clan networks list` we now get a reasonable
error message, instead of:
```
Traceback (most recent call last):
File "/nix/store/8ygq8bfxqydk2917mmg32wy9wb0qzzzd-clan-cli/bin/.clan-wrapped", line 9, in <module>
sys.exit(main())
~~~~^^
File "/nix/store/8ygq8bfxqydk2917mmg32wy9wb0qzzzd-clan-cli/lib/python3.13/site-packages/clan_cli/cli.py", line 516, in main
args.func(args)
~~~~~~~~~^^^^^^
File "/nix/store/8ygq8bfxqydk2917mmg32wy9wb0qzzzd-clan-cli/lib/python3.13/site-packages/clan_cli/network/list.py", line 12, in list_command
networks = networks_from_flake(flake)
File "/nix/store/8ygq8bfxqydk2917mmg32wy9wb0qzzzd-clan-cli/lib/python3.13/site-packages/clan_lib/network/network.py", line 106, in networks_from_flake
networks_ = flake.select("clan.exports.instances.*.networking")
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'select'
```
2025-07-21 22:13:48 +02:00
a-kenji
04f3a9480f
pkgs/cli: Fix typo in networking list help
2025-07-21 22:07:29 +02:00
a-kenji
f7762b3119
pkgs/cli: Fix typo in networking help
2025-07-21 22:06:03 +02:00
gitea-actions[bot]
634e4116cf
Update flake-parts
2025-07-21 20:00:52 +00:00
Kenji Berthold
015c09b0e5
Merge pull request 'docs: Fix typos in getting-started guide' ( #4428 ) from kenji/ke-getting-started-fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4428
2025-07-21 18:54:37 +00:00
Kenji Berthold
6e0a43c777
Merge pull request 'clanServices/zerotier: Make moon configuration optional' ( #4427 ) from kenji/ke-zerotier-make-moon-optional into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4427
2025-07-21 18:54:30 +00:00
a-kenji
7fc527b649
docs: Fix typos in getting-started guide
2025-07-21 20:47:41 +02:00
a-kenji
2f0ba0782a
clanServices/zerotier: Make moon configuration optional
...
Make moon configuration optional. Before the `attrNames` evaluated the
attributes eagerly, which in practice meant that you had to set a moon,
if there was a controller configured, which is not on purpose.
2025-07-21 20:43:25 +02:00
hsjobeki
bc3b6c792f
Merge pull request 'services: fix extraModules as path' ( #4422 ) from fix-extra-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4422
2025-07-21 17:56:58 +00:00
Johannes Kirschbauer
b5a3d617fd
services: fix extraModules as path
2025-07-21 19:51:16 +02:00
Mic92
579492f071
Merge pull request 'migration guide: fix moon example' ( #4423 ) from docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4423
2025-07-21 17:11:14 +00:00
Jörg Thalheim
0ed02da28f
migration guide: fix moon example
2025-07-21 19:07:47 +02:00
Mic92
4abfbb05a2
Merge pull request 'extend migration guide' ( #4421 ) from docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4421
2025-07-21 16:23:58 +00:00
Jörg Thalheim
6126cccbcc
extend migration guide
2025-07-21 18:10:58 +02:00
brianmcgee
9e77d16e6d
Merge pull request 'fix(ui): alignment issues with forms' ( #4418 ) from ui/minor-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4418
2025-07-21 12:13:36 +00:00
Brian McGee
53752d4a69
fix(ui): alignment issues with forms
2025-07-21 13:09:53 +01:00
DavHau
38955f763f
clan default template: add inputs to specialArgs
2025-07-21 18:39:51 +07:00
brianmcgee
bd97896899
Merge pull request 'fix(ui): remove extra margin in modal title' ( #4415 ) from ui/minor-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4415
2025-07-21 10:22:15 +00:00