cloud-hypervisor/scripts
Philipp Schuster 77e042237d ci: improve gitlint (max line length in body with exceptions)
Follow-up of 5aa1540c5d but way more
mature. We now use custom gitlint rules written in Python to better
handle the max line length, with respect to a few valid exceptions.
Recognizing code blocks or compiler output, as discussed, is not
trivial and hard to get right for all corner-cases. Therefore, this
commit is a pragmatic way forward. The CI job should be kept optional.

Allowed exceptions for the 72 line length limit are now:

1. links in the following three common patterns:
https://example.com/very-long-links/very-long-links/very-long-links/very-long-links/very-long-links/very-long-links/very-long-links
[0] https://example.com/very-long-links/very-long-links/very-long-links/very-long-links/very-long-links/very-long-links/very-long-links
[0]: https://example.com/very-long-links/very-long-links/very-long-links/very-long-links/very-long-links/very-long-links/very-long-links

2. code blocks (anything between the three backticks)

```
let x = "very_long_very_long_very_long_very_long_very_long_very_long_very_long_very_long_very_long_very_long_"
```

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
2025-05-09 14:50:23 +01:00
..
gitlint/rules ci: improve gitlint (max line length in body with exceptions) 2025-05-09 14:50:23 +01:00
build-custom-image.sh scripts: Add a script to automate the custom image construction 2024-10-17 19:51:05 +00:00
ch-trace-visualiser.py scripts: ch-trace-visualiser.py: remove unused import 'xml' 2023-02-17 11:48:37 -08:00
check-image-compatibility.sh scripts: fix shell scripts according to shellcheck errors 2024-02-13 10:20:18 +00:00
common-aarch64.sh scripts: fix shell scripts according to shellcheck errors 2024-02-13 10:20:18 +00:00
create-cloud-init.sh scripts: fix shell scripts format according to shfmt 2024-02-13 10:20:18 +00:00
dev_cli.sh build: Bump MSRV to 1.83.0 2025-04-12 18:31:02 +01:00
package-consistency-check.py scripts: Add consistency check script 2024-11-02 16:09:09 +00:00
prepare_vdpa.sh build: add REUSE Compliance Check 2024-04-19 17:35:45 +00:00
run_coverage.sh scripts: fix code coverage script args parsing 2024-10-23 18:38:34 +01:00
run_integration_tests_aarch64.sh scripts: Remove SPDK build in aarch64 test script 2025-02-24 14:41:46 +00:00
run_integration_tests_live_migration.sh scripts: Replace download_linux with prepare_linux 2024-11-12 16:27:20 +00:00
run_integration_tests_rate_limiter.sh scripts: Replace download_linux with prepare_linux 2024-11-12 16:27:20 +00:00
run_integration_tests_sgx.sh tests: Update version of Jammy image in use 2024-10-17 19:51:05 +00:00
run_integration_tests_vfio.sh misc: Fix spelling issues 2024-06-08 16:31:30 +00:00
run_integration_tests_windows_aarch64.sh scripts: fix shell scripts according to shellcheck errors 2024-02-13 10:20:18 +00:00
run_integration_tests_windows_x86_64.sh scripts: fix shell scripts according to shellcheck errors 2024-02-13 10:20:18 +00:00
run_integration_tests_x86_64.sh scripts: Replace download_linux with prepare_linux 2024-11-12 16:27:20 +00:00
run_metrics.sh scripts: Replace download_linux with prepare_linux 2024-11-12 16:27:20 +00:00
run_openapi_tests.sh scripts: fix shell scripts according to shellcheck errors 2024-02-13 10:20:18 +00:00
run_unit_tests.sh scripts: add cargo test args for code coverage reports 2024-09-28 13:59:40 +00:00
sha1sums-aarch64 tests: Remove download of unused bionic image for aarch64 2024-02-22 12:28:40 +00:00
sha1sums-x86_64 tests: Update version of Jammy image in use 2024-10-17 19:51:05 +00:00
test-util.sh docs: Update documentation for new kernel configuration 2025-01-22 17:45:32 +00:00
windows-11-iot-enterprise-aarch64.raw.sha1 ci: Initial Windows image integration 2022-08-12 15:04:06 +01:00