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

Add the missing parts (code coming from other projects) in LICENSE & NOTICE #903

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

jbonofre
Copy link
Member

This PR adds the missing parts in LICENSE/NOTICE found in 0.9.0 rc4.

@rdblue @snazy

LICENSE Show resolved Hide resolved

--------------------------------------------------------------------------------

This product includes code from Project Nessie.
Copy link

Choose a reason for hiding this comment

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

Were these not contributed to the project by Dremio employees? If that's the case, then I think the regular contribution rules would apply, even if the code is present in another project. It doesn't matter that it was originally in another project, it matters that it was directly contributed by the copyright owner. If the copyright owner was not the one to contribute, then the third-party documentation would be needed.

Copy link
Member Author

Choose a reason for hiding this comment

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

But, I don't know if we are talking about the same original authors. @snazy can you confirm that you are the author of the original files ? or do we have other dremio contributors on these files ?

Copy link
Member

Choose a reason for hiding this comment

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

There are multiple authors on this code

Copy link
Member Author

Choose a reason for hiding this comment

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

@snazy thanks for the update, it helps.

@rdblue imho, we are in the same situate as for Gradle resources (e.g. gradlew, ...): as the code is copied from another project, this project is under the ALv2, so we should document where the code is coming and the copyright.

Copy link
Member

Choose a reason for hiding this comment

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

Side note: gradle/wrapper/gradle-wrapper.properties is a generated file, not "copied" from anywhere.

Copy link
Member Author

Choose a reason for hiding this comment

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

@rdblue thoughts ?

Copy link

Choose a reason for hiding this comment

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

I guess it's fine to treat it as a third-party contribution if the attribution is unknown from the Nessie project.

I'm actually more concerned right now about the GPL reference that popped up in the Iceberg NOTICE changes.

Copy link
Member Author

@jbonofre jbonofre Jan 31, 2025

Choose a reason for hiding this comment

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

I checked and it's dual license: CDDL + GPL or GPL + EPL.
I checked in https://github.com/projectnessie/nessie/releases/download/nessie-0.102.2/nessie-aggregated-license-report-0.102.2.zip
It would be great if Nessie clarify in the NOTICE.

@rdblue thoughts ?

Copy link
Member Author

Choose a reason for hiding this comment

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

I've updated Nessie NOTICE with the 0.102.5 version.

NOTICE Outdated
Copyright 2017-2025 The Apache Software Foundation

Dremio
Copyright 2015-2017 Dremio Corporation
Copy link

Choose a reason for hiding this comment

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

This addition depends on whether the code was contributed or copied as third-party content. My understanding is that it was contributed directly by Dremio and this should not be present.

Copy link
Member Author

Choose a reason for hiding this comment

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

Correct, I asked the question on the other comment.

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link

Choose a reason for hiding this comment

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

@jbonofre I think we need to verify that there is no GPL code in here, given the mention of GPL code in the NOTICE updates to Iceberg.

Copy link
Member Author

Choose a reason for hiding this comment

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

@rdblue yup. That's a concern to me too. Let me check.

Copy link
Member Author

@jbonofre jbonofre Jan 31, 2025

Choose a reason for hiding this comment

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

I checked and it's dual license: CDDL + GPL or GPL + EPL.
I checked in https://github.com/projectnessie/nessie/releases/download/nessie-0.102.2/nessie-aggregated-license-report-0.102.2.zip
It would be great if Nessie clarify in the NOTICE.

Copy link
Member Author

Choose a reason for hiding this comment

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

I've updated Nessie NOTICE with the 0.102.5 version.

LICENSE Outdated Show resolved Hide resolved
snazy added a commit to snazy/polaris that referenced this pull request Jan 28, 2025
@jbonofre jbonofre force-pushed the rc5-prep-license-fix branch from d746f9a to eb4ed52 Compare January 28, 2025 20:16
snazy added a commit to snazy/polaris that referenced this pull request Jan 28, 2025
To ensure that files that are known to be mentioned in `LICENSE` are really mentioned in that file, the Gradle plugin introduced in this change verifies this.

