You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gearpump.apache.org by ma...@apache.org on 2017/04/26 03:08:52 UTC
[50/51] [partial] incubator-gearpump-site git commit: [GEARPUMP-299]
Update gearpump.apache.org page for 0.8.3 release
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/_config.yml
----------------------------------------------------------------------
diff --git a/_config.yml b/_config.yml
index c88e410..31ae875 100644
--- a/_config.yml
+++ b/_config.yml
@@ -12,6 +12,6 @@ kramdown:
input: GFM
# These allow the documentation to be updated with newer releases of Gearpump
-GEARPUMP_VERSION: 0.8.2
+GEARPUMP_VERSION: 0.8.3
SCALA_BINARY_VERSION: "2.11"
SCALA_VERSION: "2.11.8"
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/_layouts/global.html
----------------------------------------------------------------------
diff --git a/_layouts/global.html b/_layouts/global.html
index 59f9b6a..fcf0e30 100644
--- a/_layouts/global.html
+++ b/_layouts/global.html
@@ -112,7 +112,7 @@
<footer class="navbar navbar-default navbar-fixed-bottom">
<div class="container text-center" style="padding: 14px 0 10px 0; line-height: 150%">
<p class="text-muted">
- Copyright � 2016 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
+ Copyright � 2017 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
All Rights Reserved.<br/>
Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
</p>
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/build_doc_new.sh
----------------------------------------------------------------------
diff --git a/build_doc_new.sh b/build_doc_new.sh
new file mode 100755
index 0000000..a8903ce
--- /dev/null
+++ b/build_doc_new.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# generate _site documents
+jekyll build
+
+# check html link validality
+htmlproofer content \
+ --disable-external \
+ --url-ignore \#,./../releases/latest/index.html,../../../../releases/latest/index.html
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/content/2015/12/29/0.7.1_release.html
----------------------------------------------------------------------
diff --git a/content/2015/12/29/0.7.1_release.html b/content/2015/12/29/0.7.1_release.html
new file mode 100644
index 0000000..e776f9a
--- /dev/null
+++ b/content/2015/12/29/0.7.1_release.html
@@ -0,0 +1,156 @@
+<!DOCTYPE html>
+<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
+<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
+<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/>
+ <title>Apache Gearpump (Incubating): 0.7.1_release</title>
+
+
+
+
+
+
+ <link rel="stylesheet" href="../../../css/bootstrap-3.3.5.min.css">
+ <style>
+ body {
+ padding-top: 60px;
+ padding-bottom: 40px;
+ }
+ </style>
+ <link rel="stylesheet" href="../../../css/main.css">
+ <link rel="stylesheet" href="css/pygments-default.css">
+ <script src="../../../js/vendor/modernizr-2.6.1-respond-1.1.0.min.js"></script>
+</head>
+<body>
+ <!--[if lt IE 7]>
+ <p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p>l
+ <![endif]-->
+
+ <div class="navbar navbar-inverse navbar-fixed-top" id="topbar">
+ <div class="container">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="/">Apache Gearpump (incubating)</a>
+ </div>
+ <div id="navbar" class="collapse navbar-collapse">
+ <ul class="nav navbar-nav">
+ <li><a href="overview.html">Overview</a></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Docs<b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="releases/latest/index.html">Latest Release (0.8.3)</a></li>
+ <li><a href="usecases.html">Use Cases</a></li>
+ <li class="divider"></li>
+ <li><a href="publications.html">Publications</a></li>
+ </ul>
+ </li>
+ <li><a href="downloads.html">Downloads</a></li>
+ <li><a href="faq.html">FAQ</a></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Community<b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li class="dropdown-header">Community</li>
+ <li><a href="community.html#mailing-lists">Mailing Lists</a></li>
+ <li><a href="community.html#issue-tracker">Issue Tracker</a></li>
+ <li><a href="community.html#source-code-repositories">Source Code Repositories</a></li>
+ <li><a href="community.html#who-we-are">Who We Are</a></li>
+ <li><a href="https://twitter.com/ApacheGearpump" target="_blank">Follow us on Twitter</a></li>
+ <li class="divider"></li>
+ <li class="dropdown-header">Contribute</li>
+ <li><a href="how-to-contribute.html">How to Contribute</a></li>
+ <li><a href="coding-style.html">Coding Style</a></li>
+ </ul>
+ </li>
+ </ul>
+
+ <ul class="nav navbar-nav">
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">ASF<b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="license.html">License</a></li>
+ <li><a href="//apache.org/foundation/how-it-works.html" target="_blank">How Apache Works</a></li>
+ <li><a href="//apache.org/foundation" target="_blank">Foundation</a></li>
+ <li><a href="//www.apache.org/foundation/sponsorship.html" target="_blank">Sponsoring Apache</a></li>
+ </ul>
+ </li>
+ </ul>
+
+<a class="ribbon hidden-xs" href="//github.com/apache/incubator-gearpump"><img src="img/forkme_right_red_aa0000.png" alt="Fork me on GitHub"/></a>
+
+ </div>
+ </div>
+ </div>
+
+ <div class="container" id="content" style="margin-bottom: 50px">
+
+ <h1 class="title">0.7.1_release</h1>
+
+
+ <h2 id="gearpump-071-highlights">Gearpump 0.7.1 highlights</h2>
+
+<h3 id="new-ui-experience">new UI experience</h3>
+<p>Now the frontend UI can safely support applications with tens of thousands to tasks.</p>
+
+<h3 id="akka-stream-10-experimental-module">Akka-stream 1.0 experimental module</h3>
+<p>We added a experiment module, which use Akka-stream 1.0 DSL to express big data streaming problems.</p>
+
+<h3 id="new-yarn-module">new YARN module</h3>
+<p>With new YARN module, user are allowed to add new machines into Gearpump cluster.</p>
+
+ </div> <!-- /container -->
+
+ <footer class="navbar navbar-default navbar-fixed-bottom">
+ <div class="container text-center" style="padding: 14px 0 10px 0; line-height: 150%">
+ <p class="text-muted">
+ Copyright � 2017 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
+ All Rights Reserved.<br/>
+ Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
+ </p>
+ </div>
+ </footer>
+
+ <script src="js/vendor/jquery-2.1.4.min.js"></script>
+ <script src="js/vendor/bootstrap-3.3.5.min.js"></script>
+ <script src="js/vendor/anchor-1.1.1.min.js"></script>
+ <script src="js/main.js"></script>
+
+ <!-- MathJax Section -->
+ <script type="text/x-mathjax-config">
+ MathJax.Hub.Config({
+ TeX: { equationNumbers: { autoNumber: "AMS" } }
+ });
+ </script>
+ <script>
+ // Note that we load MathJax this way to work with local file (file://), HTTP and HTTPS.
+ // We could use "//cdn.mathjax...", but that won't support "file://".
+ (function(d, script) {
+ script = d.createElement('script');
+ script.type = 'text/javascript';
+ script.async = true;
+ script.onload = function(){
+ MathJax.Hub.Config({
+ tex2jax: {
+ inlineMath: [ ["$", "$"], ["\\\\(","\\\\)"] ],
+ displayMath: [ ["$$","$$"], ["\\[", "\\]"] ],
+ processEscapes: true,
+ skipTags: ['script', 'noscript', 'style', 'textarea', 'pre']
+ }
+ });
+ };
+ script.src = ('https:' == document.location.protocol ? 'https://' : 'http://') +
+ 'cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML';
+ d.getElementsByTagName('head')[0].appendChild(script);
+ }(document));
+ </script>
+</body>
+</html>
+
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/content/README.md
----------------------------------------------------------------------
diff --git a/content/README.md b/content/README.md
index 3c91764..ace740f 100644
--- a/content/README.md
+++ b/content/README.md
@@ -10,7 +10,6 @@ Jekyll, you need to install the software as follows:
For redhat linux systems:
`sudo yum install ruby ruby-devel nodejs python-pip`
-
`sudo gem install jekyll`
`sudo gem install kramdown`
`sudo gem install html-proofer`
@@ -73,3 +72,4 @@ automatically generated for each page.
Please stick to the "logical order" when using the headlines, e.g. start with level-2 headings and
use level-3 headings for subsections, etc. Don't use a different ordering, because you don't like
how a headline looks.
+
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/content/blogs.html
----------------------------------------------------------------------
diff --git a/content/blogs.html b/content/blogs.html
index 9e07b10..d0a485d 100644
--- a/content/blogs.html
+++ b/content/blogs.html
@@ -47,7 +47,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Docs<b class="caret"></b></a>
<ul class="dropdown-menu">
- <li><a href="releases/latest/index.html">Latest Release (0.8.2)</a></li>
+ <li><a href="releases/latest/index.html">Latest Release (0.8.3)</a></li>
<li><a href="usecases.html">Use Cases</a></li>
<li class="divider"></li>
<li><a href="publications.html">Publications</a></li>
@@ -108,7 +108,7 @@
<footer class="navbar navbar-default navbar-fixed-bottom">
<div class="container text-center" style="padding: 14px 0 10px 0; line-height: 150%">
<p class="text-muted">
- Copyright � 2016 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
+ Copyright � 2017 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
All Rights Reserved.<br/>
Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
</p>
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/content/build_doc_new.sh
----------------------------------------------------------------------
diff --git a/content/build_doc_new.sh b/content/build_doc_new.sh
new file mode 100755
index 0000000..a8903ce
--- /dev/null
+++ b/content/build_doc_new.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# generate _site documents
+jekyll build
+
+# check html link validality
+htmlproofer content \
+ --disable-external \
+ --url-ignore \#,./../releases/latest/index.html,../../../../releases/latest/index.html
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/content/coding-style.html
----------------------------------------------------------------------
diff --git a/content/coding-style.html b/content/coding-style.html
index 83257a3..f97f478 100644
--- a/content/coding-style.html
+++ b/content/coding-style.html
@@ -47,7 +47,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Docs<b class="caret"></b></a>
<ul class="dropdown-menu">
- <li><a href="releases/latest/index.html">Latest Release (0.8.2)</a></li>
+ <li><a href="releases/latest/index.html">Latest Release (0.8.3)</a></li>
<li><a href="usecases.html">Use Cases</a></li>
<li class="divider"></li>
<li><a href="publications.html">Publications</a></li>
@@ -108,7 +108,7 @@
<footer class="navbar navbar-default navbar-fixed-bottom">
<div class="container text-center" style="padding: 14px 0 10px 0; line-height: 150%">
<p class="text-muted">
- Copyright � 2016 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
+ Copyright � 2017 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
All Rights Reserved.<br/>
Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
</p>
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/content/community.html
----------------------------------------------------------------------
diff --git a/content/community.html b/content/community.html
index 7582d29..6fa9ab2 100644
--- a/content/community.html
+++ b/content/community.html
@@ -47,7 +47,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Docs<b class="caret"></b></a>
<ul class="dropdown-menu">
- <li><a href="releases/latest/index.html">Latest Release (0.8.2)</a></li>
+ <li><a href="releases/latest/index.html">Latest Release (0.8.3)</a></li>
<li><a href="usecases.html">Use Cases</a></li>
<li class="divider"></li>
<li><a href="publications.html">Publications</a></li>
@@ -303,7 +303,7 @@
<footer class="navbar navbar-default navbar-fixed-bottom">
<div class="container text-center" style="padding: 14px 0 10px 0; line-height: 150%">
<p class="text-muted">
- Copyright � 2016 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
+ Copyright � 2017 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
All Rights Reserved.<br/>
Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
</p>
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/content/downloads.html
----------------------------------------------------------------------
diff --git a/content/downloads.html b/content/downloads.html
index d25bd39..b3aeac6 100644
--- a/content/downloads.html
+++ b/content/downloads.html
@@ -47,7 +47,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Docs<b class="caret"></b></a>
<ul class="dropdown-menu">
- <li><a href="releases/latest/index.html">Latest Release (0.8.2)</a></li>
+ <li><a href="releases/latest/index.html">Latest Release (0.8.3)</a></li>
<li><a href="usecases.html">Use Cases</a></li>
<li class="divider"></li>
<li><a href="publications.html">Publications</a></li>
@@ -97,12 +97,12 @@
<h2 id="downloads">Downloads</h2>
-<h3 id="current-082-release-v082">Current 0.8.2 Release (v0.8.2)</h3>
+<h3 id="current-083-release-v083">Current 0.8.3 Release (v0.8.3)</h3>
-<p><a href="https://git-wip-us.apache.org/repos/asf?p=incubator-gearpump.git;a=blob;f=CHANGELOG.md;h=24df95951fa2f5aee49d3a5c973b92ce28214bf1;hb=refs/tags/0.8.2">Release Notes</a></p>
+<p><a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12319920&version=12338681">Release Notes</a></p>
<ul>
- <li><a href="https://dist.apache.org/repos/dist/release/incubator/gearpump/0.8.2-incubating/">The source and binary tarballs, including signatures, digests, etc.</a></li>
+ <li><a href="https://dist.apache.org/repos/dist/release/incubator/gearpump/0.8.3-incubating/">The source and binary tarballs, including signatures, digests, etc.</a></li>
</ul>
<p><em>Note that as we have upgraded the Akka library to 2.4.x, which has dropped the Scala 2.10 support, we do NOT provide Gearpump build for Scala 2.10 since Gearpump 0.8.0.</em></p>
@@ -115,12 +115,12 @@
<span class="nt"><dependency></span>
<span class="nt"><groupId></span>org.apache.gearpump<span class="nt"></groupId></span>
<span class="nt"><artifactId></span>gearpump-core_2.11<span class="nt"></artifactId></span>
- <span class="nt"><version></span>0.8.2<span class="nt"></version></span>
+ <span class="nt"><version></span>0.8.3<span class="nt"></version></span>
<span class="nt"></dependency></span>
<span class="nt"><dependency></span>
<span class="nt"><groupId></span>org.apache.gearpump<span class="nt"></groupId></span>
<span class="nt"><artifactId></span>gearpump-streaming_2.11<span class="nt"></artifactId></span>
- <span class="nt"><version></span>0.8.2<span class="nt"></version></span>
+ <span class="nt"><version></span>0.8.3<span class="nt"></version></span>
<span class="nt"></dependency></span>
<span class="nt"></dependencies></span></code></pre></figure>
@@ -165,7 +165,7 @@
<footer class="navbar navbar-default navbar-fixed-bottom">
<div class="container text-center" style="padding: 14px 0 10px 0; line-height: 150%">
<p class="text-muted">
- Copyright � 2016 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
+ Copyright � 2017 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
All Rights Reserved.<br/>
Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
</p>
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/content/faq.html
----------------------------------------------------------------------
diff --git a/content/faq.html b/content/faq.html
index d057320..5c7a295 100644
--- a/content/faq.html
+++ b/content/faq.html
@@ -47,7 +47,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Docs<b class="caret"></b></a>
<ul class="dropdown-menu">
- <li><a href="releases/latest/index.html">Latest Release (0.8.2)</a></li>
+ <li><a href="releases/latest/index.html">Latest Release (0.8.3)</a></li>
<li><a href="usecases.html">Use Cases</a></li>
<li class="divider"></li>
<li><a href="publications.html">Publications</a></li>
@@ -183,7 +183,7 @@
<footer class="navbar navbar-default navbar-fixed-bottom">
<div class="container text-center" style="padding: 14px 0 10px 0; line-height: 150%">
<p class="text-muted">
- Copyright � 2016 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
+ Copyright � 2017 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
All Rights Reserved.<br/>
Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
</p>
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/content/features.html
----------------------------------------------------------------------
diff --git a/content/features.html b/content/features.html
index 1b2511a..e8c821b 100644
--- a/content/features.html
+++ b/content/features.html
@@ -49,7 +49,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Docs<b class="caret"></b></a>
<ul class="dropdown-menu">
- <li><a href="releases/latest/index.html">Latest Release (0.8.2)</a></li>
+ <li><a href="releases/latest/index.html">Latest Release (0.8.3)</a></li>
<li><a href="usecases.html">Use Cases</a></li>
<li class="divider"></li>
<li><a href="publications.html">Publications</a></li>
@@ -170,7 +170,7 @@
<footer class="navbar navbar-default navbar-fixed-bottom">
<div class="container text-center" style="padding: 14px 0 10px 0; line-height: 150%">
<p class="text-muted">
- Copyright � 2016 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
+ Copyright � 2017 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
All Rights Reserved.<br/>
Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
</p>
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/content/how-to-contribute.html
----------------------------------------------------------------------
diff --git a/content/how-to-contribute.html b/content/how-to-contribute.html
index c8e8aa6..de98cf5 100644
--- a/content/how-to-contribute.html
+++ b/content/how-to-contribute.html
@@ -47,7 +47,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Docs<b class="caret"></b></a>
<ul class="dropdown-menu">
- <li><a href="releases/latest/index.html">Latest Release (0.8.2)</a></li>
+ <li><a href="releases/latest/index.html">Latest Release (0.8.3)</a></li>
<li><a href="usecases.html">Use Cases</a></li>
<li class="divider"></li>
<li><a href="publications.html">Publications</a></li>
@@ -163,7 +163,7 @@ Gearpump\u2019s documentation is written in Markdown and located in the <code>docs<
<footer class="navbar navbar-default navbar-fixed-bottom">
<div class="container text-center" style="padding: 14px 0 10px 0; line-height: 150%">
<p class="text-muted">
- Copyright � 2016 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
+ Copyright � 2017 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
All Rights Reserved.<br/>
Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
</p>
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/content/license.html
----------------------------------------------------------------------
diff --git a/content/license.html b/content/license.html
index c0c1dfb..72f74e5 100644
--- a/content/license.html
+++ b/content/license.html
@@ -47,7 +47,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Docs<b class="caret"></b></a>
<ul class="dropdown-menu">
- <li><a href="releases/latest/index.html">Latest Release (0.8.2)</a></li>
+ <li><a href="releases/latest/index.html">Latest Release (0.8.3)</a></li>
<li><a href="usecases.html">Use Cases</a></li>
<li class="divider"></li>
<li><a href="publications.html">Publications</a></li>
@@ -308,7 +308,7 @@
<footer class="navbar navbar-default navbar-fixed-bottom">
<div class="container text-center" style="padding: 14px 0 10px 0; line-height: 150%">
<p class="text-muted">
- Copyright � 2016 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
+ Copyright � 2017 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
All Rights Reserved.<br/>
Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
</p>
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/content/merge_gearpump_pr.py
----------------------------------------------------------------------
diff --git a/content/merge_gearpump_pr.py b/content/merge_gearpump_pr.py
new file mode 100755
index 0000000..9684692
--- /dev/null
+++ b/content/merge_gearpump_pr.py
@@ -0,0 +1,378 @@
+#!/usr/bin/env python
+
+#
+# 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.
+#
+
+# Modifed from the script written by the Apache Spark team:
+# https://github.com/apache/spark/blob/master/dev/merge_spark_pr.py
+
+# Utility for creating well-formed pull request merges and pushing them to Apache.
+# usage: ./merge_gearpump_pr.py (see config env vars below)
+#
+# This utility assumes you already have a local Gearpump git folder and that you
+# have added remotes corresponding to both
+# (i) the github apache Gearpump mirror
+# (ii) the apache git repo.
+
+import json
+import os
+import re
+import subprocess
+import sys
+import urllib2
+
+try:
+ import jira.client
+ JIRA_IMPORTED = True
+except ImportError:
+ JIRA_IMPORTED = False
+
+# Location of your Gearpump git development area
+GEARPUMP_HOME = os.environ.get("GEARPUMP_HOME", os.getcwd())
+# Remote name which points to git://github.com/apache/incubator-gearpump
+PR_REMOTE_NAME = os.environ.get("PR_REMOTE_NAME", "apache-github")
+# Remote name which points to https://git-wip-us.apache.org/repos/asf/incubator-gearpump.git
+PUSH_REMOTE_NAME = os.environ.get("PUSH_REMOTE_NAME", "apache")
+# ASF JIRA username
+JIRA_USERNAME = os.environ.get("JIRA_USERNAME", "mauzhang")
+# ASF JIRA password
+JIRA_PASSWORD = os.environ.get("JIRA_PASSWORD", "jira$1024")
+
+
+GITHUB_BASE = "https://github.com/apache/incubator-gearpump-site/pull"
+GITHUB_API_BASE = "https://api.github.com/repos/apache/incubator-gearpump-site"
+JIRA_BASE = "https://issues.apache.org/jira/browse"
+JIRA_API_BASE = "https://issues.apache.org/jira"
+# Prefix added to temporary branches
+BRANCH_PREFIX = "PR_TOOL"
+
+
+def get_json(url):
+ try:
+ return json.load(urllib2.urlopen(url))
+ except urllib2.HTTPError as e:
+ print "Unable to fetch URL, exiting: %s" % url
+ sys.exit(-1)
+
+
+def fail(msg):
+ print msg
+ clean_up()
+ sys.exit(-1)
+
+
+def run_cmd(cmd):
+ print cmd
+ if isinstance(cmd, list):
+ return subprocess.check_output(cmd)
+ else:
+ return subprocess.check_output(cmd.split(" "))
+
+
+def continue_maybe(prompt):
+ result = raw_input("\n%s (y/n): " % prompt)
+ if result.lower() != "y":
+ fail("Okay, exiting")
+
+def clean_up():
+ print "Restoring head pointer to %s" % original_head
+ run_cmd("git checkout %s" % original_head)
+
+ branches = run_cmd("git branch").replace(" ", "").split("\n")
+
+ for branch in filter(lambda x: x.startswith(BRANCH_PREFIX), branches):
+ print "Deleting local branch %s" % branch
+ run_cmd("git branch -D %s" % branch)
+
+
+# merge the requested PR and return the merge hash
+def merge_pr(pr_num, target_ref, title, body, pr_repo_desc):
+ pr_branch_name = "%s_MERGE_PR_%s" % (BRANCH_PREFIX, pr_num)
+ target_branch_name = "%s_MERGE_PR_%s_%s" % (BRANCH_PREFIX, pr_num, target_ref.upper())
+ run_cmd("git fetch %s pull/%s/head:%s" % (PR_REMOTE_NAME, pr_num, pr_branch_name))
+ run_cmd("git fetch %s %s:%s" % (PUSH_REMOTE_NAME, target_ref, target_branch_name))
+ run_cmd("git checkout %s" % target_branch_name)
+
+ had_conflicts = False
+ try:
+ run_cmd(['git', 'merge', pr_branch_name, '--squash'])
+ except Exception as e:
+ msg = "Error merging: %s\nWould you like to manually fix-up this merge?" % e
+ continue_maybe(msg)
+ msg = "Okay, please fix any conflicts and 'git add' conflicting files... Finished?"
+ continue_maybe(msg)
+ had_conflicts = True
+
+ commit_authors = run_cmd(['git', 'log', 'HEAD..%s' % pr_branch_name,
+ '--pretty=format:%an <%ae>']).split("\n")
+ distinct_authors = sorted(set(commit_authors),
+ key=lambda x: commit_authors.count(x), reverse=True)
+
+ primary_author = distinct_authors[0]
+
+ commits = run_cmd(['git', 'log', 'HEAD..%s' % pr_branch_name,
+ '--pretty=format:%h [%an] %s']).split("\n\n")
+
+ merge_message_flags = []
+
+ merge_message_flags += ["-m", title]
+ if body is not None:
+ # We remove @ symbols from the body to avoid triggering e-mails
+ # to people every time someone creates a public fork of Gearpump.
+ merge_message_flags += ["-m", body.replace("@", "")]
+
+ authors = "\n".join(["Author: %s" % a for a in distinct_authors])
+
+ merge_message_flags += ["-m", authors]
+
+ if had_conflicts:
+ committer_name = run_cmd("git config --get user.name").strip()
+ committer_email = run_cmd("git config --get user.email").strip()
+ message = "This patch had conflicts when merged, resolved by\nCommitter: %s <%s>" % (
+ committer_name, committer_email)
+ merge_message_flags += ["-m", message]
+
+ # The string "Closes #%s" string is required for GitHub to correctly close the PR
+ merge_message_flags += ["-m", "Closes #%s from %s." % (pr_num, pr_repo_desc)]
+
+ run_cmd(['git', 'commit', '--author="%s"' % primary_author] + merge_message_flags)
+
+ continue_maybe("Merge complete (local ref %s). Push to %s?" % (
+ target_branch_name, PUSH_REMOTE_NAME))
+
+ try:
+ run_cmd('git push %s %s:%s' % (PUSH_REMOTE_NAME, target_branch_name, target_ref))
+ except Exception as e:
+ clean_up()
+ fail("Exception while pushing: %s" % e)
+
+ merge_hash = run_cmd("git rev-parse %s" % target_branch_name)[:8]
+ clean_up()
+ print("Pull request #%s merged!" % pr_num)
+ print("Merge hash: %s" % merge_hash)
+ return merge_hash
+
+
+def cherry_pick(pr_num, merge_hash, default_branch):
+ pick_ref = raw_input("Enter a branch name [%s]: " % default_branch)
+ if pick_ref == "":
+ pick_ref = default_branch
+
+ pick_branch_name = "%s_PICK_PR_%s_%s" % (BRANCH_PREFIX, pr_num, pick_ref.upper())
+
+ run_cmd("git fetch %s %s:%s" % (PUSH_REMOTE_NAME, pick_ref, pick_branch_name))
+ run_cmd("git checkout %s" % pick_branch_name)
+
+ try:
+ run_cmd("git cherry-pick -sx %s" % merge_hash)
+ except Exception as e:
+ msg = "Error cherry-picking: %s\nWould you like to manually fix-up this merge?" % e
+ continue_maybe(msg)
+ msg = "Okay, please fix any conflicts and finish the cherry-pick. Finished?"
+ continue_maybe(msg)
+
+ continue_maybe("Pick complete (local ref %s). Push to %s?" % (
+ pick_branch_name, PUSH_REMOTE_NAME))
+
+ try:
+ run_cmd('git push %s %s:%s' % (PUSH_REMOTE_NAME, pick_branch_name, pick_ref))
+ except Exception as e:
+ clean_up()
+ fail("Exception while pushing: %s" % e)
+
+ pick_hash = run_cmd("git rev-parse %s" % pick_branch_name)[:8]
+ clean_up()
+
+ print("Pull request #%s picked into %s!" % (pr_num, pick_ref))
+ print("Pick hash: %s" % pick_hash)
+ return pick_ref
+
+
+def fix_version_from_branch(branch, versions):
+ # Note: Assumes this is a sorted (newest->oldest) list of un-released versions
+ if branch == "master":
+ return versions[0]
+ else:
+ branch_ver = branch.replace("branch-", "")
+ return filter(lambda x: x.name.startswith(branch_ver), versions)[-1]
+
+
+def resolve_jira_issue(merge_branches, comment, default_jira_id=""):
+ asf_jira = jira.client.JIRA({'server': JIRA_API_BASE},
+ basic_auth=(JIRA_USERNAME, JIRA_PASSWORD))
+
+ jira_id = raw_input("Enter a JIRA id [%s]: " % default_jira_id)
+ if jira_id == "":
+ jira_id = default_jira_id
+
+ try:
+ issue = asf_jira.issue(jira_id)
+ except Exception as e:
+ fail("ASF JIRA could not find %s\n%s" % (jira_id, e))
+
+ cur_status = issue.fields.status.name
+ cur_summary = issue.fields.summary
+ cur_assignee = issue.fields.assignee
+ if cur_assignee is None:
+ cur_assignee = "NOT ASSIGNED!!!"
+ else:
+ cur_assignee = cur_assignee.displayName
+
+ if cur_status == "Resolved" or cur_status == "Closed":
+ fail("JIRA issue %s already has status '%s'" % (jira_id, cur_status))
+ print ("=== JIRA %s ===" % jira_id)
+ print ("summary\t\t%s\nassignee\t%s\nstatus\t\t%s\nurl\t\t%s/%s\n" % (
+ cur_summary, cur_assignee, cur_status, JIRA_BASE, jira_id))
+
+ versions = asf_jira.project_versions("GEARPUMP")
+ versions = sorted(versions, key=lambda x: x.name, reverse=True)
+ versions = filter(lambda x: x.raw['released'] is False, versions)
+ # Consider only x.y.z versions
+ versions = filter(lambda x: re.match('\d+\.\d+\.\d+', x.name), versions)
+
+ default_fix_versions = map(lambda x: fix_version_from_branch(x, versions).name, merge_branches)
+ for v in default_fix_versions:
+ # Handles the case where we have forked a release branch but not yet made the release.
+ # In this case, if the PR is committed to the master branch and the release branch, we
+ # only consider the release branch to be the fix version. E.g. it is not valid to have
+ # both 1.1.0 and 1.0.0 as fix versions.
+ (major, minor, patch) = v.split(".")
+ if patch == "0":
+ previous = "%s.%s.%s" % (major, int(minor) - 1, 0)
+ if previous in default_fix_versions:
+ default_fix_versions = filter(lambda x: x != v, default_fix_versions)
+ default_fix_versions = ",".join(default_fix_versions)
+
+ fix_versions = raw_input("Enter comma-separated fix version(s) [%s]: " % default_fix_versions)
+ if fix_versions == "":
+ fix_versions = default_fix_versions
+ fix_versions = fix_versions.replace(" ", "").split(",")
+
+ def get_version_json(version_str):
+ return filter(lambda v: v.name == version_str, versions)[0].raw
+
+ jira_fix_versions = map(lambda v: get_version_json(v), fix_versions)
+
+ resolve = filter(lambda a: a['name'] == "Resolve Issue", asf_jira.transitions(jira_id))[0]
+ resolution = filter(lambda r: r.raw['name'] == "Fixed", asf_jira.resolutions())[0]
+ asf_jira.transition_issue(
+ jira_id, resolve["id"], fixVersions = jira_fix_versions,
+ comment = comment, resolution = {'id': resolution.raw['id']})
+
+ print "Successfully resolved %s with fixVersions=%s!" % (jira_id, fix_versions)
+
+
+def resolve_jira_issues(title, merge_branches, comment):
+ jira_ids = re.findall("GEARPUMP-[0-9]+", title)
+
+ if len(jira_ids) == 0:
+ resolve_jira_issue(merge_branches, comment)
+ for jira_id in jira_ids:
+ resolve_jira_issue(merge_branches, comment, jira_id)
+
+def get_current_ref():
+ ref = run_cmd("git rev-parse --abbrev-ref HEAD").strip()
+ if ref == 'HEAD':
+ # The current ref is a detached HEAD, so grab its SHA.
+ return run_cmd("git rev-parse HEAD").strip()
+ else:
+ return ref
+
+
+def main():
+ global original_head
+
+ os.chdir(GEARPUMP_HOME)
+ original_head = get_current_ref()
+
+ branches = get_json("%s/branches" % GITHUB_API_BASE)
+ branch_names = filter(lambda x: True, [x['name'] for x in branches])
+ # Assumes branch names can be sorted lexicographically
+ latest_branch = sorted(branch_names, reverse=True)[0]
+
+ pr_num = raw_input("Which pull request would you like to merge? (e.g. 34): ")
+ pr = get_json("%s/pulls/%s" % (GITHUB_API_BASE, pr_num))
+ pr_events = get_json("%s/issues/%s/events" % (GITHUB_API_BASE, pr_num))
+
+ url = pr["url"]
+
+ title = pr["title"]
+ body = pr["body"]
+ target_ref = pr["base"]["ref"]
+ user_login = pr["user"]["login"]
+ base_ref = pr["head"]["ref"]
+ pr_repo_desc = "%s/%s" % (user_login, base_ref)
+
+ # Merged pull requests don't appear as merged in the GitHub API;
+ # Instead, they're closed by asfgit.
+ merge_commits = \
+ [e for e in pr_events if e["actor"]["login"] == "asfgit" and e["event"] == "closed"]
+
+ if merge_commits:
+ merge_hash = merge_commits[0]["commit_id"]
+ message = get_json("%s/commits/%s" % (GITHUB_API_BASE, merge_hash))["commit"]["message"]
+
+ print "Pull request %s has already been merged, assuming you want to backport" % pr_num
+ commit_is_downloaded = run_cmd(['git', 'rev-parse', '--quiet', '--verify',
+ "%s^{commit}" % merge_hash]).strip() != ""
+ if not commit_is_downloaded:
+ fail("Couldn't find any merge commit for #%s, you may need to update HEAD." % pr_num)
+
+ print "Found commit %s:\n%s" % (merge_hash, message)
+ cherry_pick(pr_num, merge_hash, latest_branch)
+ sys.exit(0)
+
+ if not bool(pr["mergeable"]):
+ msg = "Pull request %s is not mergeable in its current form.\n" % pr_num + \
+ "Continue? (experts only!)"
+ continue_maybe(msg)
+
+ print ("\n=== Pull Request #%s ===" % pr_num)
+ print ("title\t%s\nsource\t%s\ntarget\t%s\nurl\t%s" % (
+ title, pr_repo_desc, target_ref, url))
+ continue_maybe("Proceed with merging pull request #%s?" % pr_num)
+
+ merged_refs = [target_ref]
+
+ merge_hash = merge_pr(pr_num, target_ref, title, body, pr_repo_desc)
+
+ pick_prompt = "Would you like to pick %s into another branch?" % merge_hash
+ while raw_input("\n%s (y/n): " % pick_prompt).lower() == "y":
+ merged_refs = merged_refs + [cherry_pick(pr_num, merge_hash, latest_branch)]
+
+ if JIRA_IMPORTED:
+ if JIRA_USERNAME and JIRA_PASSWORD:
+ continue_maybe("Would you like to update an associated JIRA?")
+ jira_comment = "Issue resolved by pull request %s\n[%s/%s]" % (pr_num, GITHUB_BASE, pr_num)
+ resolve_jira_issues(title, merged_refs, jira_comment)
+ else:
+ print "JIRA_USERNAME and JIRA_PASSWORD not set"
+ print "Exiting without trying to close the associated JIRA."
+ else:
+ print "Could not find jira-python library. Run 'sudo pip install jira' to install."
+ print "Exiting without trying to close the associated JIRA."
+
+if __name__ == "__main__":
+ import doctest
+ (failure_count, test_count) = doctest.testmod()
+ if failure_count:
+ exit(-1)
+ try:
+ main()
+ except:
+ clean_up()
+ raise
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/content/overview.html
----------------------------------------------------------------------
diff --git a/content/overview.html b/content/overview.html
index ea60ae5..6504903 100644
--- a/content/overview.html
+++ b/content/overview.html
@@ -9,7 +9,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/>
<title>Apache Gearpump (Incubating): Overview</title>
- <meta name="description" content="Apache Gearpump 0.8.2 documentation homepage">
+ <meta name="description" content="Apache Gearpump 0.8.3 documentation homepage">
@@ -49,7 +49,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Docs<b class="caret"></b></a>
<ul class="dropdown-menu">
- <li><a href="releases/latest/index.html">Latest Release (0.8.2)</a></li>
+ <li><a href="releases/latest/index.html">Latest Release (0.8.3)</a></li>
<li><a href="usecases.html">Use Cases</a></li>
<li class="divider"></li>
<li><a href="publications.html">Publications</a></li>
@@ -98,7 +98,7 @@
<p><img src="/favicon.ico" alt="gearpump-logo" />
-<a href="https://dist.apache.org/repos/dist/release/incubator/gearpump/0.8.2-incubating/"><img src="https://img.shields.io/badge/Latest%20Release-v0.8.2-blue.svg" alt="Release" /></a></p>
+<a href="https://dist.apache.org/repos/dist/release/incubator/gearpump/0.8.2-incubating/"><img src="https://img.shields.io/badge/Latest%20Release-v0.8.3-blue.svg" alt="Release" /></a></p>
<p><strong>Apache Gearpump</strong> is a real-time big data streaming engine. The name Gearpump is a reference to the engineering term “gear pump” which is a super simple pump that consists of only two gears, but is very powerful at streaming water. Different to other streaming engines, Gearpump’s engine is event/message based. Per initial benchmarks we are able to process 18 million messages per second (message length is 100 bytes) with a 8ms latency on a 4-node cluster.</p>
@@ -133,7 +133,7 @@
<footer class="navbar navbar-default navbar-fixed-bottom">
<div class="container text-center" style="padding: 14px 0 10px 0; line-height: 150%">
<p class="text-muted">
- Copyright � 2016 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
+ Copyright � 2017 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
All Rights Reserved.<br/>
Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
</p>
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/content/performance-report.html
----------------------------------------------------------------------
diff --git a/content/performance-report.html b/content/performance-report.html
index 41ff471..a02d0c3 100644
--- a/content/performance-report.html
+++ b/content/performance-report.html
@@ -49,7 +49,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Docs<b class="caret"></b></a>
<ul class="dropdown-menu">
- <li><a href="releases/latest/index.html">Latest Release (0.8.2)</a></li>
+ <li><a href="releases/latest/index.html">Latest Release (0.8.3)</a></li>
<li><a href="usecases.html">Use Cases</a></li>
<li class="divider"></li>
<li><a href="publications.html">Publications</a></li>
@@ -136,7 +136,7 @@ Memory: 64GB</p>
<footer class="navbar navbar-default navbar-fixed-bottom">
<div class="container text-center" style="padding: 14px 0 10px 0; line-height: 150%">
<p class="text-muted">
- Copyright � 2016 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
+ Copyright � 2017 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
All Rights Reserved.<br/>
Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
</p>
http://git-wip-us.apache.org/repos/asf/incubator-gearpump-site/blob/ec689a85/content/publications.html
----------------------------------------------------------------------
diff --git a/content/publications.html b/content/publications.html
index 4eb4588..91a455a 100644
--- a/content/publications.html
+++ b/content/publications.html
@@ -47,7 +47,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Docs<b class="caret"></b></a>
<ul class="dropdown-menu">
- <li><a href="releases/latest/index.html">Latest Release (0.8.2)</a></li>
+ <li><a href="releases/latest/index.html">Latest Release (0.8.3)</a></li>
<li><a href="usecases.html">Use Cases</a></li>
<li class="divider"></li>
<li><a href="publications.html">Publications</a></li>
@@ -101,7 +101,7 @@
<h2 id="slides">Slides</h2>
-<h3 id="section">2016</h3>
+<h3 id="2016">2016</h3>
<p>Karol Brejna & Huafeng Wang: <a href="http://events.linuxfoundation.org/sites/events/files/slides/Apache%20Gearpump%20-%2016-9.pdf">Apache Gearpump Next-Gen Streaming Engine</a> at Apache Big Data Europe 2016.</p>
@@ -111,7 +111,7 @@
<p>Manu Zhang: <a href="http://www.slideshare.net/manuzhang/apache-gearpump-lightweight-runtime-streaming-engine">Apache Gearpump - Lightweight Real-time Streaming Engine</a> at 5th Nanjing Big Tech meetup.</p>
-<h3 id="section-1">2015</h3>
+<h3 id="2015">2015</h3>
<p>Sean Zhong: <a href="http://www.slideshare.net/SeanZhong/strata-singapore-gearpumpreal-time-dagprocessing-with-akka-at-scale">Gearpump, Real time DAG-Processing with Akka at Scale</a> at Strata+Hadoop World Singapore 2015.</p>
@@ -125,7 +125,7 @@
<footer class="navbar navbar-default navbar-fixed-bottom">
<div class="container text-center" style="padding: 14px 0 10px 0; line-height: 150%">
<p class="text-muted">
- Copyright � 2016 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
+ Copyright � 2017 <a href="//apache.org" target="_blank">The Apache Software Foundation</a>.
All Rights Reserved.<br/>
Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
</p>