-
Notifications
You must be signed in to change notification settings - Fork 141
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
Illustrate the expected NOTICE/LICENSE #10338
base: main
Are you sure you want to change the base?
Conversation
|
I can apply this to #10331 but I wanted to illustrate and provide what should be included or not included. |
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.
This approach make sense to me 👍
I'm not sure about some specific listed dependencies, though :)
|
||
Apache Polaris (incubating) | ||
Copyright The Apache Software Foundation | ||
| Apache Iceberg |
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.
Is it standard to use |
as the prefix on included lines?
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.
It's a way to clearly format the NOTICE file from dependency (to avoid to confuse the reader). It's used in several ASF projects.
|
||
-------------------------------------------------------------------------- | ||
|
||
This binary artifact bundles EnvoyProxy. |
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.
Really? Where does EnvoyProxy
get bundled?
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.
@jbonofre : do you have any particular methodology for checking bundled stuff?
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.
It's a transitive from gRPC: envoyproxy is shaded in gRPC:
$ jar tvf nessie-cli-0.102.5-SNAPSHOT.jar|grep -i envoyproxy
...
2713 Tue Dec 10 17:19:14 CET 2024 io/grpc/xds/shaded/io/envoyproxy/pgv/validate/Validate$FieldRules$1.class
17354 Tue Dec 10 17:19:14 CET 2024 io/grpc/xds/shaded/io/envoyproxy/pgv/validate/Validate$Fixed64Rules.class
20939 Tue Dec 10 17:19:14 CET 2024 io/grpc/xds/shaded/io/envoyproxy/pgv/validate/Validate$UInt64Rules$Builder.class
1260 Tue Dec 10 17:19:14 CET 2024 io/grpc/xds/shaded/io/envoyproxy/pgv/validate/Validate$DurationRulesOrBuilder.class
1212 Tue Dec 10 17:19:14 CET 2024 io/grpc/xds/shaded/io/envoyproxy/pgv/validate/Validate$KnownRegex$1.class
20839 Tue Dec 10 17:19:14 CET 2024 io/grpc/xds/shaded/io/envoyproxy/pgv/validate/Validate$SInt32Rules$Builder.class
To check, I check what is actually in the distributed jar using jar tvf foobar.jar
.
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.
Thx! Good find :)
I wonder, though, why cli
even gets gRPC 🤔
@@ -0,0 +1 @@ | |||
Add LICENSE/NOTICE for gc-tool |
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.
Should we have this for every published jar?
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.
NB: TODO is because I know gc-tool is shading dependencies, but I didn't have time to list yet. I will do that today.
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.
No, I mean we should do this exercise for every published jar, right?.. or only for "fat" jars?
@@ -0,0 +1,631 @@ | |||
Nessie | |||
Copyright 2015-2025 Dremio Corporation |
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.
Do you mean this NOTICE to be included into the jar too?
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.
Yes as the NOTICE
might be specific (depending of the bundled dependencies).
This PR illustrates what should be in
LICENSE
andNOTICE
.LICENSE
andNOTICE
are for source distributionLICENSE-BINARY-DIST
andNOTICE-BINARY-DIST
are for all jar by defaultcli/cli/LICENSE
andcli/cli/NOTICE
are for the nessie-cli jar (I provide an example of expected content here)gc/gc-tool/LICENSE
andgc/gc-tool/NOTICE
are for the gc-tool jaarservers/quarkus-server/runner/LICENSE
andservers/quarkus-server/runner/NOTICE
are for the Quarkus fat jar for nessie-servertools/server-admin/runner/LICENSE
andtools/server-admin/runner/NOTICE
are for the Quarkus fat jar for nessie-admin-server