[ 
https://issues.apache.org/jira/browse/CALCITE-1937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16453425#comment-16453425
 ] 

ASF GitHub Bot commented on CALCITE-1937:
-----------------------------------------

Github user risdenk commented on a diff in the pull request:

    https://github.com/apache/calcite-avatica/pull/43#discussion_r184259286
  
    --- Diff: site/downloads/index.md ---
    @@ -22,102 +22,9 @@ limitations under the License.
     {% endcomment %}
     -->
     
    -Avatica is released as a source artifact, and also through Maven and 
Docker Hub.
    +The following downloads are available from the Avatica project:
     
    -# Source releases
    -
    -Release          | Date       | Commit   | Download
    -:--------------- | :--------- | :------- | :-------
    -{% for post in site.categories.release %}{% comment %}
    -{% endcomment %}{% if post.fullVersion %}{% comment %}
    -{% endcomment %}{% assign v = post.fullVersion %}{% comment %}
    -{% endcomment %}{% else %}{% comment %}
    -{% endcomment %}{% capture v %}apache-calcite-avatica-{{ post.version }}{% 
endcapture %}{% comment %}
    -{% endcomment %}{% endif %}{% comment %}
    -{% endcomment %}{% if forloop.index0 < 1 %}{% comment %}
    -{% endcomment %}{% capture p 
%}http://www.apache.org/dyn/closer.lua?filename=calcite/{{ v }}{% endcapture 
%}{% comment %}
    -{% endcomment %}{% assign q = "&action=download" %}{% comment %}
    -{% endcomment %}{% assign d = "https://www.apache.org/dist"; %}{% comment %}
    -{% endcomment %}{% else %}{% comment %}
    -{% endcomment %}{% capture p %}http://archive.apache.org/dist/calcite/{{ v 
}}{% endcapture %}{% comment %}
    -{% endcomment %}{% assign q = "" %}{% comment %}
    -{% endcomment %}{% assign d = "https://archive.apache.org/dist"; %}{% 
comment %}
    -{% endcomment %}{% endif %}{% comment %}
    -{% endcomment %}{% capture d1 %}{{ post.date | date: "%F"}}{% endcapture 
%}{% comment %}
    -{% endcomment %}{% capture d2 %}2017-05-01{% endcapture %}{% comment %}
    -{% endcomment %}{% capture d3 %}2018-03-01{% endcapture %}{% comment %}
    -{% endcomment %}{% if d1 > d3 %}{% comment %}
    -{% endcomment %}{% assign digest = "sha256" %}{% comment %}
    -{% endcomment %}{% elsif d1 > d2 %}{% comment %}
    -{% endcomment %}{% assign digest = "mds" %}{% comment %}
    -{% endcomment %}{% else %}{% comment %}
    -{% endcomment %}{% assign digest = "md5" %}{% comment %}
    -{% endcomment %}{% endif %}{% comment %}
    -{% endcomment %}<a href="{{ site.baseurl }}/docs/history.html#{{ post.tag 
}}">{{ post.version }}</a>{% comment %}
    -{% endcomment %} | {{ post.date | date_to_string }}{% comment %}
    -{% endcomment %} | <a 
