Qubasa
5bd2345bc1
Commit only for debugging Container
2023-10-27 19:26:03 +02:00
Qubasa
6d0deefa6b
Added ipdb as breakpoint console. Improved logging.
2023-10-27 19:19:45 +02:00
Qubasa
0ab2b853f2
Improved logging messages. Added ClanError if flake create or machine create already exist
2023-10-27 19:18:45 +02:00
Qubasa
7bbadaa60f
Fixed cyclic dependencie AND swapped pytest-parallel for pytest-xdist to fix deadlock in tests
2023-10-27 19:18:45 +02:00
Qubasa
58b54bb9df
API: Added Path validators. api/flake/create inits git repo. Fixed vscode interpreter problem
2023-10-27 19:11:27 +02:00
Jörg Thalheim
1b98be4fb7
move breakpoint checks out of default build
...
this allows to debug builds with breakpoints
2023-10-27 17:40:20 +02:00
DavHau
4f9fa94e46
clan-cli: improve debug logging
2023-10-05 17:37:33 +02:00
DavHau
b8da1a8e08
clan-cli: unset LD_LIBRARY_PATH
...
This prevents problems with mixed glibc versions that might occur when the cli is called through a browser built against another glibc
2023-10-05 13:44:08 +02:00
DavHau
e6f1ba9291
clan join: init
2023-10-04 18:53:59 +02:00
DavHau
a2f729fb2a
webui: open browser in new window
...
This gets closer to an app like feeling
2023-10-04 17:26:55 +02:00
DavHau
7b157b279f
clan-cli: stop propagating build inputs, remove wrapper
2023-10-04 10:36:39 +02:00
Jörg Thalheim
df6962d316
add missing e2fsprogs to runtime inputs
2023-10-03 17:24:08 +02:00
lassulus
34dec8d194
tests: add test_secrets_password_store
2023-09-29 20:05:35 +02:00
lassulus
d1cf62cc59
clan-cli: init vm command
2023-09-29 19:18:27 +02:00
Jörg Thalheim
676329aed9
clan-cli: symlink cli into an otherwise empty package
...
This avoids propagating unneeded python libraries
2023-09-28 12:19:16 +02:00
Jörg Thalheim
156ff510bc
don't propagate python libraries into a devshell
2023-09-28 11:58:09 +02:00
clan-bot
6263c9d555
Merge pull request 'use buildPythonApplication to shield against external PYTHONPATH' ( #363 ) from Mic92-main into main
2023-09-28 09:23:36 +00:00
Jörg Thalheim
5ac2e5970b
use buildPythonApplication to shield against external PYTHONPATH
2023-09-28 11:19:16 +02:00
lassulus
bba01a5a80
clan-cli: add desktop item
2023-09-27 19:04:12 +02:00
Jörg Thalheim
cb946df8b9
only pass experimental-features onces to nix-build
2023-09-27 13:08:24 +00:00
Jörg Thalheim
2e88454b5a
move zerotier secret generation into nixos module
2023-09-26 17:57:43 +02:00
Jörg Thalheim
86378320be
drop wonky ipdb PYTHONBREAKPOINT
2023-09-26 15:50:02 +02:00
Jörg Thalheim
f70ead37b9
replace bubblewrap with fakeroot
...
this restores macOS support.
2023-09-26 15:33:45 +02:00
Jörg Thalheim
e2cf3c1601
fix test not beeing exposed
2023-09-22 16:07:39 +02:00
Jörg Thalheim
41f1b8a15a
perf? make clan-cli evaluate waaayyy faster
...
Before my small devshell to 7s. Now I am back to 2.6s
2023-09-22 09:00:08 +02:00
lassulus
17520e2553
fix impure tests
2023-09-21 18:29:18 +02:00
Jörg Thalheim
18c360f729
make all pytest dependencies also available to impure tests
2023-09-21 17:25:32 +02:00
DavHau
6a359c0a2f
clan-cli: add git.commit_file() to auto commit files if inside a git
...
- 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
DavHau
0ee6de86af
checks: run impure pytest tests in CI pipeline
2023-09-19 16:46:46 +02:00
DavHau
9b6fafcb2d
clan config: re-enable clan config
2023-09-19 15:12:29 +02:00
Jörg Thalheim
a29f301f84
add vms
2023-09-15 14:02:40 +00:00
Jörg Thalheim
3bdd3af248
cli: fix nixpkgs unfree import
2023-09-06 17:37:41 +02:00
DavHau
fcbc3ec899
clan-cli: use dependency flake instead of registry
2023-09-06 14:47:28 +02:00
DavHau
8ca0a2aee4
clan-config: introduce --machine + add tests
2023-08-30 20:59:26 +02:00
Jörg Thalheim
98a379d4fa
clan-cli: fix build if lassulus does an impure build
2023-08-29 13:54:06 +00:00
Jörg Thalheim
a0467dd259
clan-cli: fix nixpkgs symlink location
2023-08-29 13:12:56 +02:00
Jörg Thalheim
4735586dac
fix uneccessary clan-cli rebuilds by not relying on self
2023-08-27 10:21:02 +02:00
Jörg Thalheim
9cc6a14d73
run pytest in parallel
2023-08-27 09:45:15 +02:00
Jörg Thalheim
9ae14a4f7d
integrate static assets into webui command
2023-08-26 12:24:57 +02:00
Jörg Thalheim
fb7c77690a
replace environment variable with nixpkgs directory
...
In this directory we generate all the files that we need to load nixpkgs.
This seems more robust than all those environment variables that may or not may be set.
2023-08-26 11:45:09 +02:00
DavHau
fb76ad45e8
webui: implement /api/machines/{name}/schema
2023-08-25 21:26:30 +02:00
Jörg Thalheim
aa14e7ddc7
generate openapi
2023-08-25 11:39:46 +02:00
Jörg Thalheim
d60548dfc4
integrate webserver into cli
2023-08-23 17:17:34 +02:00
Jörg Thalheim
79c61f61c7
drop black/ruff from dependency list
...
those are used implictly by treefmt already
2023-08-23 16:03:56 +02:00
Jörg Thalheim
59e31b3c56
fix mypy errors
2023-08-23 13:59:43 +02:00
DavHau
780fd881c3
clan-config: fix tests
2023-08-22 21:17:47 +00:00
DavHau
48686591d8
clan-config: improve and add flake-parts module for clan-config
2023-08-22 21:17:47 +00:00
DavHau
348e503789
clan-config: get rid of jsonschema dependency
2023-08-15 13:29:48 +02:00
Jörg Thalheim
a096d8ddcc
clan-cli: add update command
2023-08-11 16:10:25 +02:00
DavHau
0a9b914ad5
clan-config: improve jsonschema arg parsing
...
- 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