You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gobblin.apache.org by ab...@apache.org on 2018/07/02 17:37:41 UTC

[1/4] incubator-gobblin git commit: Add ability to sign binary releases

Repository: incubator-gobblin
Updated Branches:
  refs/heads/master 081004e12 -> f543a39a4


Add ability to sign binary releases


Project: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/commit/702b839e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/tree/702b839e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/diff/702b839e

Branch: refs/heads/master
Commit: 702b839eeacf6288037b01dd3e90f9e911054539
Parents: 081004e
Author: Abhishek Tiwari <ab...@gmail.com>
Authored: Mon Jul 2 22:53:14 2018 +0530
Committer: Abhishek Tiwari <ab...@gmail.com>
Committed: Mon Jul 2 22:53:14 2018 +0530

----------------------------------------------------------------------
 gobblin-distribution/build.gradle | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/702b839e/gobblin-distribution/build.gradle
----------------------------------------------------------------------
diff --git a/gobblin-distribution/build.gradle b/gobblin-distribution/build.gradle
index fff1298..6354e7d 100644
--- a/gobblin-distribution/build.gradle
+++ b/gobblin-distribution/build.gradle
@@ -53,7 +53,7 @@ apply from: "${rootProject.rootDir}/gobblin-flavored-build.gradle"
 
 task buildDistributionTar(type: Tar, overwrite: true) {
   extension = 'tar.gz'
-  baseName = project.name
+  baseName "apache-gobblin-incubating-bin"
   compression = Compression.GZIP
 
   into("conf") { from "../conf/" }
@@ -72,8 +72,22 @@ task buildDistributionTar(type: Tar, overwrite: true) {
     copy {
       from buildDir.path + '/distributions/' + baseName + '-' + project.version + '.tar.gz'
       into project.rootDir.path
+
+      archiveName = "${baseName}-${project.version}.tar.gz"
+      ant.checksum file:"$buildDir.path/distributions/$archiveName", algorithm: "MD5", fileext: ".md5"
+      ant.checksum file:"$buildDir.path/distributions/$archiveName", algorithm: "SHA-512", fileext: ".sha512"
     }
   }
 }
 
+// Signing requires a user ~/.gradle/gradle.properties file with signing information.
+// See: http://www.gradle.org/docs/current/userguide/signing_plugin.html
+signing {
+  // Sign the source archive if the proper configuration is in place to do so.  Otherwise
+  // skip the signing process (it isn't required).  This archive can be manually signed if
+  // needed.
+  required false
+  sign buildDistributionTar
+}
+
 assemble.dependsOn buildDistributionTar


[4/4] incubator-gobblin git commit: Add Apache license header to launcher scripts for cluster, service and test

Posted by ab...@apache.org.
Add Apache license header to launcher scripts for cluster, service and test


Project: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/commit/f543a39a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/tree/f543a39a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/diff/f543a39a

Branch: refs/heads/master
Commit: f543a39a4e69ebbdf4b948323892bdd6efe8c54a
Parents: 6bf7aff
Author: Abhishek Tiwari <ab...@gmail.com>
Authored: Mon Jul 2 23:07:23 2018 +0530
Committer: Abhishek Tiwari <ab...@gmail.com>
Committed: Mon Jul 2 23:07:23 2018 +0530

----------------------------------------------------------------------
 bin/gobblin-cluster-master.sh                     | 17 +++++++++++++++++
 bin/gobblin-cluster-worker.sh                     | 17 +++++++++++++++++
 bin/gobblin-service.sh                            | 17 +++++++++++++++++
 gobblin-aws/src/test/resources/masterCloudInit.sh | 16 ++++++++++++++++
 gobblin-aws/src/test/resources/workerCloudInit.sh | 16 ++++++++++++++++
 5 files changed, 83 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/f543a39a/bin/gobblin-cluster-master.sh
