Skip to content

[build] Add notice file#10344

Merged
epixa merged 7 commits intoelastic:masterfrom
jbudz:features/notice
Feb 16, 2017
Merged

[build] Add notice file#10344
epixa merged 7 commits intoelastic:masterfrom
jbudz:features/notice

Conversation

@jbudz
Copy link
Copy Markdown
Contributor

@jbudz jbudz commented Feb 14, 2017

This adds a notice file to builds. Closes #9652.

To test: npm run build and look for NOTICE.txt at the root of an extracted package.

Comment thread tasks/build/notice.js Outdated
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should probably be started from a base file, where we can include committed dependencies too

@epixa
Copy link
Copy Markdown
Contributor

epixa commented Feb 14, 2017

I think this needs to include the contents of each dependency's license file as well, if it exists. Check out logstash builds for an example.

@epixa
Copy link
Copy Markdown
Contributor

epixa commented Feb 15, 2017

As your comment mentioned, can you seed this from a base file that includes the header by default? Then the build step can add to it.

@epixa
Copy link
Copy Markdown
Contributor

epixa commented Feb 15, 2017

I'm tagging this with 5.3.0 since it's a really low risk change, though it's not a blocker. If we don't get it into 5.3.0, we can just ship it in 5.3.1.

@jbudz jbudz added the Team:Operations Kibana-Operations Team label Feb 15, 2017
Copy link
Copy Markdown
Contributor

@epixa epixa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor change, then I think this is good to go.

Comment thread tasks/build/notice/base_notice.txt Outdated
@@ -0,0 +1,59 @@
Elasticsearch Kibana
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just Kibana on the first line.

@epixa
Copy link
Copy Markdown
Contributor

epixa commented Feb 16, 2017

LGTM

@epixa epixa merged commit e1b677a into elastic:master Feb 16, 2017
@epixa epixa deleted the features/notice branch February 16, 2017 16:41
epixa pushed a commit that referenced this pull request Feb 16, 2017
* [build] Add notice file

* [build] Include license text if available

* [build] Look for both license and notice files

* [build] Add node license to notice

* [build] Add a base notice file including info on committed dependencies

* Bump license copyright year

* [build] Kibana at top of notice
epixa pushed a commit that referenced this pull request Feb 16, 2017
* [build] Add notice file

* [build] Include license text if available

* [build] Look for both license and notice files

* [build] Add node license to notice

* [build] Add a base notice file including info on committed dependencies

* Bump license copyright year

* [build] Kibana at top of notice
epixa pushed a commit that referenced this pull request Feb 16, 2017
* [build] Add notice file

* [build] Include license text if available

* [build] Look for both license and notice files

* [build] Add node license to notice

* [build] Add a base notice file including info on committed dependencies

* Bump license copyright year

* [build] Kibana at top of notice
@epixa
Copy link
Copy Markdown
Contributor

epixa commented Feb 16, 2017

5.x db9e041
5.3 688c5cb
5.2 3ebb3b1

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