-
Notifications
You must be signed in to change notification settings - Fork 224
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
Prep for release to maven #13
Conversation
65cd813
to
c675333
Compare
I'm adjusting the checklist above based on http://incubator.apache.org/guides/releasemanagement.html#check-list |
I'll look into the following: |
I'm going to work on |
Adding item to list to |
I'm going to work on |
Based on http://incubator.apache.org/guides/releasemanagement.html#best-practice-license I'm creating an item to list the License of other bundled dependencies in our package. i.e. LGPL. |
@@ -27,12 +27,22 @@ | |||
|
|||
setup_args = dict( | |||
name='toree', | |||
author='Toree Development Team', | |||
author='Apache Toree Development Team', | |||
author_email='user@toree.incubator.apache.org', |
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.
Toree does not have an user list, right ?
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.
Good catch... Will change to dev.
@lresende What is the best way to create the aggregate LICENSE and NOTICE file? We are using sbt-assembly, but it does not seem to be doing all the dependencies. For example, our LGPL dependency does not ship with a LICENSE in the jar, so it does not get merge. Questions are then? |
There is no magic, I guess it's a manual process, by looking into all dependencies being packaged on the distribution and create the LICENSE and NOTICE file. Some projects does it a little different, where they add the LICENSE files into a folder and either point to them or aggregate them. |
It seems that spark has all of it already compiled in their top level LICENSE and NOTICE files https://github.com/apache/spark/blob/branch-1.0/LICENSE |
I have compiled this list of license information for our direct and transitive dependencies. @lbustelo, you should be able to find information in most of those links for the NOTICES file. BSD-likeDirect dependenciesorg.clapper:classutil_2.10:1.0.3 -> http://software.clapper.org/javautil/#copyright-and-license Transitive Dependenciesjline:jline:2.6 -> https://github.com/jline/jline2/blob/master/LICENSE.txt MIT licenseDirect dependenciesnet.sf.jopt-simple:jopt-simple:4.6 -> https://pholser.github.io/jopt-simple/license.html Transitive Dependenciescom.lihaoyi:ammonite-terminal_2.10:0.5.0 -> https://github.com/lihaoyi/Ammonite/blob/master/LICENSE GNU General Lesser Public License (LGPL) version 3.0Direct dependenciesorg.zeromq:jeromq:0.3.4 -> https://github.com/zeromq/jeromq/blob/master/COPYING |
a couple of links guiding NOTICE file content http://www.apache.org/dev/licensing-howto.html#mod-notice
http://apache.org/legal/resolved.html#required-third-party-notices
|
based on https://github.com/zeromq/jeromq/blob/master/COPYING.LESSER#L91... I'm adding the license to the uber packages (pip, bin, and assembly jar) |
Thread regarding single release with LGPL http://apache-incubator-general.996316.n3.nabble.com/Release-dependant-on-LGPL-td48424.html |
In case we need it, here is a list of all the Apache Dependencies: commons-logging:commons-logging:1.1.3 |
I have a PR for removing the systems tests. I created a jira for adding them back with jupyter kernel test. |
20c676a
to
85fa298
Compare
Added scripts to generate signatures and checksums for artifacts Added scripts to verify signatures and checksums during release audit
* Updated sbt-dependency-graph plugin to latest version * Added GPG signing for published jars * Added environment variable for GPG password and binary * Added extra legal files to rat-excludes
f469993
to
d08b117
Compare
@chipsenkbeil Please take a look at this. I think it should be ready for merge. We still do not have a way to automate some of this, but I think we can tackle that separately. There are quite a bit of changes here that it's better to merge now and than having to keep rebasing this PR. |
@lbustelo @Lull3rSkat3r, read through it all and looks good. It looks like the system tests have been removed (along with using a consistent Akka timeout). Do we have plans in the near future to use the Jupyter kernel test project? |
@@ -34,7 +34,7 @@ class TaskManagerSpec extends FunSpec with Matchers with MockitoSugar | |||
with Eventually with Timeouts | |||
{ | |||
implicit override val patienceConfig = PatienceConfig( | |||
timeout = scaled(Span(200, Milliseconds)), | |||
timeout = scaled(Span(30, Seconds)), |
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 this have a constant under test.utils
similar to the Akka one?
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.
Maybe... my conversation with @Lull3rSkat3r was that I feel these tests are trying to be units, but are actually more of an integration test. Either we find a different way to test the functionality without involving Akka, or we moved them as part of overall SystemTest.
@chipsenkbeil There is a separate issue for that. |
Cool, then LGTM. Want me to merge? |
@chipsenkbeil yes... merge it |
This fixes https://issues.apache.org/jira/browse/TOREE-245.
This PR contains modifications to build to release JAR artifacts of Toree.