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

NOTICE files for Apache 2.0 works not included #84

Open
jwodder opened this issue Oct 26, 2023 · 0 comments
Open

NOTICE files for Apache 2.0 works not included #84

jwodder opened this issue Oct 26, 2023 · 0 comments

Comments

@jwodder
Copy link

jwodder commented Oct 26, 2023

The Apache 2.0 license states in part:

If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear.

However, cargo-lichking makes no attempt to preserve NOTICE files. As a demonstration, create a new Cargo project and add bat as a dependency; then the file produced by cargo-lichking will include bat's MIT and Apache 2.0 licenses, but not its NOTICE file.

Also, when implementing NOTICE support, keep in mind that the Apache 2.0 license requires NOTICE texts to be redistributed in a file also named NOTICE (or in the source, docs, or a UI, but that's beyond the scope of the project).

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

No branches or pull requests

1 participant