-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Add NOTICE-file and generator #1488
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
Conversation
rm -f NOTICE # `govendor license` appends... | ||
govendor license -o NOTICE +v | ||
|
||
notice-up-to-date: NOTICE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it is a test maybe prepend it name with test- ? and add .PHONY just in case ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could even used a more generic name like test-generate-diff and include generation of NOTICE in make generate or in go generate ?
I don't think that it makes sense to list all license files in detail. Beside that it's not properly formatted. A listing of the used licenses? Ok... But every license? Wtf? |
@tboerger It lists all vendored licenses. Anything that isn't vendored shouldn't be in use and vice versa :) |
@tboerger This is standard practice for larger projects though :/ |
77ae57d
to
370e329
Compare
Why adding the NOTICE file at all if it can be generated from vendor/ directory ? |
See title
@tboerger I think you have to create the .sig-file for Drone