c1e2bc9ea9
make config command read-only
buildbot/nix-build .#checks.x86_64-linux.nixos-test_install_machine Build done.
buildbot/nix-build .#checks.x86_64-linux.lib-jsonschema-nix-unit-tests Build done.
buildbot/nix-build .#checks.x86_64-linux.module-schema Build done.
buildbot/nix-build .#checks.x86_64-linux.package-tea-create-pr Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zerotier-members Build done.
buildbot/nix-build .#checks.x86_64-linux.devShell-clan-vm-manager Build done.
buildbot/nix-build .#checks.x86_64-linux.package-pending-reviews Build done.
buildbot/nix-build .#checks.x86_64-linux.clan-pytest-with-core Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zt-tcp-relay Build done.
buildbot/nix-build .#checks.x86_64-linux.package-docs Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zerotierone Build done.
buildbot/nix-build .#checks.x86_64-linux.package-function-schema Build done.
buildbot/nix-build .#checks.x86_64-linux.package-merge-after-ci Build done.
buildbot/nix-build .#checks.x86_64-linux.package-moonlight-sunshine-accept Build done.
buildbot/nix-build .#checks.x86_64-linux.package-module-schema Build done.
buildbot/nix-build .#checks.x86_64-linux.package-webview-ui Build done.
buildbot/nix-build .#checks.x86_64-linux.secrets Build done.
buildbot/nix-build .#checks.x86_64-linux.nixos-flash-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.nixos-iso-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.package-clan-vm-manager Build done.
buildbot/nix-build .#checks.x86_64-linux.wayland-proxy-virtwl Build done.
buildbot/nix-build .#checks.x86_64-linux.package-iso-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.zt-tcp-relay Build done.
buildbot/nix-build .#checks.x86_64-linux.syncthing Build done.
buildbot/nix-build .#checks.x86_64-linux.clan-pytest-without-core Build done.
buildbot/nix-build .#checks.x86_64-linux.test-backups Build done.
checks / checks-impure (pull_request) Successful in 2m20s
buildbot/nix-build .#checks.x86_64-linux.flash Build done.
buildbot/nix-build .#checks.x86_64-linux.test-installation Build done.
buildbot/nix-eval Build done.
2024-05-29 13:17:55 +02:00
f0f97baa65
drop global argparse flags
...
buildbot/nix-build .#checks.x86_64-linux.package-gui-installer-archlinux Build done.
buildbot/nix-build .#checks.x86_64-linux.package-gui-installer-deb Build done.
buildbot/nix-build .#checks.x86_64-linux.package-gui-installer-rpm Build done.
buildbot/nix-build .#checks.x86_64-linux.package-impure-checks Build done.
buildbot/nix-build .#checks.x86_64-linux.lib-jsonschema-nix-unit-tests Build done.
buildbot/nix-build .#checks.x86_64-linux.package-merge-after-ci Build done.
buildbot/nix-build .#checks.x86_64-linux.package-moonlight-sunshine-accept Build done.
buildbot/nix-build .#checks.x86_64-linux.package-pending-reviews Build done.
buildbot/nix-build .#checks.x86_64-linux.package-tea-create-pr Build done.
buildbot/nix-build .#checks.x86_64-linux.package-wayland-proxy-virtwl Build done.
buildbot/nix-build .#checks.x86_64-linux.package-webview-ui Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zerotier-members Build done.
buildbot/nix-build .#checks.x86_64-linux.clan-pytest-with-core Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zerotierone Build done.
buildbot/nix-build .#checks.x86_64-linux.package-editor Build done.
buildbot/nix-build .#checks.x86_64-linux.package-deploy-docs Build done.
buildbot/nix-build .#checks.x86_64-linux.package-function-schema Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zt-tcp-relay Build done.
buildbot/nix-build .#checks.x86_64-linux.nixos-flash-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.nixos-iso-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.secrets Build done.
buildbot/nix-build .#checks.x86_64-linux.package-module-schema Build done.
buildbot/nix-build .#checks.x86_64-linux.zt-tcp-relay Build done.
buildbot/nix-build .#checks.x86_64-linux.package-iso-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.wayland-proxy-virtwl Build done.
buildbot/nix-build .#checks.x86_64-linux.syncthing Build done.
buildbot/nix-build .#checks.x86_64-linux.test-backups Build done.
buildbot/nix-build .#checks.x86_64-linux.test-installation Build done.
buildbot/nix-eval Build done.
checks / checks-impure (pull_request) Successful in 2m23s
They get shadowed by subargparser options.
2024-05-29 10:21:35 +02:00
4fd84d1c48
disallow variable shadowing
2023-11-30 14:31:37 +01:00
31ce8f7357
fix build
checks-impure / test (pull_request) Successful in 1m8s
checks / test (pull_request) Successful in 1m59s
2023-11-30 11:08:50 +01:00
f1b223d0a1
modernisation for python 3.11
2023-11-29 13:29:45 +00:00
26e3e3872c
enable more linting
2023-11-29 13:29:45 +00:00
1ea13646ea
clan_cli: flake_name -> flake_dir
checks / test (pull_request) Failing after 1m7s
checks-impure / test (pull_request) Successful in 1m31s
2023-11-15 16:23:28 +01:00
f9b1a8fa89
Removing find_git_repo
2023-10-27 19:26:03 +02:00
c1b4fa6d55
nix fmt
2023-10-27 19:21:50 +02:00
d1c35301e3
Added repro_env_break debugging command. This spawn a terminal inside the temp home folder with the same environment as the python test
2023-10-27 19:20:17 +02:00
26bfb793b1
Added ref to Qubasa-main in template/new-clan/flake.nix
2023-10-27 19:20:17 +02:00
3783359f08
clan config: support new types nullOr and passwdEntry
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 23s
2023-09-24 14:24:48 +01:00
ec70b34470
clan config: match dynamic options containing <name>
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 23s
2023-09-24 13:04:37 +01:00
6a359c0a2f
clan-cli: add git.commit_file() to auto commit files if inside a git
...
checks-impure / test (pull_request) Successful in 10s
checks / test (pull_request) Successful in 34s
- commit only if inside a git repo
- commit only the specified file and nothing else
- auto-generate commit message if not specified
2023-09-21 14:07:54 +02:00
87f0b090ef
cli: rename clan_flake to test_flake
checks-impure / test (pull_request) Successful in 9s
checks / test (pull_request) Successful in 1m24s
2023-09-15 12:36:16 +02:00
02f421546c
rename machine_flake back to clan_flake
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 1m22s
2023-09-14 17:06:07 +02:00
8ca0a2aee4
clan-config: introduce --machine + add tests
checks / test (pull_request) Successful in 1m16s
checks-impure / test (pull_request) Successful in 4s
2023-08-30 20:59:26 +02:00
518bf4197f
webui: tests for machine config endpoints
build / test (pull_request) Successful in 1m4s
2023-08-26 08:46:53 +02:00
fb76ad45e8
webui: implement /api/machines/{name}/schema
build / test (pull_request) Successful in 18s
2023-08-25 21:26:30 +02:00
6adfadd8b9
re-enable config subcommand if CLAN_OPTIONS_FILE is set
2023-08-24 18:28:33 +02:00
b16f314c80
clan-config: add option --quiet
build / test (pull_request) Successful in 25s
2023-08-23 12:25:02 +02:00
999fbe0d89
clan-config: add readme
...
build / test (pull_request) Failing after 24s
Also add capability of reading an option value
2023-08-23 01:01:07 +02:00
780fd881c3
clan-config: fix tests
2023-08-22 21:17:47 +00:00
48686591d8
clan-config: improve and add flake-parts module for clan-config
2023-08-22 21:17:47 +00:00
52d6798315
clan-config: stop using jsonschema at all for CLI
...
build / test (pull_request) Successful in 19s
- instead use options.json coming from nixosOptionsDoc
2023-08-15 15:48:17 +02:00
348e503789
clan-config: get rid of jsonschema dependency
build / test (pull_request) Successful in 27s
2023-08-15 13:29:48 +02:00
0a9b914ad5
clan-config: improve jsonschema arg parsing
...
build / test (pull_request) Successful in 21s
- output json to stdout after success
- expect args in the style: `foo.bar = baz`
- handle different input types
- cast input types on best effort basis
- throw meaningful errors
2023-08-11 00:05:52 +02:00
d04278e9b1
clan-config: add tests
2023-08-10 21:17:17 +02:00