href="https://github.com/apache/calcite-avatica/commit/{{ post.sha }}">{{ 
post.sha }}</a>{% comment %}
    -{% endcomment %} | <a href="{{ p }}/{{ v }}-src.tar.gz{{ q }}">tar</a>{% 
comment %}
    -{% endcomment %} (<a href="{{ d }}/calcite/{{ v }}/{{ v }}-src.tar.gz.{{ 
digest }}">{{ digest }}</a>{% comment %}
    -{% endcomment %} <a href="{{ d }}/calcite/{{ v }}/{{ v 
}}-src.tar.gz.asc">pgp</a>){% comment %}
    -{% endcomment %} {% raw %}<br>{% endraw %}{% comment %}
    -{% endcomment %} <a href="{{ p }}/{{ v }}-src.zip{{ q }}">zip</a>{% 
comment %}
    -{% endcomment %} (<a href="{{ d }}/calcite/{{ v }}/{{ v }}-src.zip.{{ 
digest }}">{{ digest }}</a>{% comment %}
    -{% endcomment %} <a href="{{ d }}/calcite/{{ v }}/{{ v 
}}-src.zip.asc">pgp</a>){% comment %}
    -{% endcomment %}
    -{% endfor %}
    -
    -Choose a source distribution in either *tar* or *zip* format,
    -and [verify](http://www.apache.org/dyn/closer.cgi#verify)
    -using the corresponding *pgp* signature (using the committer file in
    -[KEYS](http://www.apache.org/dist/calcite/KEYS)).
    -If you cannot do that, use the *sha256* hash file (*md5* in older
    -releases) to check that the download has completed OK.
    -
    -For fast downloads, current source distributions are hosted on mirror 
servers;
    -older source distributions are in the
    -[archive](http://archive.apache.org/dist/calcite/).
    -If a download from a mirror fails, retry, and the second download will 
likely
    -succeed.
    -
    -For security, hash and signature files are always hosted at
    -[Apache](https://www.apache.org/dist).
    -
    -# Maven artifacts
    -
    -Add the following to the dependencies section of your `pom.xml` file:
    -
    -{% for post in site.categories.release limit:1 %}
    -{% assign current_release = post %}
    -{% endfor %}
    -
    -{% highlight xml %}
    -<dependencies>
    -  <dependency>
    -    <groupId>org.apache.calcite.avatica</groupId>
    -    <artifactId>avatica</artifactId>
    -    <version>{{ current_release.version }}</version>
    -  </dependency>
    -  <dependency>
    -    <groupId>org.apache.calcite.avatica</groupId>
    -    <artifactId>avatica-server</artifactId>
    -    <version>{{ current_release.version }}</version>
    -  </dependency>
    -</dependencies>
    -{% endhighlight %}
    -
    -As of Apache Calcite Avatica 1.9.0, the following un-shaded client 
artifact is also available:
    -
    -{% highlight xml %}
    -<dependencies>
    -  <dependency>
    -    <groupId>org.apache.calcite.avatica</groupId>
    -    <artifactId>avatica-core</artifactId>
    -    <version>{{ current_release.version }}</version>
    -  </dependency>
    -</dependencies>
    -{% endhighlight %}
    -
    -# Docker images
    -
    -From release 1.10.0 onwards, Docker images for Avatica Server are 
available at
    -[Docker Hub](https://hub.docker.com/r/apache/calcite-avatica).
    +Component         | Download
    +:---------------- | :-----------------------------------
    +Avatica           | [Source and binaries](avatica.html)
    +Avatica Go Client | [Source](avatica-go.html)
    --- End diff --
    
    Do we need `{{ site.baseurl }}/downloads/` before this two links?


> Web site for Avatica Go
> -----------------------
>
>                 Key: CALCITE-1937
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1937
>             Project: Calcite
>          Issue Type: Bug
>          Components: avatica-go
>            Reporter: Julian Hyde
>            Assignee: Francis Chuang
>            Priority: Major
>
> Create a web site for calcite-avatica-go.
> How about this:
> * At run time, the pages should appear under http://calcite.apache.org/avatica
> * The pages should be source-controlled under calcite-avatica-go/site, in 
> markdown format (same as calcite and avatica), and generated into svn using 
> similar trickery to calcite and avatica.
> * Reduce the amount of content in 
> https://github.com/apache/calcite-avatica-go/blob/master/README.md. The 
> "documentation" stuff should move to under http://calcite.apache.org/avatica. 
> So the page will be mainly a re-direct to the Apache home page. Similar to 
> https://github.com/apache/calcite-avatica/blob/master/README.md, in fact.
> * Add a go_history.md file.
> Should avatica-go appear on http://calcite.apache.org/avatica/downloads, or 
> should it have its own download page? I think it probably the former.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to