Commit Graph

10 Commits

Author SHA1 Message Date
Piotr Wójcik bda9720be0 common/scripts/lint-conflicts: handle emptied packages 2022-05-10 20:34:49 +02:00
0x5c cc27e8e6f7 common/travis/xlint.sh: print Github annotations
Turns xlint, version lint, and commit lint messages into warning or error
annotaions. All are printed with special highlighting in the action log and
summary. Xlint and version lint annotations are shown inline in the changes tab
and commit view. Annotations without line number are shown at line 1.
2022-05-05 21:34:11 +02:00
Piotr Wójcik e4e53fc98b common/: add script finding file conflicts 2022-05-05 21:29:41 +02:00
Piotr Wójcik ef7119e11d common/lint-commits: error out on non-conventional subject 2021-11-03 22:31:25 +01:00
Piotr Wójcik dc6adc808f common/lint-commits: catch non-conventional subject 2021-10-29 21:24:06 +02:00
Piotr Wójcik 18d9a5dd55 common/xbps-cycles.py: deterministic cycle path 2021-06-30 21:09:10 +02:00
Piotr Wójcik 287624675c common/xbps-cycles.py: Add cache option
allows to modify deps and see if cycle is resolved
2021-06-30 21:09:10 +02:00
Érico Nogueira d0c9f994da common/scripts: import xbps-cycles.
From https://github.com/ahesford/xbps-cycles, that is based on
https://gist.github.com/Chocimier/de76441493ec7775c201dac0bb03ced5 .
License is compatible with void-packages. Will be run in CI, so it
should live in the same repository.
2021-06-30 21:09:10 +02:00
Piotr Wójcik c0331b57eb common: add lint-version-change 2021-05-27 21:18:38 +02:00
Đoàn Trần Công Danh 1f07584a66 common: add basic commit lint
Warn if:
* subject is longer than 50 characters

Error if:
* any lines are longer than 80 characters except it's footnotes
* second line is not blank
2021-05-21 15:56:44 +07:00