Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport 3334 & 3379 to 5.2: Notice file #3380

Merged
merged 2 commits into from
Jan 16, 2017

Conversation

tsg
Copy link
Contributor

@tsg tsg commented Jan 16, 2017

Backports of #3334 and #3379.

monicasarbu and others added 2 commits January 16, 2017 14:07
* 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

(cherry picked from commit e2aaa38)
Added to the home path. Also modifies the generators to include a simple
NOTICE file, which is anyway good practice for Apache licensed projects.

Tested the beat and the metricbeat generators by hand.
(cherry picked from commit f3352eb)
@tsg
Copy link
Contributor Author

tsg commented Jan 16, 2017

jenkins, package it

@monicasarbu monicasarbu merged commit bd53ef9 into elastic:5.2 Jan 16, 2017
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
* Add NOTICE file for Beats (elastic#3334)

* 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

(cherry picked from commit da690f7)

* Add NOTICE file to the packages (elastic#3379)

Added to the home path. Also modifies the generators to include a simple
NOTICE file, which is anyway good practice for Apache licensed projects.

Tested the beat and the metricbeat generators by hand.
(cherry picked from commit 3e63f7b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants