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

chore: add NOTICE files and check that deps have known licenses #122

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

trentm
Copy link
Member

@trentm trentm commented Apr 9, 2024

'npm run lint' will now ensure that added deps (excluding devDeps) only
use known licenses (gen-notice.sh --lint). As well, if/when we make
distributions of these packages (e.g. a Docker image, whatever) then
this gen-notice.sh can be used to inline all the included deps'
license files into the NOTICE file.

Refs: #45

'npm run lint' will now ensure that added deps (excluding devDeps) only
use known licenses (gen-notice.sh --lint). As well, if/when we make
distributions of these packages (e.g. a Docker image, whatever) then
this gen-notice.sh can be used to inline all the included deps'
license files into the NOTICE file.

Refs: #45
@trentm trentm requested a review from david-luna April 9, 2024 00:31
@trentm trentm self-assigned this Apr 9, 2024
Copy link
Member

Choose a reason for hiding this comment

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

The majority of this file is a node script executed with - e option and it's called from a noms script. Do you think it's possible to have it as a .js file?

Copy link
Member Author

Choose a reason for hiding this comment

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

Possible, yes. However, the script is derived from the same one we use in elastic-apm-node.git. I'm not sure we'll ever or much edit this file after this initial commit, so I'm not sure re-writing it has value.

@trentm trentm merged commit 90bd5a0 into main Apr 9, 2024
12 checks passed
@trentm trentm deleted the trentm/gen-notice branch April 9, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants