Add copyright checker to tox 18/20318/3
authorVratko Polak <vrpolak@cisco.com>
Tue, 25 Jun 2019 10:46:12 +0000 (12:46 +0200)
committerVratko Polak <vrpolak@cisco.com>
Fri, 28 Jun 2019 10:59:49 +0000 (10:59 +0000)
commit83070f6f4a9a682f6bbe94304dbf0830529ff475
treece11d7ff44f3846d7fdd866d06236876f04db415
parent25e203b678e1cfd3691a450050115c66813165c3
Add copyright checker to tox

+ Only looks at files edited since HEAD~.
+ Only checks files of whitelisted extensions.
+ Distinguishes missing and outdated copyrights.
+ Any line with "Copyright" substring can work.
+ Many copyright lines are tolerated, if at least one has correct year.
+ Voting.

Change-Id: I2cda0459cb191eeec7aada69c508973568039d87
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/libraries/bash/entry/check/copyright.sh [new file with mode: 0644]
tox.ini