Skip to content

Conversation

@justinmclean
Copy link
Member

What changes were proposed in this pull request?

LICENSE and NOTICE changes as per ASF policy

How was this patch tested?

N/A

Please review http://spark.apache.org/contributing.html before opening a pull request.

@gatorsmile
Copy link
Member

ok to test

NOTICE Outdated
@@ -1,667 +1,11 @@
Apache Spark
Copyright 2014 and onwards The Apache Software Foundation.
Copyright 2014 - 20018 The Apache Software Foundation.
Copy link
Member

Choose a reason for hiding this comment

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

2018?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes 2018 as that when the last release was. Copyright expires so it nice to know what the year was.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah I see what you are saying - I'll fix it to be 2018 not 20018

See the License for the specific language governing permissions and
limitations under the License.
This product includes software developed as part of
The Android Open Source Project (http://source.android.com).
Copy link
Member

Choose a reason for hiding this comment

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

Add a new line?

@SparkQA
Copy link

SparkQA commented Jun 22, 2018

Test build #92199 has finished for PR 21610 at commit b9d12d7.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen
Copy link
Member

srowen commented Jun 23, 2018

Is this patch trying to make this into LICENSE/NOTICE appropriate for a source release? then they wouldn't work for a binary release. Maybe we can

  • address any gaps in the binary release version
  • simplify it as some of your suggested changes maybe I didn't know we could do, and
  • clone and chop it down for a source release version
  • modify release scripts to use the right one

We can do the last one separately, even second to last, but would like to capture the fixes parts here if possible and get those in.

@justinmclean
Copy link
Member Author

Yes it 's trying to correct if for the source release. As per the guiding principle [1] the LICENSE and NOTICE needs to represent what in the release this often mean you get different LICENSE and NOTICE files. [2]

I think the above steps sound fine. It looks like there a couple of things are missing (the licenses I've added) and there's license info in the NOTICE file that should be in LICENSE.

  1. http://www.apache.org/dev/licensing-howto.html#guiding-principle
  2. http://www.apache.org/dev/licensing-howto.html#binary

@SparkQA
Copy link

SparkQA commented Jun 23, 2018

Test build #92252 has finished for PR 21610 at commit ddb32e5.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen
Copy link
Member

srowen commented Jun 23, 2018

OK if you want to pare down the PR to fixes we had discussed here and on the thread, I can get it in. I will need to just reevaluate the whole LICENSE and NOTICE anyway as it's clear it's at least a little out of date. So I'll be doing that in another PR anyway. OK if you'd rather me just run with that too.

Copy link
Member

@srowen srowen left a comment

Choose a reason for hiding this comment

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

@justinmclean have a look at my attempt at #21640 which I hope takes care of these and more issues. It's a complete overhaul.

@@ -0,0 +1,121 @@
Creative Commons Legal Code
Copy link
Member

Choose a reason for hiding this comment

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

Do we need this? CC0 is treated like public domain, as per http://www.apache.org/legal/resolved.html#can-works-placed-in-the-public-domain-be-included-in-apache-products . I found the image online that prompted this and it's also described as public domain.

@justinmclean
Copy link
Member Author

justinmclean commented Jun 25, 2018 via email

@srowen
Copy link
Member

srowen commented Jun 25, 2018

Oh I missed this: "Attribution is required (in a similar fashion to permissive licenses)." Hm, I wonder why (other than being nice). But it's easy enough to revise this to attribute several other public domain deps.

@justinmclean
Copy link
Member Author

justinmclean commented Jun 26, 2018 via email

@srowen
Copy link
Member

srowen commented Jun 26, 2018

Certainly. I'm saying that these are nearly the same thing, because the binary release is, mostly, a collection of compiled Spark code and all its transitive dependencies. This is why it's correct to start from that list. It's not 100% what makes it into the release: some bundled code doesn't show up this way (shaded stuff). It also bears some manual sense checking. But it appeared to give the correct list of dependencies.

@justinmclean
Copy link
Member Author

justinmclean commented Jun 26, 2018 via email

@srowen
Copy link
Member

srowen commented Jun 26, 2018

Justin can you be more specific? I'm looking at our last binary release and it certainly has (what appear to be) all of Spark's transitive dependencies in jars/. What are you seeing?

@srowen
Copy link
Member

srowen commented Jul 31, 2018

BTW I think this can be closed. I separately overhauled the LICENSE/NOTICE.

@srowen srowen mentioned this pull request Aug 20, 2018
@asfgit asfgit closed this in b8788b3 Aug 21, 2018
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.

4 participants