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

Missing MPL notice and source redist for publicsuffix data #4569

Closed
pombredanne opened this issue Jan 21, 2019 · 8 comments
Closed

Missing MPL notice and source redist for publicsuffix data #4569

pombredanne opened this issue Jan 21, 2019 · 8 comments
Labels
bug Bug in existing code
Milestone

Comments

@pombredanne
Copy link

From what I can see an older version of https://publicsuffix.org/list/public_suffix_list.dat is bundled in https://github.com/square/okhttp/tree/2f4b90050e739f2310a1e1a26634124dd3b618e2/okhttp/src/main/resources/okhttp3/internal/publicsuffix ... but there is no indication anywhere that this is using an MPL-license. This is not Apache-licensed for sure (as your code is at https://github.com/square/okhttp/blob/2f4b90050e739f2310a1e1a26634124dd3b618e2/okhttp/src/main/java/okhttp3/internal/publicsuffix/PublicSuffixDatabase.java )

IMHO, somehow, somewhere I think that the original notice from https://publicsuffix.org/list/public_suffix_list.dat should be included in the JARs at the minimum and that the source for the list data should be made available for redistribution since the license is MPL...

// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

See https://github.com/publicsuffix/list/blob/master/LICENSE#L170 for details.

@pombredanne pombredanne added the bug Bug in existing code label Jan 21, 2019
@swankjesse
Copy link
Collaborator

Can fix!

@swankjesse
Copy link
Collaborator

@pombredanne thanks for flagging this. Lemme know if I’ve missed anything! #4657

@pombredanne
Copy link
Author

@swankjesse that's good enough... though it would be best if this was surfaced in the generated POM too (such that tools can pick this up upfront and this is more easy to grok such as in https://clearlydefined.io/ and https://github.com/nexB/scancode-toolkit )

@JakeWharton
Copy link
Collaborator

JakeWharton commented Apr 4, 2019 via email

@pombredanne
Copy link
Author

@JakeWharton I guess that the license terms to consider for the whole are Apache-2.0 AND MPL-2.0 yet I reckon your concern that the latter is not the same as the former. The POM is reasonably weak to express such things in general (this is just a list of licenses..) and I am not sure Gradle-generated POMs can do much in this area.
One possibly could be to add a in the tag for the Apache license at least.
ATM your POMs seem rather light on the license details side in general 😉 : http://central.maven.org/maven2/com/squareup/okhttp3/okhttp/3.14.0/okhttp-3.14.0.pom

@JakeWharton
Copy link
Collaborator

JakeWharton commented Apr 4, 2019 via email

@pombredanne
Copy link
Author

@JakeWharton re:

traverse the hierarchy of parent poms

This feels like a rather fragmented path to get the information. This also means that at runtime (where only a JAR and no parent POM is around), there is no license information available inside the JAR

@JakeWharton
Copy link
Collaborator

JakeWharton commented Apr 19, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug in existing code
Projects
None yet
Development

No branches or pull requests

3 participants