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

DRILL-8475: Update the binary distributions LICENSE #2879

Merged
merged 17 commits into from Feb 27, 2024

Conversation

jnturton
Copy link
Contributor

@jnturton jnturton commented Feb 4, 2024

DRILL-8475: Update the binary distributions LICENSE

Description

The LICENSE file included in the binary distributions of Drill becomes an artifact that is generated automatically by the org.codehaus.mojo:license-maven-plugin (and so is no longer part of the Git source tree). The generated LICENSE is therefore profile dependent, e.g. the Hadoop 2 build of Drill will (as it must) carry a different LICENSE file. Dependencies that it cannot detect are kept in the LICENSE-base.txt file which is combined with the generated license notices by a new Freemarker template. Various other dependency related changes are included as part of this work. It is still possible that fat jars have introduced hidden depedencies but I propose that those are analysed in a subsequent Jira issue.

Documentation

Comments and updated dev docs.

Testing

Comparison of the jars/ directory of a Drill build against the generated LICENSE file to check that every bundled jar has a license notice in LICENSE. The generated Hadoop 3 LICENSE at the time of writing is attached, the new content appearing after the Apache 2.0 license itself.

Connect to Drill using the pruned JDBC driver wuth TLS enabled and search inside the driver JAR for any references to the pruned dependencies.

LICENSE.txt

@jnturton jnturton added documentation PRs relating to documentation backport-to-stable This bug fix is applicable to the latest stable release and should be considered for inclusion there labels Feb 4, 2024
@jnturton jnturton changed the title DRILL-8475: Update the binary dist LICENSE DRILL-8475: Update the binary disttributions LICENSE Feb 4, 2024
@jnturton jnturton changed the title DRILL-8475: Update the binary disttributions LICENSE DRILL-8475: Update the binary distributions LICENSE Feb 4, 2024
@jnturton jnturton marked this pull request as draft February 4, 2024 09:47
@jnturton
Copy link
Contributor Author

jnturton commented Feb 4, 2024

TODO: determine whether too much has been pruned from the JDBC driver, specifically libraries related to Kerberos.

@jnturton jnturton marked this pull request as ready for review February 5, 2024 06:55
@jnturton jnturton requested a review from cgivre February 5, 2024 07:27
@cgivre
Copy link
Contributor

cgivre commented Feb 23, 2024

@jnturton Are we closed to merging this?

Copy link
Contributor

@cgivre cgivre left a comment

Choose a reason for hiding this comment

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

I'm not sure that I'm qualified to review this, but I'll approve.
LGTM +1 .

@cgivre cgivre merged commit 457cd03 into apache:master Feb 27, 2024
8 checks passed
jnturton added a commit to jnturton/drill that referenced this pull request Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-stable This bug fix is applicable to the latest stable release and should be considered for inclusion there code-cleanup dependencies documentation PRs relating to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants