a41c47c06a
git & validation: skip git check on initial commit because it needs a range
...
Fixes #66
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2025-02-25 21:40:51 -05:00
21d1635d10
*.go: linting and adding lint to the checks done
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-03-14 23:11:47 -04:00
00823a324b
message_regexp: regular expression rule for messages
...
Fixes : #30
now you can add a regular expression to the rules to be run
i.e. `git-validation -run "dco,message_regexp='^JIRA-[0-9]+ [A-Z].*$'"`
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-10-09 16:07:40 -04:00
d9bf419b44
validate: prep for rules that have a value
...
where needed, some rules may need to pass in a value like for a reguler
expression.
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-10-09 13:21:23 -04:00
3bad322461
main: add a bit of output to -q
...
ideally `-q` would be only return code of 0 or non-zero, but it already
had some output. This adds only failed tests per commit.
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-05-03 15:22:57 -04:00
769b4028a4
main: adding a quiet flag to reduce the output
...
so you can test and just check return code
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-01-14 10:29:35 -05:00
d614ccf997
*: run tests in a runner
...
for cleanliness and ease of testing
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-10-06 10:44:04 -04:00
03bda4bcb2
main: add filtering of rules to run
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-10-05 18:49:02 -04:00
c10ba9c097
Initial commit
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-10-05 18:48:23 -04:00