Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 706 Bytes

license-headers.md

File metadata and controls

25 lines (18 loc) · 706 Bytes

Applying or updating license headers

To add or update license headers in this or other Open Data Cube projects, you can do the following:

Download the tool from https://github.com/johann-petrak/licenseheaders and make it executable.

wget https://raw.githubusercontent.com/johann-petrak/licenseheaders/master/licenseheaders.py
chmod +x licenseheaders.py

Change the sections on python files, to remove the headerStartLine and headerEndLine, like:

        "headerStartLine": "",
        "headerEndLine": "",

Run the tool:

python3 ./licenseheaders.py --tmpl license-template.txt --years 2017-2020 --ext py