The "magic word" `CODE_COPIED_TO_POLARIS` must be present in such files. The presence of the "magic word" triggers a validation that the path of the containing file, relative to the project root directory, must be mentioned in `LICENSE`, prefixed with `* `.

The plugin checks all source directories in projects that have any Java plugin applied. For other projects, the plugin's extension provides a mechanism to add directory sets similar to how `SourceDirectorySet` works, which is used for the root project.

The plugin must be applied on the root project, it adds itself to all other projects. The introduced `checkForCopiedCode` task is added to the `check` task as a dependency.

Related to apache#903
snazy added a commit to snazy/polaris that referenced this pull request Jan 28, 2025
To ensure that files that are known to be mentioned in `LICENSE` are really mentioned in that file, the Gradle plugin introduced in this change verifies this.

The "magic word" `CODE_COPIED_TO_POLARIS` must be present in such files. The presence of the "magic word" triggers a validation that the path of the containing file, relative to the project root directory, must be mentioned in `LICENSE`, prefixed with `* `.

The plugin checks all source directories in projects that have any Java plugin applied. For other projects, the plugin's extension provides a mechanism to add directory sets similar to how `SourceDirectorySet` works, which is used for the root project.

The plugin must be applied on the root project, it adds itself to all other projects. The introduced `checkForCopiedCode` task is added to the `check` task as a dependency.

Files that contain "copied code" need to have the word `CODE_COPIED_TO_POLARIS` anywhere.

Related to apache#903
snazy added a commit to snazy/polaris that referenced this pull request Jan 29, 2025
To ensure that files that are known to be mentioned in `LICENSE` are really mentioned in that file, the Gradle plugin introduced in this change verifies this.

The "magic word" `CODE_COPIED_TO_POLARIS` must be present in such files. The presence of the "magic word" triggers a validation that the path of the containing file, relative to the project root directory, must be mentioned in `LICENSE`, prefixed with `* `.

The plugin checks all source directories in projects that have any Java plugin applied. For other projects, the plugin's extension provides a mechanism to add directory sets similar to how `SourceDirectorySet` works, which is used for the root project.

The plugin must be applied on the root project, it adds itself to all other projects. The introduced `checkForCopiedCode` task is added to the `check` task as a dependency.

Files that contain "copied code" need to have the word `CODE_COPIED_TO_POLARIS` anywhere.

Related to apache#903
snazy added a commit to snazy/polaris that referenced this pull request Jan 29, 2025
To ensure that files that are known to be mentioned in `LICENSE` are really mentioned in that file, the Gradle plugin introduced in this change verifies this.

The "magic word" `CODE_COPIED_TO_POLARIS` must be present in such files. The presence of the "magic word" triggers a validation that the path of the containing file, relative to the project root directory, must be mentioned in `LICENSE`, prefixed with `* `.

The plugin checks all source directories in projects that have any Java plugin applied. For other projects, the plugin's extension provides a mechanism to add directory sets similar to how `SourceDirectorySet` works, which is used for the root project.

The plugin must be applied on the root project, it adds itself to all other projects. The introduced `checkForCopiedCode` task is added to the `check` task as a dependency.

Files that contain "copied code" need to have the word `CODE_COPIED_TO_POLARIS` anywhere.

Related to apache#903
snazy added a commit to snazy/polaris that referenced this pull request Jan 29, 2025
To ensure that files that are known to be mentioned in `LICENSE` are really mentioned in that file, the Gradle plugin introduced in this change verifies this.

The "magic word" `CODE_COPIED_TO_POLARIS` must be present in such files. The presence of the "magic word" triggers a validation that the path of the containing file, relative to the project root directory, must be mentioned in `LICENSE`, prefixed with `* `.

The plugin checks all source directories in projects that have any Java plugin applied. For other projects, the plugin's extension provides a mechanism to add directory sets similar to how `SourceDirectorySet` works, which is used for the root project.

