classabbyamp
8fe8739a23
common/: remove PATH adds from CI scripts
...
they are now specified in the workflow file
2022-10-25 14:23:46 -04:00
Đoàn Trần Công Danh
7662f1c433
lint-version: fix check-reverts
2022-09-19 07:51:14 +07:00
Đoàn Trần Công Danh
6ed4695842
lint-version: check reverts
2022-09-17 23:32:50 +07:00
Đoàn Trần Công Danh
e6a34da6d1
lint-version-change: correctly print multiline variables
2022-09-17 23:32:50 +07:00
Đoàn Trần Công Danh
7510b96218
common: simplify logic to find git
...
From chroot-git 2.33.1, we always have an executable named git
for other build infrastructure and lints.
Let's remove the shenanegan to find which git to be used, prepend the
path to chroot-git's git into $PATH, and let's the shell call the
correct git for us instead.
2022-09-17 23:32:50 +07:00
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