diff options
author | Vratko Polak <vrpolak@cisco.com> | 2020-12-09 15:50:06 +0100 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2020-12-09 15:50:06 +0100 |
commit | e2fc8a8dc9a6d5433b9a51c437da2b40f1214738 (patch) | |
tree | 077da70e7fbb7ccffa666f753f49cf6a62c85f13 /resources/libraries/bash/entry/check/copyright_year.sh | |
parent | 0bb14d79edb065bc97fdd11a7bfa7d1605266e08 (diff) |
Tox: Add GPL license checker
A common mistage is to add a file into GPL directory,
with Apache license only.
This adds a tox checker to vote -1 on such changes,
gpl_license.log contains the list of affected files.
There are TODOs related to unlicensed files
or unconventional GPL licenses.
Change-Id: I267e4fb98afd199d5acc7d211068b28c97b31dc9
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/bash/entry/check/copyright_year.sh')
-rw-r--r-- | resources/libraries/bash/entry/check/copyright_year.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/bash/entry/check/copyright_year.sh b/resources/libraries/bash/entry/check/copyright_year.sh index 66667b96ca..2f9bc1fbeb 100644 --- a/resources/libraries/bash/entry/check/copyright_year.sh +++ b/resources/libraries/bash/entry/check/copyright_year.sh @@ -18,7 +18,7 @@ set -exuo pipefail # This file does not have executable flag nor shebang, # to dissuade non-tox callers. -# This script runs a few grep-based command and fails +# This script runs a few grep-based commands and fails # if it detects any file edited or added since HEAD~ # containing a copyright notice in first 3 lines, # but not the current year (in the same line). |