The plugin must be applied on the root project, it adds itself to all other projects. The introduced `checkForCopiedCode` task is added to the `check` task as a dependency.

Files that contain "copied code" need to have the word `CODE_COPIED_TO_POLARIS` anywhere.

Related to apache#903
snazy added a commit to snazy/polaris that referenced this pull request Jan 29, 2025
To ensure that files that are known to be mentioned in `LICENSE` are really mentioned in that file, the Gradle plugin introduced in this change verifies this.

The "magic word" `CODE_COPIED_TO_POLARIS` must be present in such files. The presence of the "magic word" triggers a validation that the path of the containing file, relative to the project root directory, must be mentioned in `LICENSE`, prefixed with `* `.

The plugin checks all source directories in projects that have any Java plugin applied. For other projects, the plugin's extension provides a mechanism to add directory sets similar to how `SourceDirectorySet` works, which is used for the root project.

The plugin must be applied on the root project, it adds itself to all other projects. The introduced `checkForCopiedCode` task is added to the `check` task as a dependency.

Files that contain "copied code" need to have the word `CODE_COPIED_TO_POLARIS` anywhere.

Related to apache#903
snazy added a commit to snazy/polaris that referenced this pull request Jan 30, 2025
To ensure that files that are known to be mentioned in `LICENSE` are really mentioned in that file, the Gradle plugin introduced in this change verifies this.

The "magic word" `CODE_COPIED_TO_POLARIS` must be present in such files. The presence of the "magic word" triggers a validation that the path of the containing file, relative to the project root directory, must be mentioned in `LICENSE`, prefixed with `* `.

The plugin checks all source directories in projects that have any Java plugin applied. For other projects, the plugin's extension provides a mechanism to add directory sets similar to how `SourceDirectorySet` works, which is used for the root project.

The plugin must be applied on the root project, it adds itself to all other projects. The introduced `checkForCopiedCode` task is added to the `check` task as a dependency.

Files that contain "copied code" need to have the word `CODE_COPIED_TO_POLARIS` anywhere.

Related to apache#903
snazy added a commit that referenced this pull request Jan 31, 2025
To ensure that files that are known to be mentioned in `LICENSE` are really mentioned in that file, the Gradle plugin introduced in this change verifies this.

The "magic word" `CODE_COPIED_TO_POLARIS` must be present in such files. The presence of the "magic word" triggers a validation that the path of the containing file, relative to the project root directory, must be mentioned in `LICENSE`, prefixed with `* `.

The plugin checks all source directories in projects that have any Java plugin applied. For other projects, the plugin's extension provides a mechanism to add directory sets similar to how `SourceDirectorySet` works, which is used for the root project.

The plugin must be applied on the root project, it adds itself to all other projects. The introduced `checkForCopiedCode` task is added to the `check` task as a dependency.

Files that contain "copied code" need to have the word `CODE_COPIED_TO_POLARIS` anywhere.

Related to #903
@jbonofre jbonofre force-pushed the rc5-prep-license-fix branch from eb4ed52 to bf7910e Compare February 1, 2025 06:53
@jbonofre
Copy link
Member Author

jbonofre commented Feb 1, 2025

I updated Nessie NOTICE. I think we are good for Polaris.

@rdblue do you mind to do a new pass ? Thanks !

@jbonofre jbonofre force-pushed the rc5-prep-license-fix branch from bf7910e to 00cf110 Compare February 5, 2025 19:56
@jbonofre
Copy link
Member Author

jbonofre commented Feb 6, 2025

I think we are good now. I propose to merge this PR and I will submit rc5 to vote.

@jbonofre jbonofre force-pushed the rc5-prep-license-fix branch from 00cf110 to 7713909 Compare February 6, 2025 12:06
@jbonofre jbonofre merged commit 6879565 into apache:main Feb 6, 2025
5 checks passed
@jbonofre jbonofre deleted the rc5-prep-license-fix branch February 6, 2025 16:27
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.

5 participants