Branch:
main
af-copy-room-alias
af/unable-to-decryt-styling
fix-filtering
fractal-10
fractal-11
fractal-12
fractal-13
fractal-6
fractal-7
fractal-8
fractal-9
gnome-3-30
legacy
main
release-4.4.0
release-4.4.1
0.1.0
0.1.1
0.1.10
0.1.11
0.1.12
0.1.13
0.1.14
0.1.15
0.1.16
0.1.17
0.1.18
0.1.19
0.1.2
0.1.20
0.1.21
0.1.22
0.1.23
0.1.24
0.1.25
0.1.26
0.1.27
0.1.28
0.1.29
0.1.3
0.1.30
0.1.4
0.1.5
0.1.6
0.1.7
0.1.8
0.1.9
10
10.1
10.beta
10.rc
11
11.1
11.2
11.beta
11.rc
12
12.1
12.beta
12.rc
13
13.beta
13.rc
3.29.0
3.29.1
3.29.4
3.29.5
3.29.6
3.29.92
3.30.0
4.0.0
4.2.0
4.2.1
4.2.2
4.4.0
4.4.1b1
4.4.2
4.4.2-beta
4.4.2-beta1
4.4.2-beta2
5
5-alpha1
5.beta1
5.beta2
5.rc1
6
6.beta
6.rc
7
7.beta
7.rc
8
8.beta
8.rc
9
9.beta
9.rc
${ noResults }
1 Commits (main)
| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
0eaadd2439
|
ci: Rewrite pre-commit checks script
The script has become quite big so it is easier to maintain it in Rust to add new features. Ideally we would declare it as a single file cargo script, but that still requires the nightly toolchain. So we make it a separate checks crate with no dependencies, to make compilation fast. It is a separate crate instead of a member of the workspace because cargo insists on downloading the git dependencies of the fractal crate before building the checks crate, which adds 20-30 seconds to the first compilation. Sadly that means the IDEs will probably not be very helpful when modifying it, and cargo commands run from the root of the workspace need to point explicitly to the manifest with the `--manifest-path` argument. It is pre-compiled during `meson setup` and a symlink is created at `hooks/checks-bin`, that is used by the pre-commit hook. It is a requirement for me because I use different environments to compile crates and to commit changes. Incidentally, this fixes the check about sorting the POTFILEs alphabetically. |
2 months ago |