[coreboot-gerrit] Change in coreboot[master]: util/lint: Update lint-000-license-headers linter

Martin Roth (Code Review) gerrit at coreboot.org
Sun May 27 03:48:30 CEST 2018


Martin Roth has uploaded this change for review. ( https://review.coreboot.org/26572


Change subject: util/lint: Update lint-000-license-headers linter
......................................................................

util/lint: Update lint-000-license-headers linter

- Add some directories and files to the ignore list
- Add the LGPL as a recognized header.  It's used in some files that
were pulled into coreboot from other sources.

Change-Id: I53423205f1cbf142a294ee5d24e885741a44dfcd
Signed-off-by: Martin Roth <martinroth at google.com>
---
M util/lint/lint-000-license-headers
1 file changed, 7 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/26572/1

diff --git a/util/lint/lint-000-license-headers b/util/lint/lint-000-license-headers
index 43be380..450c5a6 100755
--- a/util/lint/lint-000-license-headers
+++ b/util/lint/lint-000-license-headers
@@ -19,7 +19,11 @@
 
 # regex list of files and directories to exclude from the search
 HEADER_EXCLUDED="\
+^src/lib/gnat/|\
 ^src/vendorcode/|\
+^util/amdtools/example_input/|\
+^util/cbfstool/lz4/|\
+^util/cbfstool/lzma/|\
 ^util/kconfig/|\
 ^util/romcc/tests|\
 ^util/romcc/results|\
@@ -30,6 +34,8 @@
 Changelog|\
 TODO|\
 EXAMPLE|\
+\.[18]$|\
+\.md$|\
 \.txt$|\
 \.jpg$|\
 \.cksum$|\
@@ -93,6 +99,7 @@
 check_for_license 'assumes any liability or responsibility for the use'
 check_for_license 'THE AUTHORS DISCLAIM.*ALL WARRANTIES WITH REGARD TO THIS SOFTWARE'
 check_for_license 'No license required'
+check_for_license 'GNU Lesser General Public'
 
 for file in $headerlist; do
 	# Verify the file exists, and has content that requires a header

-- 
To view, visit https://review.coreboot.org/26572
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I53423205f1cbf142a294ee5d24e885741a44dfcd
Gerrit-Change-Number: 26572
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180527/4e7154fe/attachment.html>


More information about the coreboot-gerrit mailing list