Commit 9db0c360 authored by Mark Andrews's avatar Mark Andrews
Browse files

Merge branch 'marka-changes-line-length-v9_11' into 'v9_11'

Detect overly long CHANGES lines

See merge request !4616
parents ad7d5cd4 925aba66
Pipeline #62400 failed with stages
in 210 minutes and 48 seconds
......@@ -429,9 +429,11 @@ misc:
- sh util/tabify-changes < CHANGES > CHANGES.tmp
- diff -urNap CHANGES CHANGES.tmp
- perl util/check-changes CHANGES
- sh util/check-line-length.sh CHANGES
- test ! -f CHANGES.SE || sh util/tabify-changes < CHANGES.SE > CHANGES.tmp
- test ! -f CHANGES.SE || diff -urNap CHANGES.SE CHANGES.tmp
- test ! -f CHANGES.SE || perl util/check-changes master=0 CHANGES.SE
- test ! -f CHANGES.SE || sh util/check-line-length.sh CHANGES.SE
- rm CHANGES.tmp
- perl -w util/merge_copyrights
- diff -urNap util/copyrights util/newcopyrights
......
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
#
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
expand "$1" |
awk -v file="$1" 'length > 80 {
if (logged == 0) {
print file ": Line Too Long"
logged = 1
}
print
}
END {
if (logged == 1) {
exit(1)
}
}'
......@@ -4618,6 +4618,7 @@
./util/check-cocci X 2018,2019,2020,2021
./util/check-includes.pl PERL 2000,2001,2004,2007,2012,2016,2018,2019,2020,2021
./util/check-instincludes.sh SH 2000,2001,2004,2007,2012,2016,2018,2019,2020,2021
./util/check-line-length.sh SH 2021
./util/check-make-install.in SH 2020,2021
./util/check-pullups.pl PERL 2001,2002,2003,2004,2007,2012,2016,2018,2019,2020,2021
./util/check-sources.pl PERL 2000,2001,2004,2007,2012,2013,2016,2018,2019,2020,2021
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment