scuffed-code/tools/scripts/cpysearch
Norbert Runge c5749aaf94 ICU-20390 Removes duplicate and obsolete .cpyskip.txt file
in tools/scripts/cpysearch/ directory. The actual .cpyskip.txt file is
now on top level of the repository. Updated readme.txt accordingly.
2019-02-21 07:31:44 -08:00
..
Cpy.pm ICU-20066 add a copyright scan stage (#26) 2018-09-27 14:27:41 -07:00
cpyscan.pl ICU-20066 add a copyright scan stage (#26) 2018-09-27 14:27:41 -07:00
cpysearch.pl ICU-13358 Fixed cpyscan problems. Enhanced cpyscan.pl to use online version of cpyskip.txt by default. Added the new Unicode copyright comment in many tools files. 2017-10-03 02:32:50 +00:00
readme.txt ICU-20390 Removes duplicate and obsolete .cpyskip.txt file 2019-02-21 07:31:44 -08:00

Copyright (C) 2017 and later: Unicode, Inc. and others.
License & terms of use: http://www.unicode.org/copyright.html

Copyright (c) 2002-2009, International Business Machines Corporation and others. All Rights Reserved.

cpysearch.pl is a perl script used to detect the files that might not have the copyright notice. Best when used on windows on a clean checkout. Edit $icuSource to your path. If you are working on other platform, you probably want to edit $ignore to reflect different temporary files that you don't want in the scan. The result will be the list of files that don't have word copyright (case ignored) in first 10 lines. Look at them and fix if needed. 

cpysearch.pl  searches for files modified this year that don't have the
  correct year copyright (i.e. 'copyright 1995') 

cpyscan.pl    searches for all files that don't have any copyright

.cpyskip.txt  is part of the ignore list. It resides as hidden file on
  the top level of the repsoitory. Download the latest from
    https://raw.githubusercontent.com/unicode-org/icu/master/.cpyskip.txt

more docs on copyright scan at:
   http://site.icu-project.org/processes/copyright-scan