Skip to content

Commit

Permalink
Add NOTICE file for Beats (elastic#3334)
Browse files Browse the repository at this point in the history
* Python script to generate the NOTICE file

The script receives a directory and searches for all the all vendor subdirectories in order to extract copyright
information about the 3rd party libraries that are used. The NOTICE file is
generated in the current directory.

For each 3rd party library, the following rules are used:
- If the library has apache license, and if NOTICE file is present, include that text in  the NOTICE file.
- If the library has MIT, ISC or BSD license, include the whole copyright block in NOTICE file (meaning copyright + license)

* Accept also 3rd party libraries with less than 3 directories
  • Loading branch information
monicasarbu authored and tsg committed Jan 16, 2017
1 parent 206e4e0 commit da690f7
Show file tree
Hide file tree
Showing 3 changed files with 1,587 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,9 @@ upload-package:
.PHONY: release-upload
upload-release:
aws s3 cp --recursive --acl public-read build/upload s3://download.elasticsearch.org/beats/

.PHONY: notice
notice:
python dev-tools/generate_notice.py .


Loading

0 comments on commit da690f7

Please sign in to comment.