Skip to content

apache-2.0: are there plans to handle the content of a NOTICE file? #6399

@mawl

Description

@mawl

Hey,

We've got a question from a customer if it would be possible to print out the content of NOTICE files in NOTICE_default or other freemarker based output along with the license texts.

NOTICE files are optionally included in package sources/distributions licensed under apache-2.0.

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. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.

You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.

see https://www.apache.org/licenses/LICENSE-2.0.html#redistribution

To fulfill the license requirement, the text of the NOTICE file has to be handled like license text, which are using the category "include-in-notice-file":

- id: "Apache-2.0"
categories:
- "permissive"
- "include-in-notice-file"

[#assign noticeCategoryName = "include-in-notice-file"]

examples of notice files:
https://github.com/apache/maven/blob/master/NOTICE
https://github.com/oss-review-toolkit/ort/blob/main/NOTICE

ScanCode Toolkit would get copyright statements in the notice file but no other information, so this wouldn't be an option.

Thanks for your answer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    reporterAbout the reporter toolscannerAbout the scanner tool

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions