Ashley Davis
|
5a5c94a3f1
|
match upstream boilerplate verification for files w/ go:build
the regex being replaced doesn't match files which only contain go:build
although as of go 1.17 (which we require for cert-manager) that's
totally valid.
this commit updates the regex to match upstream k8s, which is the
original source of the boilerplate verification script in any case
upstream:
https://github.com/kubernetes/kubernetes/blob/47ff335d4c678f8ebe12369055d4b3806d0fb9f4/hack/boilerplate/boilerplate.py#L219-L223
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
|
2022-01-06 14:57:21 +00:00 |
|
irbekrm
|
577757f282
|
Adds the new format of Go build tags to verify_boilerplate
Signed-off-by: irbekrm <irbekrm@gmail.com>
|
2021-09-30 10:08:30 +01:00 |
|
Maartje Eyskens
|
e873ee399d
|
Make the verify aware of the change
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
|
2021-01-08 16:57:03 +01:00 |
|
James Munnelly
|
625f4dfd24
|
Add 'external' directory to ignored boilerplate list
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-09-26 12:06:11 +01:00 |
|
James Munnelly
|
cadefb7a61
|
Explicitly set encoding in verify_boilerplate.py
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-09-26 11:46:13 +01:00 |
|
James Munnelly
|
90ea0d2684
|
:this_is_unbearable:
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-01-07 15:28:14 +00:00 |
|
James Munnelly
|
0f7ceb2a30
|
:this_is_fine:
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-01-07 15:12:45 +00:00 |
|
James Munnelly
|
a87e7cdccc
|
Use mktemp in verify-errexit and verify-links
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2018-09-13 11:21:42 +01:00 |
|
James Munnelly
|
1c2380f7b4
|
Add support for skipping license checks
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
|
2018-08-13 15:53:37 +01:00 |
|
James Munnelly
|
e1fd5caa7e
|
Add verify_boilerplate script to CI
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
|
2018-08-13 15:53:37 +01:00 |
|