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

Figure out license files wrt Twitter HPACK which we include vendored in http-core #62

Closed
jrudolph opened this issue Feb 16, 2023 · 7 comments
Labels
licensing licensing issues
Milestone

Comments

@jrudolph
Copy link
Contributor

jrudolph commented Feb 16, 2023

The copy is shaded but also modified so that using the upstream version is not possible. We could probably extract the java source into its own submodule if that simplifies the license situation.

@jrudolph jrudolph added this to the 1.0.0 milestone Feb 16, 2023
@jrudolph
Copy link
Contributor Author

In #19 the existing notes in the NOTICE.txt file were deleted. Was that intentional?

@jrudolph
Copy link
Contributor Author

jrudolph commented Feb 16, 2023

In #19 the existing notes in the NOTICE.txt file were deleted. Was that intentional?

According to the #19 description it was intentional.

From my understanding, we do not need to include HPack license - or even include details in our NOTICE file

* it is Apache licensed

* [twitter/hpack](https://github.com/twitter/hpack) has no NOTICE so we don't have copy that non-existent notice into our notice

@pjfanning
Copy link
Contributor

I am not an expert on licensing and I am not a lawyer.

I've seen what the Incubator mentors and PMC members say about other instances in our code base and in other Incubator projects but when I try to apply what I think is the reasoning to scenarios, I frequently get it wrong.

With the NOTICE file, we have https://infra.apache.org/licensing-howto.html#mod-notice - that we should only modify the standard Apache NOTICE when we have to. It's worth reading that full doc (not just the mod-notice paragraph).

There is this: If the dependency supplies a NOTICE file, its contents must be analyzed and the relevant portions bubbled up into the top-level NOTICE file. but I could not find HPACK's NOTICE file - if there is one that I've missed - we need to abide by it in our NOTICE.

With the LICENSE file. we do have the leeway to mention code that is not ours and what the license for that code is. See the incubator-pekko repo LICENSE and the unmerged apache/pekko#159. https://infra.apache.org/licensing-howto.html#alv2-dep says that we do not normally need to list Apache licensed code in our LICENSE.

@jrudolph
Copy link
Contributor Author

Ok, I'm fine with being relaxed about the notes, it would be good though to some place to list all external bundled dependencies. The document you linked mentions:

Bundling an Apache 2-0-licensed dependency

Assuming that the bundled dependency itself contains no bundled sub-components under other licenses, so the ALv2 applies uniformly to all files, there is no need to modify LICENSE. However, for completeness it is useful to list the products and their versions, as is done for products under other licenses.

So, it would be nice to keep a note in the LICENSE file about our inclusion of twitter hpack.

@pjfanning
Copy link
Contributor

Checking again, the source files have copyrights in their headers.

 * Copyright 2014 Twitter, Inc.

So it seems that we should mention this in our LICENSE. I can do a PR over the coming week.

@pjfanning
Copy link
Contributor

relates to #35

@pjfanning
Copy link
Contributor

#67 merged

@pjfanning pjfanning added the licensing licensing issues label Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
licensing licensing issues
Projects
No open projects
Development

No branches or pull requests

2 participants