Author: francischuang Date: Fri Apr 27 07:42:12 2018 New Revision: 1830306 URL: http://svn.apache.org/viewvc?rev=1830306&view=rev Log: Deploy avatica site for avatica-go 3.0.0 release take 2
Modified: calcite/site/avatica/community/index.html calcite/site/avatica/develop/index.html calcite/site/avatica/docs/client_reference.html calcite/site/avatica/docs/compatibility.html calcite/site/avatica/docs/custom_client_artifacts.html calcite/site/avatica/docs/docker.html calcite/site/avatica/docs/history.html calcite/site/avatica/docs/howto.html calcite/site/avatica/docs/index.html calcite/site/avatica/docs/json_reference.html calcite/site/avatica/docs/protobuf_reference.html calcite/site/avatica/docs/protocol_testing.html calcite/site/avatica/docs/roadmap.html calcite/site/avatica/docs/security.html calcite/site/avatica/downloads/index.html calcite/site/avatica/index.html calcite/site/avatica/news/2016/03/03/separate-project/index.html calcite/site/avatica/news/2016/03/18/release-1.7.1/index.html calcite/site/avatica/news/2016/06/04/release-1.8.0/index.html calcite/site/avatica/news/2016/11/01/release-1.9.0/index.html calcite/site/avatica/news/2017/03/31/new-avatica-repository/index.html calcite/site/avatica/news/2017/05/30/release-1.10.0/index.html calcite/site/avatica/news/2018/03/09/release-1.11.0/index.html calcite/site/avatica/news/index.html calcite/site/avatica/news/releases/index.html Modified: calcite/site/avatica/community/index.html URL: http://svn.apache.org/viewvc/calcite/site/avatica/community/index.html?rev=1830306&r1=1830305&r2=1830306&view=diff ============================================================================== --- calcite/site/avatica/community/index.html (original) +++ calcite/site/avatica/community/index.html Fri Apr 27 07:42:12 2018 @@ -1,10 +1,11 @@ <!DOCTYPE html> <html lang="en-US"> <meta charset="utf-8"> - <title>Redirectingâ¦</title> + <title>Redirecting…</title> <link rel="canonical" href="https://calcite.apache.org/community"> <meta http-equiv="refresh" content="0; url=https://calcite.apache.org/community"> - <h1>Redirectingâ¦</h1> + <meta name="robots" content="noindex"> + <h1>Redirecting…</h1> <a href="https://calcite.apache.org/community">Click here if you are not redirected.</a> <script>location="https://calcite.apache.org/community"</script> </html> Modified: calcite/site/avatica/develop/index.html URL: http://svn.apache.org/viewvc/calcite/site/avatica/develop/index.html?rev=1830306&r1=1830305&r2=1830306&view=diff ============================================================================== --- calcite/site/avatica/develop/index.html (original) +++ calcite/site/avatica/develop/index.html Fri Apr 27 07:42:12 2018 @@ -2,9 +2,9 @@ <html lang="en-US"> <head> <meta charset="UTF-8"> - <title>Developing Calcite</title> + <title>Developing Avatica Components</title> <meta name="viewport" content="width=device-width,initial-scale=1"> - <meta name="generator" content="Jekyll v3.5.1"> + <meta name="generator" content="Jekyll v3.7.3"> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900"> <link rel="stylesheet" href="/avatica/css/screen.css"> <link rel="icon" type="image/x-icon" href="/avatica/favicon.ico"> @@ -81,126 +81,33 @@ <div class="unit whole"> <article> - <h1>Developing Calcite</h1> + <h1>Developing Avatica Components</h1> <!-- --> <p>Want to help add a feature or fix a bug?</p> -<ul id="markdown-toc"> - <li><a href="#source-code" id="markdown-toc-source-code">Source code</a></li> - <li><a href="#download-source-build-and-run-tests" id="markdown-toc-download-source-build-and-run-tests">Download source, build, and run tests</a> <ul> - <li><a href="#disabling-protobuf-generation" id="markdown-toc-disabling-protobuf-generation">Disabling protobuf generation</a></li> - </ul> - </li> - <li><a href="#contributing" id="markdown-toc-contributing">Contributing</a></li> - <li><a href="#continuous-integration-testing" id="markdown-toc-continuous-integration-testing">Continuous Integration Testing</a></li> - <li><a href="#getting-started" id="markdown-toc-getting-started">Getting started</a></li> -</ul> - -<h2 id="source-code">Source code</h2> - -<p>You can get the source code by -<a href="/avatica/downloads">downloading a release</a> -or from source control.</p> - -<p>Calcite uses git for version control. The canonical source is in -<a href="https://git-wip-us.apache.org/repos/asf/calcite.git">Apache</a>, -but most people find the -<a href="https://github.com/apache/calcite-avatica">Github mirror</a> more -user-friendly.</p> - -<h2 id="download-source-build-and-run-tests">Download source, build, and run tests</h2> - -<p>Prerequisites are git, maven (3.2.1 or later) and Java (JDK 1.7 or -later, 1.8 preferred) on your path.</p> - -<p>Create a local copy of the git repository, <code class="highlighter-rouge">cd</code> to its root directory, -then build using maven:</p> - -<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="gp">$ </span>git clone git://github.com/apache/calcite-avatica.git avatica -<span class="gp">$ </span><span class="nb">cd </span>avatica -<span class="gp">$ </span>mvn install</code></pre></figure> - -<p>The HOWTO describes how to -<a href="/avatica/docs/howto.html#building-from-a-source-distribution">build from a source distribution</a>, -<a href="/avatica/docs/howto.html#running-tests">run more or fewer tests</a> and -<a href="/avatica/docs/howto.html#running-integration-tests">run integration tests</a>.</p> - -<h3 id="disabling-protobuf-generation">Disabling protobuf generation</h3> - -<p>On older operating systems, developers trying to build Avatica may experience -issues with the Xolstice maven-protobuf-plugin, similar to the following:</p> - -<div class="highlighter-rouge"><pre class="highlight"><code>[INFO] Compiling 3 proto file(s) to /avatica/core/src/main/java -[ERROR] PROTOC FAILED: /avatica/core/target/protoc-plugins/protoc-3.1.0-linux-x86_64.exe: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /avatica/core/target/protoc-plugins/protoc-3.1.0-linux-x86_64.exe) -[ERROR] /avatica/core/src/main/protobuf/common.proto [0:0]: /avatica/core/target/protoc-plugins/protoc-3.1.0-linux-x86_64.exe: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /avatica/core/target/protoc-plugins/protoc-3.1.0-linux-x86_64.exe) -[ERROR] /avatica/core/src/main/protobuf/responses.proto [0:0]: /avatica/core/target/protoc-plugins/protoc-3.1.0-linux-x86_64.exe: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /avatica/core/target/protoc-plugins/protoc-3.1.0-linux-x86_64.exe) -[ERROR] /avatica/core/src/main/protobuf/requests.proto [0:0]: /avatica/core/target/protoc-plugins/protoc-3.1.0-linux-x86_64.exe: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /avatica/core/target/protoc-plugins/protoc-3.1.0-linux-x86_64.exe) -</code></pre> -</div> - -<p>In most cases, it is unnecessary to re-generate the Protobuf messages into Java code. Developers -can side-step this issue by disabling the <code class="highlighter-rouge">compile-protobuf</code> profile in their Maven execution.</p> - -<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="gp">$ </span>mvn package -P!compile-protobuf</code></pre></figure> - -<h2 id="contributing">Contributing</h2> - -<p>We welcome contributions.</p> - -<p>If you are planning to make a large contribution, talk to us first! It -helps to agree on the general approach. Log a -<a href="https://issues.apache.org/jira/browse/CALCITE">JIRA case</a> for your -proposed feature or start a discussion on the dev list.</p> - -<p>Fork the github repository, and create a branch for your feature.</p> - -<p>Develop your feature and test cases, and make sure that -<code class="highlighter-rouge">mvn install</code> succeeds. (Run extra tests if your change warrants it.)</p> - -<p>Commit your change to your branch, and use a comment that starts with -the JIRA case number, like this:</p> - -<figure class="highlight"><pre><code class="language-text" data-lang="text">[CALCITE-345] AssertionError in RexToLixTranslator comparing to date literal</code></pre></figure> - -<p>If your change had multiple commits, use <code class="highlighter-rouge">git rebase -i master</code> to -squash them into a single commit, and to bring your code up to date -with the latest on the main line.</p> - -<p>Then push your commit(s) to github, and create a pull request from -your branch to the calcite master branch. Update the JIRA case -to reference your pull request, and a committer will review your -changes.</p> - -<h2 id="continuous-integration-testing">Continuous Integration Testing</h2> - -<p>Calcite has a collection of Jenkins jobs on ASF-hosted infrastructure. -They are all organized in a single view and available at -<a href="https://builds.apache.org/view/A-D/view/Calcite-Avatica/">https://builds.apache.org/view/A-D/view/Calcite-Avatica/</a>.</p> - -<h2 id="getting-started">Getting started</h2> - -<p>Calcite is a community, so the first step to joining the project is to introduce yourself. -Join the <a href="http://mail-archives.apache.org/mod_mbox/calcite-dev/">developers list</a> -and send an email.</p> - -<p>If you have the chance to attend a <a href="http://www.meetup.com/Apache-Calcite/">meetup</a>, -or meet <a href="http://calcite.apache.org/develop/#project-members">members of the community</a> -at a conference, thatâs also great.</p> - -<p>Choose an initial task to work on. It should be something really simple, -such as a bug fix or a <a href="https://issues.apache.org/jira/issues/?jql=labels%20%3D%20newbie%20%26%20project%20%3D%20Calcite%20%26%20status%20%3D%20Open">Jira task that we have labeled -ânewbieâ</a>. -Follow the <a href="#contributing">contributing guidelines</a> to get your change committed.</p> +<p>Please find the development guides for Avaticaâs components here:</p> -<p>After you have made several useful contributions we may -<a href="https://community.apache.org/contributors/">invite you to become a committer</a>. -We value all contributions that help to build a vibrant community, not just code. -You can contribute by testing the code, helping verify a release, -writing documentation or the web site, -or just by answering questions on the list.</p> +<table> + <thead> + <tr> + <th style="text-align: left">Component</th> + <th style="text-align: left">Guide</th> + </tr> + </thead> + <tbody> + <tr> + <td style="text-align: left">Avatica</td> + <td style="text-align: left"><a href="/avatica/develop/avatica.html">Development Guide</a></td> + </tr> + <tr> + <td style="text-align: left">Avatica Go Client</td> + <td style="text-align: left"><a href="/avatica/develop/avatica-go.html">Development Guide</a></td> + </tr> + </tbody> +</table> </article> </div> Modified: calcite/site/avatica/docs/client_reference.html URL: http://svn.apache.org/viewvc/calcite/site/avatica/docs/client_reference.html?rev=1830306&r1=1830305&r2=1830306&view=diff ============================================================================== --- calcite/site/avatica/docs/client_reference.html (original) +++ calcite/site/avatica/docs/client_reference.html Fri Apr 27 07:42:12 2018 @@ -4,7 +4,7 @@ <meta charset="UTF-8"> <title>Client Reference</title> <meta name="viewport" content="width=device-width,initial-scale=1"> - <meta name="generator" content="Jekyll v3.5.1"> + <meta name="generator" content="Jekyll v3.7.3"> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900"> <link rel="stylesheet" href="/avatica/css/screen.css"> <link rel="icon" type="image/x-icon" href="/avatica/favicon.ico"> @@ -118,6 +118,10 @@ + + + + @@ -150,11 +154,15 @@ + + + + </optgroup> - <optgroup label="Reference"> + <optgroup label="Avatica Reference"> @@ -189,6 +197,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -221,6 +269,10 @@ + + + + @@ -253,6 +305,10 @@ + + + + @@ -285,6 +341,10 @@ + + + + @@ -317,6 +377,10 @@ + + + + @@ -349,6 +413,10 @@ + + + + @@ -381,6 +449,10 @@ + + + + @@ -413,6 +485,17 @@ + + + + + + + </optgroup> + + <optgroup label="Avatica Go Client Reference"> + + @@ -445,11 +528,15 @@ + + + + </optgroup> - <optgroup label="Meta"> + <optgroup label="Avatica Meta"> @@ -484,6 +571,10 @@ + + + + @@ -516,6 +607,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + </optgroup> + + <optgroup label="Avatica Go Client Meta"> + + @@ -548,6 +686,10 @@ + + + + </optgroup> @@ -797,7 +939,7 @@ necessary when using HTTPS.</p> </ul> - <h4>Reference</h4> + <h4>Avatica Reference</h4> <ul> @@ -895,7 +1037,25 @@ necessary when using HTTPS.</p> </ul> - <h4>Meta</h4> + <h4>Avatica Go Client Reference</h4> + + +<ul> + + + + + + + + + <li class=""><a href="/avatica/docs/go_client_reference.html">Go Client Reference</a></li> + + +</ul> + + + <h4>Avatica Meta</h4> <ul> @@ -931,6 +1091,24 @@ necessary when using HTTPS.</p> </ul> + + + <h4>Avatica Go Client Meta</h4> + + +<ul> + + + + + + + + + <li class=""><a href="/avatica/docs/go_history.html">Go Client History</a></li> + + +</ul> </aside> Modified: calcite/site/avatica/docs/compatibility.html URL: http://svn.apache.org/viewvc/calcite/site/avatica/docs/compatibility.html?rev=1830306&r1=1830305&r2=1830306&view=diff ============================================================================== --- calcite/site/avatica/docs/compatibility.html (original) +++ calcite/site/avatica/docs/compatibility.html Fri Apr 27 07:42:12 2018 @@ -4,7 +4,7 @@ <meta charset="UTF-8"> <title>Compatibility</title> <meta name="viewport" content="width=device-width,initial-scale=1"> - <meta name="generator" content="Jekyll v3.5.1"> + <meta name="generator" content="Jekyll v3.7.3"> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900"> <link rel="stylesheet" href="/avatica/css/screen.css"> <link rel="icon" type="image/x-icon" href="/avatica/favicon.ico"> @@ -118,6 +118,10 @@ + + + + @@ -150,11 +154,15 @@ + + + + </optgroup> - <optgroup label="Reference"> + <optgroup label="Avatica Reference"> @@ -189,6 +197,10 @@ + + + + @@ -221,6 +233,10 @@ + + + + @@ -253,6 +269,10 @@ + + + + @@ -285,6 +305,10 @@ + + + + @@ -317,6 +341,10 @@ + + + + @@ -349,6 +377,10 @@ + + + + @@ -381,6 +413,10 @@ + + + + @@ -413,6 +449,10 @@ + + + + @@ -445,11 +485,15 @@ + + + + </optgroup> - <optgroup label="Meta"> + <optgroup label="Avatica Go Client Reference"> @@ -484,6 +528,17 @@ + + + + + + + </optgroup> + + <optgroup label="Avatica Meta"> + + @@ -516,6 +571,10 @@ + + + + @@ -548,6 +607,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + </optgroup> + + <optgroup label="Avatica Go Client Meta"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + </optgroup> @@ -610,7 +752,7 @@ script which prints a summary of testing all other versions in the YAML configuration. An example summary is presented below which is the result of testing versions 1.6.0, 1.7.1 and 1.8.0-SNAPSHOT:</p> -<div class="highlighter-rouge"><pre class="highlight"><code>Summary: +<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Summary: Identity test scenarios (ran 3) @@ -626,8 +768,7 @@ Testing client v1.7.1 against server v1. Testing client v1.7.1 against server v1.8.0-SNAPSHOT: Failed Testing client v1.8.0-SNAPSHOT against server v1.6.0: Failed Testing client v1.8.0-SNAPSHOT against server v1.7.1: Failed -</code></pre> -</div> +</code></pre></div></div> <p>It is not always expected that all tested version-pairs will pass unless the test is written with specific knowledge about past bugs in Avatica itself. While @@ -724,7 +865,7 @@ running the TCK, reference the provided </ul> - <h4>Reference</h4> + <h4>Avatica Reference</h4> <ul> @@ -822,7 +963,25 @@ running the TCK, reference the provided </ul> - <h4>Meta</h4> + <h4>Avatica Go Client Reference</h4> + + +<ul> + + + + + + + + + <li class=""><a href="/avatica/docs/go_client_reference.html">Go Client Reference</a></li> + + +</ul> + + + <h4>Avatica Meta</h4> <ul> @@ -858,6 +1017,24 @@ running the TCK, reference the provided </ul> + + + <h4>Avatica Go Client Meta</h4> + + +<ul> + + + + + + + + + <li class=""><a href="/avatica/docs/go_history.html">Go Client History</a></li> + + +</ul> </aside> Modified: calcite/site/avatica/docs/custom_client_artifacts.html URL: http://svn.apache.org/viewvc/calcite/site/avatica/docs/custom_client_artifacts.html?rev=1830306&r1=1830305&r2=1830306&view=diff ============================================================================== --- calcite/site/avatica/docs/custom_client_artifacts.html (original) +++ calcite/site/avatica/docs/custom_client_artifacts.html Fri Apr 27 07:42:12 2018 @@ -4,7 +4,7 @@ <meta charset="UTF-8"> <title>Custom Client Artifacts</title> <meta name="viewport" content="width=device-width,initial-scale=1"> - <meta name="generator" content="Jekyll v3.5.1"> + <meta name="generator" content="Jekyll v3.7.3"> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900"> <link rel="stylesheet" href="/avatica/css/screen.css"> <link rel="icon" type="image/x-icon" href="/avatica/favicon.ico"> @@ -118,6 +118,10 @@ + + + + @@ -150,11 +154,15 @@ + + + + </optgroup> - <optgroup label="Reference"> + <optgroup label="Avatica Reference"> @@ -189,6 +197,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -221,6 +269,10 @@ + + + + @@ -253,6 +305,10 @@ + + + + @@ -285,6 +341,10 @@ + + + + @@ -317,6 +377,10 @@ + + + + @@ -349,6 +413,10 @@ + + + + @@ -381,6 +449,10 @@ + + + + @@ -413,6 +485,17 @@ + + + + + + + </optgroup> + + <optgroup label="Avatica Go Client Reference"> + + @@ -445,11 +528,15 @@ + + + + </optgroup> - <optgroup label="Meta"> + <optgroup label="Avatica Meta"> @@ -484,6 +571,10 @@ + + + + @@ -516,6 +607,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + </optgroup> + + <optgroup label="Avatica Go Client Meta"> + + @@ -548,6 +686,10 @@ + + + + </optgroup> @@ -756,7 +898,7 @@ a brief <code class="highlighter-rouge"> </ul> - <h4>Reference</h4> + <h4>Avatica Reference</h4> <ul> @@ -854,7 +996,25 @@ a brief <code class="highlighter-rouge"> </ul> - <h4>Meta</h4> + <h4>Avatica Go Client Reference</h4> + + +<ul> + + + + + + + + + <li class=""><a href="/avatica/docs/go_client_reference.html">Go Client Reference</a></li> + + +</ul> + + + <h4>Avatica Meta</h4> <ul> @@ -890,6 +1050,24 @@ a brief <code class="highlighter-rouge"> </ul> + + + <h4>Avatica Go Client Meta</h4> + + +<ul> + + + + + + + + + <li class=""><a href="/avatica/docs/go_history.html">Go Client History</a></li> + + +</ul> </aside> Modified: calcite/site/avatica/docs/docker.html URL: http://svn.apache.org/viewvc/calcite/site/avatica/docs/docker.html?rev=1830306&r1=1830305&r2=1830306&view=diff ============================================================================== --- calcite/site/avatica/docs/docker.html (original) +++ calcite/site/avatica/docs/docker.html Fri Apr 27 07:42:12 2018 @@ -4,7 +4,7 @@ <meta charset="UTF-8"> <title>Docker Images</title> <meta name="viewport" content="width=device-width,initial-scale=1"> - <meta name="generator" content="Jekyll v3.5.1"> + <meta name="generator" content="Jekyll v3.7.3"> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900"> <link rel="stylesheet" href="/avatica/css/screen.css"> <link rel="icon" type="image/x-icon" href="/avatica/favicon.ico"> @@ -118,6 +118,10 @@ + + + + @@ -150,11 +154,15 @@ + + + + </optgroup> - <optgroup label="Reference"> + <optgroup label="Avatica Reference"> @@ -189,6 +197,10 @@ + + + + @@ -221,6 +233,10 @@ + + + + @@ -253,6 +269,10 @@ + + + + @@ -285,6 +305,10 @@ + + + + @@ -317,6 +341,10 @@ + + + + @@ -349,6 +377,10 @@ + + + + @@ -381,6 +413,10 @@ + + + + @@ -413,6 +449,10 @@ + + + + @@ -445,11 +485,15 @@ + + + + </optgroup> - <optgroup label="Meta"> + <optgroup label="Avatica Go Client Reference"> @@ -484,6 +528,17 @@ + + + + + + + </optgroup> + + <optgroup label="Avatica Meta"> + + @@ -516,6 +571,10 @@ + + + + @@ -548,6 +607,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + </optgroup> + + <optgroup label="Avatica Go Client Meta"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + </optgroup> @@ -613,7 +755,7 @@ exposing an Avatica server configured ag <p>All of the <code class="highlighter-rouge">Dockerfile</code> and <code class="highlighter-rouge">docker-compose.yml</code> files are conveniently provided in an archive for each release. Here is the layout for release 1.11.0:</p> -<div class="highlighter-rouge"><pre class="highlight"><code>avatica-docker-1.11.0/ +<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>avatica-docker-1.11.0/ avatica-docker-1.11.0/hypersql/ avatica-docker-1.11.0/mysql/ avatica-docker-1.11.0/postgresql/ @@ -626,15 +768,14 @@ avatica-docker-1.11.0/mysql/Dockerfile avatica-docker-1.11.0/postgresql/build.sh avatica-docker-1.11.0/postgresql/docker-compose.yml avatica-docker-1.11.0/postgresql/Dockerfile -</code></pre> -</div> +</code></pre></div></div> <h4 id="running">Running</h4> <p>Each of the provided database-specific Docker images set an <code class="highlighter-rouge">ENTRYPOINT</code> which encapsulate most of the Java command. The following options are available to specify:</p> -<div class="highlighter-rouge"><pre class="highlight"><code>Usage: <main class> [options] +<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Usage: <main class> [options] Options: -h, -help, --help Print the help message @@ -648,22 +789,19 @@ encapsulate most of the Java command. Th Possible Values: [JSON, PROTOBUF] * -u, --url JDBC driver url for the server -</code></pre> -</div> +</code></pre></div></div> <p>For example, to connect to a MySQL server, the following could be used:</p> -<div class="highlighter-rouge"><pre class="highlight"><code>$ ./avatica-docker-*/mysql/build.sh +<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ ./avatica-docker-*/mysql/build.sh $ docker run --rm -it avatica-mysql-server \ -u jdbc:mysql://<fqdn>:3306/my_database -</code></pre> -</div> +</code></pre></div></div> <p>To debug these docker images, the <code class="highlighter-rouge">ENTRYPOINT</code> can be overriden to launch a shell</p> -<div class="highlighter-rouge"><pre class="highlight"><code>$ docker run --rm --entrypoint='' -it avatica-mysql-server /bin/sh -</code></pre> -</div> +<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ docker run --rm --entrypoint='' -it avatica-mysql-server /bin/sh +</code></pre></div></div> <h3 id="running-docker-containers-for-custom-databases">Running Docker containers for custom databases</h3> @@ -676,13 +814,12 @@ do, but this is also achievable via the machine <code class="highlighter-rouge">/home/user/my-database-jars/my-database-jdbc-1.0.jar</code>. We can run the following command to launch a custom Avatica server against our database with this JDBC driver.</p> -<div class="highlighter-rouge"><pre class="highlight"><code>$ docker run --rm -p 8765:8765 \ +<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ docker run --rm -p 8765:8765 \ -v /home/user/my-database-jars/:/my-database-jars --entrypoint="" -it avatica-server \ /usr/bin/java -cp "/home/avatica/classpath/*:/my-database-jars/*" \ org.apache.calcite.avatica.standalone.StandaloneServer -p 8765 \ -u "jdbc:my_jdbc_url" -</code></pre> -</div> +</code></pre></div></div> <p>This command does the following:</p> @@ -783,7 +920,7 @@ launch a custom Avatica server against o </ul> - <h4>Reference</h4> + <h4>Avatica Reference</h4> <ul> @@ -881,7 +1018,25 @@ launch a custom Avatica server against o </ul> - <h4>Meta</h4> + <h4>Avatica Go Client Reference</h4> + + +<ul> + + + + + + + + + <li class=""><a href="/avatica/docs/go_client_reference.html">Go Client Reference</a></li> + + +</ul> + + + <h4>Avatica Meta</h4> <ul> @@ -917,6 +1072,24 @@ launch a custom Avatica server against o </ul> + + + <h4>Avatica Go Client Meta</h4> + + +<ul> + + + + + + + + + <li class=""><a href="/avatica/docs/go_history.html">Go Client History</a></li> + + +</ul> </aside> Modified: calcite/site/avatica/docs/history.html URL: http://svn.apache.org/viewvc/calcite/site/avatica/docs/history.html?rev=1830306&r1=1830305&r2=1830306&view=diff ============================================================================== --- calcite/site/avatica/docs/history.html (original) +++ calcite/site/avatica/docs/history.html Fri Apr 27 07:42:12 2018 @@ -4,7 +4,7 @@ <meta charset="UTF-8"> <title>History</title> <meta name="viewport" content="width=device-width,initial-scale=1"> - <meta name="generator" content="Jekyll v3.5.1"> + <meta name="generator" content="Jekyll v3.7.3"> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900"> <link rel="stylesheet" href="/avatica/css/screen.css"> <link rel="icon" type="image/x-icon" href="/avatica/favicon.ico"> @@ -118,6 +118,10 @@ + + + + @@ -150,11 +154,15 @@ + + + + </optgroup> - <optgroup label="Reference"> + <optgroup label="Avatica Reference"> @@ -189,6 +197,10 @@ + + + + @@ -221,6 +233,10 @@ + + + + @@ -253,6 +269,10 @@ + + + + @@ -285,6 +305,10 @@ + + + + @@ -317,6 +341,10 @@ + + + + @@ -349,6 +377,10 @@ + + + + @@ -381,6 +413,10 @@ + + + + @@ -413,6 +449,10 @@ + + + + @@ -445,11 +485,15 @@ + + + + </optgroup> - <optgroup label="Meta"> + <optgroup label="Avatica Go Client Reference"> @@ -484,6 +528,17 @@ + + + + + + + </optgroup> + + <optgroup label="Avatica Meta"> + + @@ -516,6 +571,10 @@ + + + + @@ -548,6 +607,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + </optgroup> + + <optgroup label="Avatica Go Client Meta"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + </optgroup> @@ -566,7 +708,7 @@ <p>For a full list of releases, see <a href="https://github.com/apache/calcite-avatica/releases">github</a>. Downloads are available on the -<a href="/avatica/downloads/">downloads page</a>.</p> +<a href="/avatica/downloads/avatica.html">downloads page</a>.</p> <h2 id="v1-11-0"><a href="https://github.com/apache/calcite-avatica/releases/tag/calcite-avatica-1.11.0">1.11.0</a> / 2018-03-09</h2> @@ -1081,12 +1223,15 @@ for information about previous Avatica r + + + <div class="section-nav"> <div class="left align-right"> - <a href="/avatica/docs/protocol_testing.html" class="prev">Previous</a> + <a href="/avatica/docs/go_client_reference.html" class="prev">Previous</a> </div> <div class="right align-left"> @@ -1136,7 +1281,7 @@ for information about previous Avatica r </ul> - <h4>Reference</h4> + <h4>Avatica Reference</h4> <ul> @@ -1234,7 +1379,25 @@ for information about previous Avatica r </ul> - <h4>Meta</h4> + <h4>Avatica Go Client Reference</h4> + + +<ul> + + + + + + + + + <li class=""><a href="/avatica/docs/go_client_reference.html">Go Client Reference</a></li> + + +</ul> + + + <h4>Avatica Meta</h4> <ul> @@ -1270,6 +1433,24 @@ for information about previous Avatica r </ul> + + + <h4>Avatica Go Client Meta</h4> + + +<ul> + + + + + + + + + <li class=""><a href="/avatica/docs/go_history.html">Go Client History</a></li> + + +</ul> </aside> Modified: calcite/site/avatica/docs/howto.html URL: http://svn.apache.org/viewvc/calcite/site/avatica/docs/howto.html?rev=1830306&r1=1830305&r2=1830306&view=diff ============================================================================== --- calcite/site/avatica/docs/howto.html (original) +++ calcite/site/avatica/docs/howto.html Fri Apr 27 07:42:12 2018 @@ -4,7 +4,7 @@ <meta charset="UTF-8"> <title>HOWTO</title> <meta name="viewport" content="width=device-width,initial-scale=1"> - <meta name="generator" content="Jekyll v3.5.1"> + <meta name="generator" content="Jekyll v3.7.3"> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900"> <link rel="stylesheet" href="/avatica/css/screen.css"> <link rel="icon" type="image/x-icon" href="/avatica/favicon.ico"> @@ -118,6 +118,10 @@ + + + + @@ -150,11 +154,15 @@ + + + + </optgroup> - <optgroup label="Reference"> + <optgroup label="Avatica Reference"> @@ -189,6 +197,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -221,6 +269,10 @@ + + + + @@ -253,6 +305,10 @@ + + + + @@ -285,6 +341,10 @@ + + + + @@ -317,6 +377,10 @@ + + + + @@ -349,6 +413,10 @@ + + + + @@ -381,6 +449,10 @@ + + + + @@ -413,6 +485,17 @@ + + + + + + + </optgroup> + + <optgroup label="Avatica Go Client Reference"> + + @@ -445,11 +528,15 @@ + + + + </optgroup> - <optgroup label="Meta"> + <optgroup label="Avatica Meta"> @@ -484,6 +571,10 @@ + + + + @@ -516,6 +607,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + </optgroup> + + <optgroup label="Avatica Go Client Meta"> + + @@ -548,6 +686,10 @@ + + + + </optgroup> @@ -598,9 +740,9 @@ and Java (JDK 8 or later) on your path.< <code class="highlighter-rouge">cd</code> to the root directory of the unpacked source, then build using maven:</p> -<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="gp">$ </span>tar xvfz apache-calcite-avatica-1.11.0-src.tar.gz -<span class="gp">$ </span><span class="nb">cd </span>apache-calcite-avatica-1.11.0-src -<span class="gp">$ </span>mvn install</code></pre></figure> +<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span><span class="nb">tar </span>xvfz apache-calcite-avatica-1.11.0-src.tar.gz +<span class="nv">$ </span><span class="nb">cd </span>apache-calcite-avatica-1.11.0-src +<span class="nv">$ </span>mvn install</code></pre></figure> <p><a href="#running-tests">Running tests</a> describes how to run more or fewer tests.</p> @@ -614,9 +756,9 @@ and Java (JDK 8 or later) on your path.< <code class="highlighter-rouge">cd</code> to its root directory, then build using maven:</p> -<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="gp">$ </span>git clone git://github.com/apache/calcite-avatica.git avatica -<span class="gp">$ </span><span class="nb">cd </span>avatica -<span class="gp">$ </span>mvn install</code></pre></figure> +<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span>git clone git://github.com/apache/calcite-avatica.git avatica +<span class="nv">$ </span><span class="nb">cd </span>avatica +<span class="nv">$ </span>mvn install</code></pre></figure> <p><a href="#running-tests">Running tests</a> describes how to run more or fewer tests.</p> @@ -626,7 +768,7 @@ tests.</p> <p>The test suite will run by default when you build, unless you specify <code class="highlighter-rouge">-DskipTests</code>:</p> -<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="gp">$ </span>mvn clean verify -Dcheckstyle.skip</code></pre></figure> +<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span>mvn clean verify <span class="nt">-Dcheckstyle</span>.skip</code></pre></figure> <p>By default, invoking the <code class="highlighter-rouge">verify</code> Maven lifecycle phase will also cause checkstyle rules to be run. It is expected that contributions pass the checkstyle rules; however, @@ -662,16 +804,16 @@ need to be re-generated only every build <p>First, install Protobuf 3.1:</p> -<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="gp">$ </span>wget https://github.com/google/protobuf/releases/download/v3.1.0/protobuf-java-3.1.0.tar.gz -<span class="gp">$ </span>tar xf protobuf-java-3.1.0.tar.gz <span class="o">&&</span> <span class="nb">cd </span>protobuf-3.1.0 -<span class="gp">$ </span>./configure -<span class="gp">$ </span>make -<span class="gp">$ </span>sudo make install</code></pre></figure> +<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span>wget https://github.com/google/protobuf/releases/download/v3.1.0/protobuf-java-3.1.0.tar.gz +<span class="nv">$ </span><span class="nb">tar </span>xf protobuf-java-3.1.0.tar.gz <span class="o">&&</span> <span class="nb">cd </span>protobuf-3.1.0 +<span class="nv">$ </span>./configure +<span class="nv">$ </span>make +<span class="nv">$ </span><span class="nb">sudo </span>make install</code></pre></figure> <p>Then, re-generate the compiled code:</p> -<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="gp">$ </span><span class="nb">cd </span>avatica/core -<span class="gp">$ </span>./src/main/scripts/generate-protobuf.sh</code></pre></figure> +<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span><span class="nb">cd </span>avatica/core +<span class="nv">$ </span>./src/main/scripts/generate-protobuf.sh</code></pre></figure> <h1 id="advanced-topics-for-committers">Advanced topics for committers</h1> @@ -704,13 +846,13 @@ scripting in your shellâs configura <figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">GPG_AGENT</span><span class="o">=</span><span class="k">$(</span>which gpg-agent<span class="k">)</span> <span class="nv">GPG_TTY</span><span class="o">=</span><span class="sb">`</span>tty<span class="sb">`</span> <span class="nb">export </span>GPG_TTY -<span class="k">if</span> <span class="o">[[</span> -f <span class="s2">"</span><span class="nv">$GPG_AGENT</span><span class="s2">"</span> <span class="o">]]</span>; <span class="k">then +<span class="k">if</span> <span class="o">[[</span> <span class="nt">-f</span> <span class="s2">"</span><span class="nv">$GPG_AGENT</span><span class="s2">"</span> <span class="o">]]</span><span class="p">;</span> <span class="k">then </span><span class="nv">envfile</span><span class="o">=</span><span class="s2">"</span><span class="k">${</span><span class="nv">HOME</span><span class="k">}</span><span class="s2">/.gnupg/gpg-agent.env"</span> - <span class="k">if </span><span class="nb">test</span> -f <span class="s2">"</span><span class="nv">$envfile</span><span class="s2">"</span> <span class="o">&&</span> <span class="nb">kill</span> -0 <span class="k">$(</span>grep GPG_AGENT_INFO <span class="s2">"</span><span class="nv">$envfile</span><span class="s2">"</span> | cut -d: -f 2<span class="k">)</span> 2>/dev/null; <span class="k">then + <span class="k">if </span><span class="nb">test</span> <span class="nt">-f</span> <span class="s2">"</span><span class="nv">$envfile</span><span class="s2">"</span> <span class="o">&&</span> <span class="nb">kill</span> <span class="nt">-0</span> <span class="k">$(</span><span class="nb">grep </span>GPG_AGENT_INFO <span class="s2">"</span><span class="nv">$envfile</span><span class="s2">"</span> | cut <span class="nt">-d</span>: <span class="nt">-f</span> 2<span class="k">)</span> 2>/dev/null<span class="p">;</span> <span class="k">then </span><span class="nb">source</span> <span class="s2">"</span><span class="nv">$envfile</span><span class="s2">"</span> <span class="k">else - </span><span class="nb">eval</span> <span class="s2">"</span><span class="k">$(</span>gpg-agent --daemon --log-file<span class="o">=</span>~/.gpg/gpg.log --write-env-file <span class="s2">"</span><span class="nv">$envfile</span><span class="s2">"</span><span class="k">)</span><span class="s2">"</span> + </span><span class="nb">eval</span> <span class="s2">"</span><span class="k">$(</span>gpg-agent <span class="nt">--daemon</span> <span class="nt">--log-file</span><span class="o">=</span>~/.gpg/gpg.log <span class="nt">--write-env-file</span> <span class="s2">"</span><span class="nv">$envfile</span><span class="s2">"</span><span class="k">)</span><span class="s2">"</span> <span class="k">fi </span><span class="nb">export </span>GPG_AGENT_INFO <span class="c"># the env file does not contain the export statement</span> <span class="k">fi</span></code></pre></figure> @@ -728,9 +870,9 @@ to guarantee that your credentials will </ul> <figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Make sure that there are no junk files in the sandbox</span> -git clean -xn +git clean <span class="nt">-xn</span> -mvn -Papache-release clean install</code></pre></figure> +mvn <span class="nt">-Papache-release</span> clean install</code></pre></figure> <p>When the dry-run has succeeded, change <code class="highlighter-rouge">install</code> to <code class="highlighter-rouge">deploy</code>.</p> @@ -758,8 +900,8 @@ just about to release)</li> <p>Create a release branch named after the release, e.g. <code class="highlighter-rouge">branch-avatica-1.9</code>, and push it to Apache.</p> -<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="gp">$ </span>git checkout -b branch-avatica-X.Y -<span class="gp">$ </span>git push -u origin branch-avatica-X.Y</code></pre></figure> +<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span>git checkout <span class="nt">-b</span> branch-avatica-X.Y +<span class="nv">$ </span>git push <span class="nt">-u</span> origin branch-avatica-X.Y</code></pre></figure> <p>We will use the branch for the entire the release process. Meanwhile, we do not allow commits to the master branch. After the release is @@ -777,10 +919,10 @@ that the release process will complete a start again from the top.</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Make sure that there are no junk files in the sandbox</span> -git clean -xn +git clean <span class="nt">-xn</span> <span class="c"># For the dry run, edit the docker/dockerhub/Dockerfile</span> -patch -p1 <span class="sh"><<EOF +patch <span class="nt">-p1</span> <span class="o"><<</span><span class="no">EOF</span><span class="sh"> diff --git a/docker/src/main/dockerhub/Dockerfile b/docker/src/main/dockerhub/Dockerfile index 4617a4e..4ccd97f 100644 --- a/docker/src/main/dockerhub/Dockerfile @@ -789,11 +931,11 @@ index 4617a4e..4ccd97f 100644 # This line must be preserved. The Maven build will verify this version matches its version -ARG AVATICA_VERSION="1.11.0" +ARG AVATICA_VERSION="1.11.0-SNAPSHOT" -EOF +</span><span class="no">EOF </span><span class="c"># Do a dry run of the release:prepare step, which sets version numbers.</span> <span class="c"># Typically we increment minor version: If X.Y.Z is 1.10.0, X2.Y2.Z2 is 1.11.0.</span> -mvn -DdryRun<span class="o">=</span><span class="nb">true</span> -DreleaseVersion<span class="o">=</span>X.Y.Z -DdevelopmentVersion<span class="o">=</span>X2.Y2.Z2-SNAPSHOT -Dtag<span class="o">=</span>avatica-X.Y.Z-rcN -Papache-release -Duser.name<span class="o">=</span><span class="k">${</span><span class="nv">asf</span><span class="p">.username</span><span class="k">}</span> release:prepare</code></pre></figure> +mvn <span class="nt">-DdryRun</span><span class="o">=</span><span class="nb">true</span> <span class="nt">-DreleaseVersion</span><span class="o">=</span>X.Y.Z <span class="nt">-DdevelopmentVersion</span><span class="o">=</span>X2.Y2.Z2-SNAPSHOT <span class="nt">-Dtag</span><span class="o">=</span>avatica-X.Y.Z-rcN <span class="nt">-Papache-release</span> <span class="nt">-Duser</span>.name<span class="o">=</span><span class="k">${</span><span class="nv">asf</span><span class="p">.username</span><span class="k">}</span> release:prepare</code></pre></figure> <p>Check the artifacts:</p> @@ -837,10 +979,10 @@ generated files from your workspace:</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Prepare sets the version numbers, creates a tag, and pushes it to git.</span> <span class="c"># Typically we increment minor version: If X.Y.Z is 1.10.0, X2.Y2.Z2 is 1.11.0.</span> -mvn -DreleaseVersion<span class="o">=</span>X.Y.Z -DdevelopmentVersion<span class="o">=</span>X2.Y2.Z2-SNAPSHOT -Dtag<span class="o">=</span>avatica-X.Y.Z-rcN -Papache-release -Duser.name<span class="o">=</span><span class="k">${</span><span class="nv">asf</span><span class="p">.username</span><span class="k">}</span> release:prepare +mvn <span class="nt">-DreleaseVersion</span><span class="o">=</span>X.Y.Z <span class="nt">-DdevelopmentVersion</span><span class="o">=</span>X2.Y2.Z2-SNAPSHOT <span class="nt">-Dtag</span><span class="o">=</span>avatica-X.Y.Z-rcN <span class="nt">-Papache-release</span> <span class="nt">-Duser</span>.name<span class="o">=</span><span class="k">${</span><span class="nv">asf</span><span class="p">.username</span><span class="k">}</span> release:prepare <span class="c"># Perform checks out the tagged version, builds, and deploys to the staging repository</span> -mvn -Papache-release -Duser.name<span class="o">=</span><span class="k">${</span><span class="nv">asf</span><span class="p">.username</span><span class="k">}</span> release:perform -Darguments<span class="o">=</span><span class="s2">"-DskipTests"</span></code></pre></figure> +mvn <span class="nt">-Papache-release</span> <span class="nt">-Duser</span>.name<span class="o">=</span><span class="k">${</span><span class="nv">asf</span><span class="p">.username</span><span class="k">}</span> release:perform <span class="nt">-Darguments</span><span class="o">=</span><span class="s2">"-DskipTests"</span></code></pre></figure> <p>Verify the staged artifacts in the Nexus repository:</p> @@ -859,7 +1001,7 @@ https://repository.apache.org/content/re https://dist.apache.org/repos/dist/dev/calcite/apache-calcite-avatica-X.Y.Z-rcN:</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Create a subversion workspace, if you haven't already</span> -mkdir -p ~/dist/dev +mkdir <span class="nt">-p</span> ~/dist/dev <span class="nb">pushd</span> ~/dist/dev svn co https://dist.apache.org/repos/dist/dev/calcite <span class="nb">popd</span> @@ -881,7 +1023,7 @@ svn ci</code></pre></figure> git tag <span class="c"># If the tag exists, delete it locally and remotely</span> -git tag -d avatica-X.Y.Z +git tag <span class="nt">-d</span> avatica-X.Y.Z git push origin :refs/tags/avatica-X.Y.Z <span class="c"># Remove modified files</span> @@ -890,32 +1032,32 @@ mvn release:clean <span class="c"># Check whether there are modified files and if so, go back to the</span> <span class="c"># original git commit</span> git status -git reset --hard HEAD</code></pre></figure> +git reset <span class="nt">--hard</span> HEAD</code></pre></figure> <h2 id="validate-a-release">Validate a release</h2> <figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Check that the signing key (e.g. 2AD3FAE3) is pushed</span> -gpg --recv-keys key +gpg <span class="nt">--recv-keys</span> key <span class="c"># Check keys</span> -curl -O https://dist.apache.org/repos/dist/release/calcite/KEYS +curl <span class="nt">-O</span> https://dist.apache.org/repos/dist/release/calcite/KEYS <span class="c"># Sign/check sha256 hashes</span> <span class="c"># (Assumes your O/S has a 'shasum' command.)</span> <span class="k">function </span>checkHash<span class="o">()</span> <span class="o">{</span> <span class="nb">cd</span> <span class="s2">"</span><span class="nv">$1</span><span class="s2">"</span> - <span class="k">for </span>i <span class="k">in</span> <span class="k">*</span>.<span class="o">{</span>zip,pom,gz<span class="o">}</span>; <span class="k">do - if</span> <span class="o">[</span> ! -f <span class="nv">$i</span> <span class="o">]</span>; <span class="k">then + <span class="k">for </span>i <span class="k">in</span> <span class="k">*</span>.<span class="o">{</span>zip,pom,gz<span class="o">}</span><span class="p">;</span> <span class="k">do + if</span> <span class="o">[</span> <span class="o">!</span> <span class="nt">-f</span> <span class="nv">$i</span> <span class="o">]</span><span class="p">;</span> <span class="k">then continue fi - if</span> <span class="o">[</span> -f <span class="nv">$i</span>.sha256 <span class="o">]</span>; <span class="k">then - if</span> <span class="o">[</span> <span class="s2">"</span><span class="k">$(</span>cat <span class="nv">$i</span>.sha256<span class="k">)</span><span class="s2">"</span> <span class="o">=</span> <span class="s2">"</span><span class="k">$(</span>shasum -a 256 <span class="nv">$i</span><span class="k">)</span><span class="s2">"</span> <span class="o">]</span>; <span class="k">then + if</span> <span class="o">[</span> <span class="nt">-f</span> <span class="nv">$i</span>.sha256 <span class="o">]</span><span class="p">;</span> <span class="k">then + if</span> <span class="o">[</span> <span class="s2">"</span><span class="k">$(</span><span class="nb">cat</span> <span class="nv">$i</span>.sha256<span class="k">)</span><span class="s2">"</span> <span class="o">=</span> <span class="s2">"</span><span class="k">$(</span>shasum <span class="nt">-a</span> 256 <span class="nv">$i</span><span class="k">)</span><span class="s2">"</span> <span class="o">]</span><span class="p">;</span> <span class="k">then </span><span class="nb">echo</span> <span class="nv">$i</span>.sha256 present and correct <span class="k">else </span><span class="nb">echo</span> <span class="nv">$i</span>.sha256 does not match <span class="k">fi else - </span>shasum -a 256 <span class="nv">$i</span> > <span class="nv">$i</span>.sha256 + </span>shasum <span class="nt">-a</span> 256 <span class="nv">$i</span> <span class="o">></span> <span class="nv">$i</span>.sha256 <span class="nb">echo</span> <span class="nv">$i</span>.sha256 created <span class="k">fi done</span> @@ -1040,16 +1182,16 @@ git push origin rel/avatica-X.Y.Z</code> <p>Check the artifacts into svn.</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Get the release candidate.</span> -mkdir -p ~/dist/dev +mkdir <span class="nt">-p</span> ~/dist/dev <span class="nb">cd</span> ~/dist/dev svn co https://dist.apache.org/repos/dist/dev/calcite <span class="c"># Copy the artifacts. Note that the copy does not have '-rcN' suffix.</span> -mkdir -p ~/dist/release +mkdir <span class="nt">-p</span> ~/dist/release <span class="nb">cd</span> ~/dist/release svn co https://dist.apache.org/repos/dist/release/calcite <span class="nb">cd </span>calcite -cp -rp ../../dev/calcite/apache-calcite-avatica-X.Y.Z-rcN apache-calcite-avatica-X.Y.Z +cp <span class="nt">-rp</span> ../../dev/calcite/apache-calcite-avatica-X.Y.Z-rcN apache-calcite-avatica-X.Y.Z svn add apache-calcite-avatica-X.Y.Z <span class="c"># Check in.</span> @@ -1166,7 +1308,7 @@ as a template. Be sure to include a brie </ul> - <h4>Reference</h4> + <h4>Avatica Reference</h4> <ul> @@ -1264,7 +1406,25 @@ as a template. Be sure to include a brie </ul> - <h4>Meta</h4> + <h4>Avatica Go Client Reference</h4> + + +<ul> + + + + + + + + + <li class=""><a href="/avatica/docs/go_client_reference.html">Go Client Reference</a></li> + + +</ul> + + + <h4>Avatica Meta</h4> <ul> @@ -1300,6 +1460,24 @@ as a template. Be sure to include a brie </ul> + + + <h4>Avatica Go Client Meta</h4> + + +<ul> + + + + + + + + + <li class=""><a href="/avatica/docs/go_history.html">Go Client History</a></li> + + +</ul> </aside> Modified: calcite/site/avatica/docs/index.html URL: http://svn.apache.org/viewvc/calcite/site/avatica/docs/index.html?rev=1830306&r1=1830305&r2=1830306&view=diff ============================================================================== --- calcite/site/avatica/docs/index.html (original) +++ calcite/site/avatica/docs/index.html Fri Apr 27 07:42:12 2018 @@ -4,7 +4,7 @@ <meta charset="UTF-8"> <title>Background</title> <meta name="viewport" content="width=device-width,initial-scale=1"> - <meta name="generator" content="Jekyll v3.5.1"> + <meta name="generator" content="Jekyll v3.7.3"> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900"> <link rel="stylesheet" href="/avatica/css/screen.css"> <link rel="icon" type="image/x-icon" href="/avatica/favicon.ico"> @@ -118,6 +118,10 @@ + + + + @@ -150,11 +154,15 @@ + + + + </optgroup> - <optgroup label="Reference"> + <optgroup label="Avatica Reference"> @@ -189,6 +197,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -221,6 +269,10 @@ + + + + @@ -253,6 +305,10 @@ + + + + @@ -285,6 +341,10 @@ + + + + @@ -317,6 +377,10 @@ + + + + @@ -349,6 +413,10 @@ + + + + @@ -381,6 +449,10 @@ + + + + @@ -413,6 +485,17 @@ + + + + + + + </optgroup> + + <optgroup label="Avatica Go Client Reference"> + + @@ -445,11 +528,15 @@ + + + + </optgroup> - <optgroup label="Meta"> + <optgroup label="Avatica Meta"> @@ -484,6 +571,10 @@ + + + + @@ -516,6 +607,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + </optgroup> + + <optgroup label="Avatica Go Client Meta"> + + @@ -548,6 +686,10 @@ + + + + </optgroup> @@ -800,7 +942,7 @@ highly welcomed!</p> </ul> - <h4>Reference</h4> + <h4>Avatica Reference</h4> <ul> @@ -898,7 +1040,25 @@ highly welcomed!</p> </ul> - <h4>Meta</h4> + <h4>Avatica Go Client Reference</h4> + + +<ul> + + + + + + + + + <li class=""><a href="/avatica/docs/go_client_reference.html">Go Client Reference</a></li> + + +</ul> + + + <h4>Avatica Meta</h4> <ul> @@ -934,6 +1094,24 @@ highly welcomed!</p> </ul> + + + <h4>Avatica Go Client Meta</h4> + + +<ul> + + + + + + + + + <li class=""><a href="/avatica/docs/go_history.html">Go Client History</a></li> + + +</ul> </aside>