What is the copyright scanner?ICU requires all files checked in to have either one of the following Unicode copyright statement. Usually this is in a comment at the top of the file. The scanner is looking for this statement within the first few lines of file data. ASCII: Copyright (C) 2016 and later: Unicode, Inc. and others. UTF-8: © 2016 and later: Unicode, Inc. and others. A command-line version of the copyright scanner can also be run manually, from http://source.icu-project.org/repos/icu/trunk/tools/scripts/cpysearch/ cpyscan.pl might be used for verifying copyright comments as a part of release preparation. The script loads cpyskip.txt located in the current directory. If cpyskip.txt is not found locally, it will use the online version (http://source.icu-project.org/cpyskip.txt) instead.
Exclusion listIf a file can not contain a copyright, like a binary file, simply add the file's path to the file The latest copy that the server is using is viewable as http://source.icu-project.org/cpyskip.txt Exclusion list syntaxThe following are some example formats that can be used in cpyskip.txt Comment
Path
Suffix matchA full file path, starting with the module (icu). It will match files which end with ".jar". (Note, it is not a full regular expression.) *.jar Prefix match
|