Jörg Thalheim
c0c41d52bd
make treefmt work with git-worktrees
2025-07-07 16:55:36 +02:00
Qubasa
5c6c848dea
formatter.iix: Add generate-test-vars to be typechecked
2025-06-24 19:03:20 +02:00
a-kenji
a64f68f37a
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
16112e259c
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
027ae49449
Chore(formatter): exclude generated classes file
2025-05-20 13:42:18 +02:00
Johannes Kirschbauer
ef29e62d9b
Docs: update some references to contributing
2025-05-18 20:31:49 +02:00
Brian McGee
00ee0d807a
feat: use process-compose to run ui dev environment
2025-05-15 12:00:27 +01:00
Brian McGee
c26cc9503c
feat: group ui related packages under a ui directory
2025-05-15 12:00:24 +01:00
Qubasa
67a135e7bc
formatter.nix: Exclude **/.mypy_cache/*
2025-04-09 19:44:00 +02:00
Qubasa
01439db065
formatter.nix: Exclude **/node_modules/*
2025-04-09 19:44:00 +02:00
a-kenji
309c132b63
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
42b58910a9
data-mesher: init module
...
Co-authored-by: Brian McGee <brian@bmcgee.ie >
2025-03-29 13:49:41 +00:00
Qubasa
8d4d98361d
clan-app: Fix default.nix
2025-01-11 10:52:22 +07:00
Jörg Thalheim
64f537c22d
add formatters for the rest
2024-12-11 14:38:36 +00:00
Jörg Thalheim
bdd7eb2d89
prettier: also format json
2024-12-11 14:38:36 +00:00
Johannes Kirschbauer
4e47da969b
chore: fix prettier formatter. Ignore symlinked asciinema-player
2024-11-26 13:56:05 +01:00
Qubasa
c7901485e1
treefmt: Apply directory naming fix
2024-11-21 11:50:08 +01:00
Jörg Thalheim
34992d5519
also type check tests
2024-09-02 12:23:13 +02:00
a-kenji
710d34b9b4
formatter: rm uncommented code
2024-08-21 13:50:50 +02:00
Jörg Thalheim
5e3f4744bc
fix treefmt-nix
2024-08-15 17:30:38 +02:00
Qubasa
d2d5ab4a9e
formatter: Add prettier to format js files
2024-08-07 15:54:36 +02:00
DavHau
c5b8948509
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
58a36a5c12
formatter.nix: Add prettier
2024-08-02 18:56:53 +02:00
a-kenji
c7c6012bcc
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
0dcc9f903b
clan-vm-manager: Fix regression
2024-07-29 17:33:46 +02:00
Qubasa
3546586dde
fixup! fixup! fixup! clan-vm-manager: Restore to known good version
2024-07-19 22:20:12 +02:00
Qubasa
aa792fedfd
fixup! fixup! clan-vm-manager: Restore to known good version
2024-07-19 22:12:29 +02:00
Qubasa
f1182af5a1
fixup! clan-vm-manager: Restore to known good version
2024-07-19 22:12:17 +02:00
Qubasa
728f8f5758
clan-vm-manager: Restore to known good version
2024-07-19 22:07:34 +02:00
Qubasa
8ad7c2b89a
clan: Fix treefmt not applying mypy lints on clan_cli and clan_app
2024-07-17 21:50:52 +02:00
Jörg Thalheim
6c91cff672
better project root hint
2024-07-09 13:49:42 +02:00
Jörg Thalheim
bd8515fa59
treefmt: upgrade nixfmt options
2024-07-08 16:24:34 +02:00
Jörg Thalheim
498f2c02be
formatter/vale: exclude lib
...
Fixes ci
2024-06-30 08:19:55 +02:00
Valentin Gagarin
fca586ff21
fix spelling in README
2024-06-29 09:08:49 +00:00
Valentin Gagarin
d40563ea9f
add Vale for prose linting
2024-06-29 09:08:49 +00:00
Johannes Kirschbauer
0fb207bb59
clan-app: rename clan-vm-manager
2024-06-05 11:24:59 +02:00
Johannes Kirschbauer
5de3ab88e9
devShell: fallback for darwin
2024-05-18 14:14:12 +00:00
Jörg Thalheim
10a12eb85c
ruff: switch to check subcommand
2024-03-26 12:52:00 +01:00
Qubasa
e26d1052b6
select-shell: Fix breakage with previous shell.nix change
2024-03-25 00:32:03 +01:00
Qubasa
8ab9d20342
clan-vm-manager: Working pytest skeleton. clan-cli: Fixing devshell depending on itself
2024-03-24 23:36:00 +01:00
DavHau
580010581c
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
e296a3019d
re-format with nixfmt
2024-03-17 19:48:49 +01:00
Jörg Thalheim
916e4dff84
change from nixpkgs-fmt to rfc style formatter
2024-03-17 19:44:57 +01:00
Jörg Thalheim
934cf6e57a
mypy: fix clan-cli import in vm-manager
2024-03-12 16:10:54 +00:00
Qubasa
129a1516f6
clan-cli: Readd mypy ignore clan_cli because of treefmt complaining
2024-03-10 16:06:03 +07:00
DavHau
fdedf40e27
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
7dc2c21517
Deleted everything webui
2023-12-14 18:47:14 +01:00
Qubasa
82fb1c36fe
clan-vm-manager: Preserved selection on view change
2023-12-04 14:29:05 +01:00
Jörg Thalheim
5cb4019942
switch from black to ruff for formatting
2023-11-03 13:38:13 +01:00
Johannes Kirschbauer
6312f47545
remove: tailwindcss/plugin until we find solution
2023-10-08 16:31:16 +02:00