[coreboot-gerrit] New patch to review for coreboot: 08739d9 lint: provide better GPL license text test

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Sun Aug 10 19:33:11 CEST 2014


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6584

-gerrit

commit 08739d992ddfa5528f982e2067eb0a299a417032
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Sun Aug 10 19:32:34 2014 +0200

    lint: provide better GPL license text test
    
    Still not lint-stable due to too many open issues, but
    at least it doesn't try to touch files that aren't part
    of the repository anymore.
    
    Change-Id: I654b15480094c7731a7d0d17fa1622a0b41ac34a
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 util/lint/lint-000-license-headers | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/util/lint/lint-000-license-headers b/util/lint/lint-000-license-headers
index 07dde94..7074430 100755
--- a/util/lint/lint-000-license-headers
+++ b/util/lint/lint-000-license-headers
@@ -20,16 +20,5 @@
 # DESCR: Check that all files in src/ and util/ have valid license headers
 
 LC_ALL=C export LC_ALL
-find src util -name .svn -type d -prune -o \
-	-name README -prune -o \
-	-name LICENSE -prune -o \
-	-name TODO -prune -o \
-	-name COPYING -prune -o \
-	-name microcode-\*.h -prune -o \
-	-name \*.[18] -prune -o \
-	-name romcc -type d -prune -o \
-	-name crossgcc -type d -prune -o \
-	-name vendorcode -type d -prune -o \
-	-type f -exec \
-		grep -L "51 Franklin St, Fifth Floor, Boston" {} + | \
+grep -L "51 Franklin St, Fifth Floor, Boston" `git ls-files src util |egrep -v "(^3rdparty|^src/vendorcode/|^util/kconfig/|^util/romcc/tests|\<COPYING\>|\<LICENSE\>|\<README\>|_shipped$|\.patch$|/microcode-[^/]*.h$)"` | \
 	sed -e "s,^.*$,File & has no valid GPL header.,"



More information about the coreboot-gerrit mailing list