Project

General

Profile

action #11048

Updated by okurz about 8 years ago

## user story 
 As a repository maintainer I want an automatic script to check for correct copyright notice in headers not to check everything manuall 

 ## acceptance criteria 
 * copyright check is executed on travis checks asserting 
  * the current year appears in changed files 
  * only the current year and optionally the last year appears in new files 
 * script can be called locally, e.g. is called as part of tests or git commit-hook 

 ## tasks 
 * Investigate http://damien.lespiau.name/2013/01/a-git-pre-commit-hook-to-check-year-of.html 
 * Add check script to repo 
 * Call script in Makefile as part of tests or only in .travis.yml in one of os-autoinst, openQA, os-autoinst-distri-opensuse 
 * Do the same for all repos

Back