----------------------------------------------------------------------
diff --git a/bin/gobblin-cluster-master.sh b/bin/gobblin-cluster-master.sh
index cd196d9..131c1cc 100755
--- a/bin/gobblin-cluster-master.sh
+++ b/bin/gobblin-cluster-master.sh
@@ -1,5 +1,22 @@
 #!/usr/bin/env bash
 
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
 # Print an error message and exit
 function die() {
   echo -e "\nError: $@\n" 1>&2

http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/f543a39a/bin/gobblin-cluster-worker.sh
----------------------------------------------------------------------
diff --git a/bin/gobblin-cluster-worker.sh b/bin/gobblin-cluster-worker.sh
index 000a67d..80ed67a 100755
--- a/bin/gobblin-cluster-worker.sh
+++ b/bin/gobblin-cluster-worker.sh
@@ -1,5 +1,22 @@
 #!/usr/bin/env bash
 
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
 # Print an error message and exit
 function die() {
   echo -e "\nError: $@\n" 1>&2

http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/f543a39a/bin/gobblin-service.sh
----------------------------------------------------------------------
diff --git a/bin/gobblin-service.sh b/bin/gobblin-service.sh
index 67b6cee..9df7b67 100644
--- a/bin/gobblin-service.sh
+++ b/bin/gobblin-service.sh
@@ -1,5 +1,22 @@
 #!/usr/bin/env bash
 
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
 # Print an error message and exit
 function die() {
   echo -e "\nError: $@\n" 1>&2

http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/f543a39a/gobblin-aws/src/test/resources/masterCloudInit.sh
----------------------------------------------------------------------
diff --git a/gobblin-aws/src/test/resources/masterCloudInit.sh b/gobblin-aws/src/test/resources/masterCloudInit.sh
index 3284461..fd906e7 100644
--- a/gobblin-aws/src/test/resources/masterCloudInit.sh
+++ b/gobblin-aws/src/test/resources/masterCloudInit.sh
@@ -1,4 +1,20 @@
 #!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 mkdir -p /home/ec2-user/cluster/1
 yum install nfs-utils nfs-utils-lib
 echo '/home/ec2-user/cluster *(rw,sync,no_subtree_check,fsid=1,no_root_squash)' | tee --append /etc/exports

http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/f543a39a/gobblin-aws/src/test/resources/workerCloudInit.sh
----------------------------------------------------------------------
diff --git a/gobblin-aws/src/test/resources/workerCloudInit.sh b/gobblin-aws/src/test/resources/workerCloudInit.sh
index eca9be4..de3a342 100644
--- a/gobblin-aws/src/test/resources/workerCloudInit.sh
+++ b/gobblin-aws/src/test/resources/workerCloudInit.sh
@@ -1,4 +1,20 @@
 #!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 mkdir -p /home/ec2-user/cluster
 mount -t nfs4 0.0.0.0:/home/ec2-user/cluster /home/ec2-user/cluster
 mkdir -p /home/ec2-user/cluster/log-dir/


[2/4] incubator-gobblin git commit: Disable md5 hash for releases, since Apache release policy has changed

Posted by ab...@apache.org.
Disable md5 hash for releases, since Apache release policy has changed


Project: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/commit/2d8a12a5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/tree/2d8a12a5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/diff/2d8a12a5

Branch: refs/heads/master
Commit: 2d8a12a5e6bfb41549b8b9795d8206d0fd001dd6
Parents: 702b839
Author: Abhishek Tiwari <ab...@gmail.com>
Authored: Mon Jul 2 22:54:54 2018 +0530
Committer: Abhishek Tiwari <ab...@gmail.com>
Committed: Mon Jul 2 22:54:54 2018 +0530

----------------------------------------------------------------------
 gobblin-distribution/build.gradle | 3 ++-
 gradle/scripts/release.gradle     | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/2d8a12a5/gobblin-distribution/build.gradle
----------------------------------------------------------------------
diff --git a/gobblin-distribution/build.gradle b/gobblin-distribution/build.gradle
index 6354e7d..3e548ad 100644
--- a/gobblin-distribution/build.gradle
+++ b/gobblin-distribution/build.gradle
@@ -74,7 +74,8 @@ task buildDistributionTar(type: Tar, overwrite: true) {
       into project.rootDir.path
 
       archiveName = "${baseName}-${project.version}.tar.gz"
-      ant.checksum file:"$buildDir.path/distributions/$archiveName", algorithm: "MD5", fileext: ".md5"
+      // Disable md5, since Apache release policy has changed
+      // ant.checksum file:"$buildDir.path/distributions/$archiveName", algorithm: "MD5", fileext: ".md5"
       ant.checksum file:"$buildDir.path/distributions/$archiveName", algorithm: "SHA-512", fileext: ".sha512"
     }
   }

http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/2d8a12a5/gradle/scripts/release.gradle
----------------------------------------------------------------------
diff --git a/gradle/scripts/release.gradle b/gradle/scripts/release.gradle
index 6598fad..f15a980 100644
--- a/gradle/scripts/release.gradle
+++ b/gradle/scripts/release.gradle
@@ -124,7 +124,8 @@ task sourceRelease(type: Tar, dependsOn: prepare_release_config) {
 
     archiveName = "${baseName}.tgz"
     doLast {
-        ant.checksum file:"$destinationDir/$archiveName", algorithm: "MD5", fileext: ".md5"
+        // Disable md5, since Apache release policy has changed
+        // ant.checksum file:"$destinationDir/$archiveName", algorithm: "MD5", fileext: ".md5"
         ant.checksum file:"$destinationDir/$archiveName", algorithm: "SHA-512", fileext: ".sha512"
     }
 }


[3/4] incubator-gobblin git commit: Add GLYPHICONS Halflings license reference in LICENSE file

Posted by ab...@apache.org.
Add GLYPHICONS Halflings license reference in LICENSE file


Project: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/commit/6bf7aff0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/tree/6bf7aff0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/diff/6bf7aff0

Branch: refs/heads/master
Commit: 6bf7aff01134eaa933c25f5e6cd913809d39e12a
Parents: 2d8a12a
Author: Abhishek Tiwari <ab...@gmail.com>
Authored: Mon Jul 2 23:05:24 2018 +0530
Committer: Abhishek Tiwari <ab...@gmail.com>
Committed: Mon Jul 2 23:05:24 2018 +0530

----------------------------------------------------------------------
 LICENSE | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/6bf7aff0/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index c90f26c..288241d 100644
--- a/LICENSE
+++ b/LICENSE
@@ -229,6 +229,37 @@ THE SOFTWARE.
 
 ----------------------------------------------------------------------------------------------------
 
+GLYPHICONS Halflings
+
+GLYPHICONS Halflings font is also released as an extension of Bootstrap
+www.getbootstrap.com for free and it is released under the same license as Bootstrap.
+Reference: https://glyphicons.com/license/
+(Bootstrap license below.)
+
+The MIT License (MIT)
+
+Copyright (c) 2011-2015 Twitter, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+----------------------------------------------------------------------------------------------------
+
 normalize.css
 
 The MIT License (MIT)