a-kenji
8a3cade082
formatter: init sizelint
2025-08-10 23:50:34 +02:00
Michael Hoang
a71a5880c1
treewide: reformat
2025-08-08 15:28:37 +10:00
Jörg Thalheim
409cbb969e
make treefmt work with git-worktrees
2025-07-07 16:55:36 +02:00
Qubasa
fd931bef9c
formatter.iix: Add generate-test-vars to be typechecked
2025-06-24 19:03:20 +02:00
a-kenji
ae2d9e57ab
pkgs/distro-packages: Remove the distro packages
...
Remove the distro packages for now.
They can be added back, if we actually need them again.
2025-06-11 13:54:13 +02:00
hsjobeki
84a5b74a4f
Merge pull request 'Classgen: export field type definitions' ( #3715 ) from hsjobeki/clan-core:inventory-services-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3715
2025-05-20 12:20:07 +00:00
Johannes Kirschbauer
f721f4fa9f
Chore(formatter): exclude generated classes file
2025-05-20 13:42:18 +02:00
Johannes Kirschbauer
cd808f6c0f
Docs: update some references to contributing
2025-05-18 20:31:49 +02:00
Brian McGee
9f81d299d9
feat: use process-compose to run ui dev environment
2025-05-15 12:00:27 +01:00
Brian McGee
faf8689ab1
feat: group ui related packages under a ui directory
2025-05-15 12:00:24 +01:00
Qubasa
43bf5e952d
formatter.nix: Exclude **/.mypy_cache/*
2025-04-09 19:44:00 +02:00
Qubasa
134912e9d3
formatter.nix: Exclude **/node_modules/*
2025-04-09 19:44:00 +02:00
a-kenji
fae630842d
pkgs/cli: Move the test folder inside the python module
...
Move the `tests` folder to `clan_cli/tests`.
As we now want part of our tests to live next to the functions that are
tested - tests that are not in the `/tests` module also need access to
the configured test fixtures that are exposed by the `pytest_plugins`
declaration.
The following folder structure doesn't support this model:
```
├── clan_cli
│ ├── api
│ │ └── api_init_test.py
├── tests/
│ ├── conftest.py
│ └── ...
```
Here `api_init_test.py` even when importing the test functions will not
have the fixtures configured.
There is a way to configure python to import the fixtures from another
[`project/module`](https://docs.pytest.org/en/stable/how-to/fixtures.html#using-fixtures-from-other-projects ), but this seems to *generally* be discouraged.
So moving the `conftest.py` to the toplevel and the `/tests` folder into
the toplevel seems to be a sensible choice choice.
2025-04-08 20:12:01 +02:00
Pablo Ovelleiro Corral
8ed186ce55
data-mesher: init module
...
Co-authored-by: Brian McGee <brian@bmcgee.ie >
2025-03-29 13:49:41 +00:00
Qubasa
c6d5eb5037
clan-app: Fix default.nix
2025-01-11 10:52:22 +07:00
Jörg Thalheim
d40856c719
add formatters for the rest
2024-12-11 14:38:36 +00:00
Jörg Thalheim
012969cb68
prettier: also format json
2024-12-11 14:38:36 +00:00
Johannes Kirschbauer
56bcecf6cf
chore: fix prettier formatter. Ignore symlinked asciinema-player
2024-11-26 13:56:05 +01:00
Qubasa
b3411aed8b
treefmt: Apply directory naming fix
2024-11-21 11:50:08 +01:00
Jörg Thalheim
9fea3f909e
also type check tests
2024-09-02 12:23:13 +02:00
a-kenji
d4c70297f2
formatter: rm uncommented code
2024-08-21 13:50:50 +02:00
Jörg Thalheim
943e3f6d5b
fix treefmt-nix
2024-08-15 17:30:38 +02:00
Qubasa
3b186cad87
formatter: Add prettier to format js files
2024-08-07 15:54:36 +02:00
DavHau
6c1c615c60
devshell: remove dependency on clan-cli
...
This stops the devshell from being re-built constantly, when the source code changes.
Based on a new feature in treefmt-nix: https://github.com/numtide/treefmt-nix/pull/208
2024-08-03 22:37:03 +07:00
Qubasa
fb4ceebccf
formatter.nix: Add prettier
2024-08-02 18:56:53 +02:00
a-kenji
20e43e50a9
formatter: remove broken vale configuration
...
Removes the broken and uncommented value configuration for vale.
While vale can be a valuable tool, we need a working configuration if we
want to use it. Keeping a broken configuration on main is not a
sustainable model.
We can fix it and reintroduce it cleanly at a later stage.
2024-07-31 18:42:16 +02:00
Qubasa
ce1dec774e
clan-vm-manager: Fix regression
2024-07-29 17:33:46 +02:00
Qubasa
5f8bd1099f
fixup! fixup! fixup! clan-vm-manager: Restore to known good version
2024-07-19 22:20:12 +02:00
Qubasa
14ec919309
fixup! fixup! clan-vm-manager: Restore to known good version
2024-07-19 22:12:29 +02:00
Qubasa
3751c4c2bd
fixup! clan-vm-manager: Restore to known good version
2024-07-19 22:12:17 +02:00
Qubasa
131299694b
clan-vm-manager: Restore to known good version
2024-07-19 22:07:34 +02:00
Qubasa
274701b381
clan: Fix treefmt not applying mypy lints on clan_cli and clan_app
2024-07-17 21:50:52 +02:00
Jörg Thalheim
c8e0eeed7b
better project root hint
2024-07-09 13:49:42 +02:00
Jörg Thalheim
f263602fb7
treefmt: upgrade nixfmt options
2024-07-08 16:24:34 +02:00
Jörg Thalheim
b57b311383
formatter/vale: exclude lib
...
Fixes ci
2024-06-30 08:19:55 +02:00
Valentin Gagarin
6febc67ab1
fix spelling in README
2024-06-29 09:08:49 +00:00
Valentin Gagarin
bf9aa44276
add Vale for prose linting
2024-06-29 09:08:49 +00:00
Johannes Kirschbauer
b03fe685dc
clan-app: rename clan-vm-manager
2024-06-05 11:24:59 +02:00
Johannes Kirschbauer
dcc7e8be5c
devShell: fallback for darwin
2024-05-18 14:14:12 +00:00
Jörg Thalheim
fa9f56f112
ruff: switch to check subcommand
2024-03-26 12:52:00 +01:00
Qubasa
240af17c2f
select-shell: Fix breakage with previous shell.nix change
2024-03-25 00:32:03 +01:00
Qubasa
d6d8a88549
clan-vm-manager: Working pytest skeleton. clan-cli: Fixing devshell depending on itself
2024-03-24 23:36:00 +01:00
DavHau
056742a44d
devshell: remove dependency on clan-cli derivation
...
The devShell depended on clan-cli due to it being included as a dependency in the treefmt config. This is not optimal because this makes the devshell rebuild unnecessary often and also lead to build failures of the dev-shell if the clan-cli code is in a broken state (git rebasing, or during development etc.)
2024-03-19 13:00:59 +07:00
Jörg Thalheim
ede4d3f6e5
re-format with nixfmt
2024-03-17 19:48:49 +01:00
Jörg Thalheim
f2a0f84bc2
change from nixpkgs-fmt to rfc style formatter
2024-03-17 19:44:57 +01:00
Jörg Thalheim
55a09ae6c4
mypy: fix clan-cli import in vm-manager
2024-03-12 16:10:54 +00:00
Qubasa
883c46bcaa
clan-cli: Readd mypy ignore clan_cli because of treefmt complaining
2024-03-10 16:06:03 +07:00
DavHau
7ab01b2f98
formatting: exclude script-writers.nix
...
Was copied from nixpkgs -> Keeping the diff low in order to upstream easier
2024-02-27 18:20:33 +07:00
Qubasa
999747c5fc
Deleted everything webui
2023-12-14 18:47:14 +01:00
Qubasa
1250079136
clan-vm-manager: Preserved selection on view change
2023-12-04 14:29:05 +01:00