12e5b6d6dSopenharmony_ci---
22e5b6d6dSopenharmony_cilayout: default
32e5b6d6dSopenharmony_cititle: Legalities
42e5b6d6dSopenharmony_ciparent: Release & Milestone Tasks
52e5b6d6dSopenharmony_cigrand_parent: Contributors
62e5b6d6dSopenharmony_cinav_order: 70
72e5b6d6dSopenharmony_ci---
82e5b6d6dSopenharmony_ci
92e5b6d6dSopenharmony_ci<!--
102e5b6d6dSopenharmony_ci© 2021 and later: Unicode, Inc. and others.
112e5b6d6dSopenharmony_ciLicense & terms of use: http://www.unicode.org/copyright.html
122e5b6d6dSopenharmony_ci-->
132e5b6d6dSopenharmony_ci
142e5b6d6dSopenharmony_ci# Legalities
152e5b6d6dSopenharmony_ci
162e5b6d6dSopenharmony_ci## 1. Scan for Copyright notices
172e5b6d6dSopenharmony_ci
182e5b6d6dSopenharmony_ciCheck source and data files, especially newly contributed ones, to make sure the
192e5b6d6dSopenharmony_ciproper copyright notice is in place. For example,
202e5b6d6dSopenharmony_ci
212e5b6d6dSopenharmony_ci```
222e5b6d6dSopenharmony_ci© 2016 and later: Unicode, Inc. and others.
232e5b6d6dSopenharmony_ciLicense & terms of use: http://www.unicode.org/copyright.html#License
242e5b6d6dSopenharmony_ci```
252e5b6d6dSopenharmony_ci
262e5b6d6dSopenharmony_ciScan the source code to make sure that every file that was touched recently has
272e5b6d6dSopenharmony_cithe current year in the copyright statement. See the [ICU Copyright
282e5b6d6dSopenharmony_ciScanner](../../../copyright-scan.md) page and follow the link to the scripts and
292e5b6d6dSopenharmony_cithe readme.
302e5b6d6dSopenharmony_ci
312e5b6d6dSopenharmony_ciScan the source code to include third-party company names in copyright notices
322e5b6d6dSopenharmony_ciif necessary.
332e5b6d6dSopenharmony_ci
342e5b6d6dSopenharmony_ci~~Scan for text files that do not contain the word "Copyright": find_textfiles
352e5b6d6dSopenharmony_ci-nosvn -novc -noeclipse | xargs grep -i -L Copyright (See the find_textfiles
362e5b6d6dSopenharmony_ciPerl script attached to this page.) There are files without word "Copyright" in
372e5b6d6dSopenharmony_ciICU source repository including some test data files (no comment syntax defined
382e5b6d6dSopenharmony_cifor these test data files), Unicode data files, tzcode source files and others.
392e5b6d6dSopenharmony_ciReview the output file list and determine if each of them should have ICU
402e5b6d6dSopenharmony_cicopyright statement or not.~~ ***The script [find_textfiles](find_textfiles)
412e5b6d6dSopenharmony_ciassociated with this document is not maintained. Use the ICU Copyright Scanner
422e5b6d6dSopenharmony_ciabove instead.***
432e5b6d6dSopenharmony_ci
442e5b6d6dSopenharmony_ci## 2. Update license files
452e5b6d6dSopenharmony_ci
462e5b6d6dSopenharmony_ciCheck ICU, Unicode and other license terms. Make sure these files are up to
472e5b6d6dSopenharmony_cidate. The [Unicode data and software license
482e5b6d6dSopenharmony_citerm](http://www.unicode.org/copyright.html) is updated annually (usually year
492e5b6d6dSopenharmony_cinumber only). The easiest way to get the updated license is to do View Source on
502e5b6d6dSopenharmony_ciunicode.org/copyright.html and scroll down to the plaintext version of the
512e5b6d6dSopenharmony_cisoftware license ("Exhibit A").
522e5b6d6dSopenharmony_ci
532e5b6d6dSopenharmony_ciSee [svn changeset r39632](https://github.com/unicode-org/icu/commit/0001f6c5e92f6f3a8d66c7dbc47cc24df7633a71)
542e5b6d6dSopenharmony_cifor an example; there should be only two files to update.
55