[Kimchi-devel] [PATCH] [Kimchi 1/2] Verify IBM copyright on make check-local

Aline Manera alinefm at linux.vnet.ibm.com
Fri Feb 19 11:37:41 UTC 2016


This patch uses the check-IBM-license-header.sh script from Wok to verify the
copyright date in the Kimchi project.

Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
 IBM-license-blacklist | 37 +++++++++++++++++++++++++++++++++++++
 Makefile.am           |  2 ++
 2 files changed, 39 insertions(+)
 create mode 100644 IBM-license-blacklist

diff --git a/IBM-license-blacklist b/IBM-license-blacklist
new file mode 100644
index 0000000..755aab2
--- /dev/null
+++ b/IBM-license-blacklist
@@ -0,0 +1,37 @@
+.gitignore
+ABOUT-NLS
+API.json
+AUTHORS
+CONTRIBUTE.md
+COPYING
+COPYING.ASL2
+COPYING.LGPL
+ChangeLog
+INSTALL
+VERSION
+build-aux/config.rpath
+build-aux/genChangelog
+build-aux/pkg-version
+config.rpath
+contrib/DEBIAN/control.in
+contrib/kimchi.spec.fedora.in
+contrib/kimchi.spec.suse.in
+contrib/kimchid.service..*
+distros.d/.*.json
+docs/.*.md
+kimchi.conf
+m4/.*.m4
+po/LINGUAS
+po/Makefile.in.in
+po/Makevars
+po/POTFILES.in
+po/kimchi.pot
+template.conf
+ui/config/tab-ext.xml
+ui/pages/help/dita-help.xsl
+ui/pages/help/.*/.*.dita
+ui/robots.txt
+ui/serial/libs/.*.js
+ui/spice-html5/.*.js
+ui/spice-html5/css/spice.css
+ui/spice-html5/pages/spice_auto.html
diff --git a/Makefile.am b/Makefile.am
index a2820b1..8382a31 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -77,6 +77,8 @@ check-local:
 		git grep --cached -Il '' | grep -v '^ui/spice-html5/' |  \
 			xargs egrep '.* +$$'                             \
 			&& echo "ERROR: Whitespaces found" || echo "Ok"; \
+		echo "IBM copyright year verification ..." ;              \
+		/bin/bash ../../../../check-IBM-license-header.sh ;       \
 	fi
 
 # Link built mo files in the source tree to enable use of translations from
-- 
2.5.0




More information about the Kimchi-devel mailing list