Commit Graph

53 Commits

Author SHA1 Message Date
9f808b1bdb pkgs: add metadata
All checks were successful
checks / checks (pull_request) Successful in 47s
checks / checks-impure (pull_request) Successful in 1m55s
Closes #1151
2024-04-17 13:32:50 +02:00
129a1516f6 clan-cli: Readd mypy ignore clan_cli because of treefmt complaining
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m1s
checks / checks (pull_request) Successful in 3m48s
2024-03-10 16:06:03 +07:00
167f7f4eb3 clan-cli: Add py.typed to make mypy work when used as library in clan-vm-manager
Some checks failed
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m15s
checks / checks (pull_request) Failing after 4m15s
2024-03-10 15:18:18 +07:00
ed653fa8b9 fix pyproject syntax, ignore E731
All checks were successful
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m58s
checks / checks (pull_request) Successful in 2m54s
2024-03-03 06:20:08 +01:00
d1e8b1ed96 devShells: one global python devshell + activation via command
All checks were successful
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m55s
checks / checks (pull_request) Successful in 2m45s
- this adds devShells.{system}.python
- a 'select-shell' command to switch between devshells
2024-03-01 18:16:38 +07:00
330ef00a7c Removed python deal.
All checks were successful
checks-impure / test (pull_request) Successful in 1m17s
checks / test (pull_request) Successful in 2m48s
2023-12-30 23:10:43 +01:00
a1575ec19c nix fmt
All checks were successful
checks-impure / test (pull_request) Successful in 1m3s
checks / test (pull_request) Successful in 2m41s
2023-12-19 18:02:06 +01:00
8ea149de07 re-add 'U' ruff type category
This should have been not removed
2023-12-06 17:11:17 +01:00
82fb1c36fe clan-vm-manager: Preserved selection on view change
All checks were successful
checks-impure / test (pull_request) Successful in 1m26s
checks / test (pull_request) Successful in 2m3s
2023-12-04 14:29:05 +01:00
b5afb3f9c0 clan-cli: also package mimetypes
All checks were successful
checks-impure / test (pull_request) Successful in 1m7s
checks / test (pull_request) Successful in 1m36s
2023-11-30 14:31:37 +01:00
4fd84d1c48 disallow variable shadowing 2023-11-30 14:31:37 +01:00
780ffb9c8f make type checking more strict 2023-11-30 14:31:37 +01:00
26e3e3872c enable more linting 2023-11-29 13:29:45 +00:00
ce1ad9f8c2 clan-cli: drop unused mypy overrides for gi
All checks were successful
checks-impure / test (pull_request) Successful in 2m8s
checks / test (pull_request) Successful in 3m46s
2023-11-23 18:01:40 +01:00
832c41df7e Added gtk demo app 2023-11-23 15:03:38 +01:00
c1f6c0db66
pytest: add missing with-core marker 2023-11-15 07:21:26 +01:00
10e52699be Fixed wrong examples
All checks were successful
checks-impure / test (pull_request) Successful in 1m52s
checks / test (pull_request) Successful in 2m42s
2023-11-08 21:40:17 +01:00
5cb4019942 switch from black to ruff for formatting 2023-11-03 13:38:13 +01:00
4209da96e9 Fixed test_webui only failing in nix_sandbox
Some checks failed
checks-impure / test (pull_request) Failing after 1m20s
checks / test (pull_request) Failing after 1m55s
2023-10-29 19:35:29 +01:00
00ef406713 Updated to main branch. Removed cluttering asyncio and httpx log messages 2023-10-27 23:36:45 +02:00
4aac2012cf Fixing test_vms_api test 2023-10-27 19:26:03 +02:00
674d84a43a Fixing test_vms_api test 2023-10-27 19:26:03 +02:00
86790a6282 Commit only for debugging Container 2023-10-27 19:26:03 +02:00
b1d0129fc0 Commit only for debugging Container 2023-10-27 19:26:03 +02:00
c1b4fa6d55 nix fmt 2023-10-27 19:21:50 +02:00
9f464dd14e Added ipdb as breakpoint console. Improved logging. 2023-10-27 19:19:45 +02:00
af3f04736b Improved logging messages. Added ClanError if flake create or machine create already exist 2023-10-27 19:18:45 +02:00
8482bc79f6 Secrets tests passing. nix fmt doesn't complain 2023-10-27 19:18:45 +02:00
8cc1c2c4bd Fixed cyclic dependencie AND swapped pytest-parallel for pytest-xdist to fix deadlock in tests 2023-10-27 19:18:45 +02:00
5a7c4120b6 tests: increase timeout to 60
All checks were successful
checks-impure / test (pull_request) Successful in 9s
checks / test (pull_request) Successful in 26s
2023-09-28 15:24:06 +02:00
164f95723d pytest: add impure marker 2023-09-19 13:12:10 +02:00
b7212b9988 ruff: also enforce variable naming rules
All checks were successful
checks-impure / test (pull_request) Successful in 3s
checks / test (pull_request) Successful in 16s
2023-08-27 10:51:47 +02:00
9913a95cc2 ruff: enable upgrade rule checks 2023-08-27 10:46:53 +02:00
bac0942033 pytest: report slow tests and set a 30 timeout
All checks were successful
checks-impure / test (pull_request) Successful in 3s
checks / test (pull_request) Successful in 19s
2023-08-27 10:41:32 +02:00
9cc6a14d73 run pytest in parallel
All checks were successful
checks-integration / test (pull_request) Successful in 5s
checks / test (pull_request) Successful in 18s
2023-08-27 09:45:15 +02:00
9ae14a4f7d integrate static assets into webui command
All checks were successful
build / test (pull_request) Successful in 18s
2023-08-26 12:24:57 +02:00
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
0a9b914ad5 clan-config: improve jsonschema arg parsing
All checks were successful
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
8e07fc28ab clan-cli: unbreak build
All checks were successful
build / test (pull_request) Successful in 20s
2023-08-10 11:30:12 +02:00
0f54eccb78 clan-cli: unbreak dev-shell
All checks were successful
build / test (pull_request) Successful in 19s
2023-08-09 18:03:46 +02:00
f9aaa5ad39 clan-config: unbreak + include data files
All checks were successful
build / test (pull_request) Successful in 27s
2023-08-09 17:59:18 +02:00
4cf82f3596 also rename project/pypi name
All checks were successful
build / test (pull_request) Successful in 21s
2023-08-08 14:20:45 +02:00
b540f318c7 cli: add test for --help
All checks were successful
build / test (push) Successful in 8s
2023-08-03 15:33:08 +02:00
31a2d90df9 cli: fix installation of subpackages
All checks were successful
build / test (push) Successful in 9s
2023-08-03 15:22:22 +02:00
df6e94b20e move environment to helpers module
This fixes registering pytest plugins
2023-07-28 10:22:25 +00:00
282307ca2a cli: explicitly list clan_cli package 2023-07-28 10:22:25 +00:00
e4af29d0b4 disable 100% coverage enforcement 2023-07-25 18:55:30 +02:00
202e07d5fe clan-cli: hint on how to get coverage html
Some checks failed
build / test (push) Failing after 13s
2023-07-25 00:59:51 +02:00
DavHau
e806b5549d clan-cli: enable mypy for tests
Some checks failed
build / test (push) Failing after 8s
2023-07-21 13:43:29 +02:00
0bf3f42812 clan-cli: restructure according to python's module standard 2023-07-21 12:47:47 +02:00