You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2018/05/30 01:51:24 UTC

[2/3] calcite-avatica git commit: [CALCITE-2333] Stop releasing zips

[CALCITE-2333] Stop releasing zips


Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica/repo
Commit: http://git-wip-us.apache.org/repos/asf/calcite-avatica/commit/5465889d
Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica/tree/5465889d
Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica/diff/5465889d

Branch: refs/heads/branch-avatica-1.12
Commit: 5465889d9b852201646d21bdeb1ad5ed65ce6ebe
Parents: ce34765
Author: Francis Chuang <fr...@apache.org>
Authored: Tue May 29 21:33:53 2018 +1000
Committer: Francis Chuang <fr...@apache.org>
Committed: Tue May 29 21:33:53 2018 +1000

----------------------------------------------------------------------
 docker/src/assembly/docker-files.xml           |  1 -
 site/_docs/howto.md                            | 10 +++-------
 site/downloads/avatica-go.md                   |  3 +++
 site/downloads/avatica.md                      |  3 +++
 src/main/config/assemblies/source-assembly.xml |  1 -
 5 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/5465889d/docker/src/assembly/docker-files.xml
----------------------------------------------------------------------
diff --git a/docker/src/assembly/docker-files.xml b/docker/src/assembly/docker-files.xml
index 5bfcce5..d0371cf 100644
--- a/docker/src/assembly/docker-files.xml
+++ b/docker/src/assembly/docker-files.xml
@@ -21,7 +21,6 @@ limitations under the License.
   <id>docker-files</id>
   <formats>
     <format>tar.gz</format>
-    <format>zip</format>
   </formats>
   <fileSets>
     <fileSet>

http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/5465889d/site/_docs/howto.md
----------------------------------------------------------------------
diff --git a/site/_docs/howto.md b/site/_docs/howto.md
index eae6743..41de18f 100644
--- a/site/_docs/howto.md
+++ b/site/_docs/howto.md
@@ -33,7 +33,7 @@ Here's some miscellaneous documentation about using Avatica.
 Prerequisites are maven (3.2.1 or later)
 and Java (JDK 8 or later) on your path.
 
-Unpack the source distribution `.tar.gz` or `.zip` file,
+Unpack the source distribution `.tar.gz` file,
 `cd` to the root directory of the unpacked source,
 then build using maven:
 
@@ -254,11 +254,8 @@ Check the artifacts:
   * apache-calcite-avatica-X.Y.Z-src.tar.gz
   * apache-calcite-avatica-X.Y.Z-src.tar.gz.asc
   * apache-calcite-avatica-X.Y.Z-src.tar.gz.sha256
-  * apache-calcite-avatica-X.Y.Z-src.zip
-  * apache-calcite-avatica-X.Y.Z-src.zip.asc
-  * apache-calcite-avatica-X.Y.Z-src.zip.sha256
 * Note that the file names start `apache-calcite-avatica-`.
-* In the two source distros `.tar.gz` and `.zip` (currently there is
+* In the source distro `.tar.gz` (currently there is
   no binary distro), check that all files belong to a directory called
   `apache-calcite-avatica-X.Y.Z-src`.
 * That directory must contain files `NOTICE`, `LICENSE`,
@@ -356,7 +353,7 @@ curl -O https://dist.apache.org/repos/dist/release/calcite/KEYS
 # (Assumes your O/S has a 'shasum' command.)
 function checkHash() {
   cd "$1"
-  for i in *.{zip,pom,gz}; do
+  for i in *.{pom,gz}; do
     if [ ! -f $i ]; then
       continue
     fi
@@ -401,7 +398,6 @@ https://dist.apache.org/repos/dist/dev/calcite/apache-calcite-avatica-X.Y.Z-rcN/
 
 The hashes of the artifacts are as follows:
 src.tar.gz.sha256 XXXX
-src.zip.sha256 XXXX
 
 A staged Maven repository is available for review at:
 https://repository.apache.org/content/repositories/orgapachecalcite-NNNN

http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/5465889d/site/downloads/avatica-go.md
----------------------------------------------------------------------
diff --git a/site/downloads/avatica-go.md b/site/downloads/avatica-go.md
index c7495a0..ba3ecc4 100644
--- a/site/downloads/avatica-go.md
+++ b/site/downloads/avatica-go.md
@@ -48,6 +48,7 @@ Release          | Date       | Commit   | Download
 {% 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 %}{% capture d4 %}2018-06-01{% endcapture %}{% comment %}
 {% endcomment %}{% if d1 > d3 %}{% comment %}
 {% endcomment %}{% assign digest = "sha256" %}{% comment %}
 {% endcomment %}{% elsif d1 > d2 %}{% comment %}
@@ -61,10 +62,12 @@ Release          | Date       | Commit   | Download
 {% 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 %}{% if d1 < d4 %}{% 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 %}{% endif %}{% comment %}
 {% endcomment %}
 {% endfor %}
 

http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/5465889d/site/downloads/avatica.md
----------------------------------------------------------------------
diff --git a/site/downloads/avatica.md b/site/downloads/avatica.md
index 435ead1..54d2972 100644
--- a/site/downloads/avatica.md
+++ b/site/downloads/avatica.md
@@ -50,6 +50,7 @@ Release          | Date       | Commit   | Download
 {% 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 %}{% capture d4 %}2018-06-01{% endcapture %}{% comment %}
 {% endcomment %}{% if d1 > d3 %}{% comment %}
 {% endcomment %}{% assign digest = "sha256" %}{% comment %}
 {% endcomment %}{% elsif d1 > d2 %}{% comment %}
@@ -63,10 +64,12 @@ Release          | Date       | Commit   | Download
 {% 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 %}{% if d1 < d4 %}{% 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 %}{% endif %}{% comment %}
 {% endcomment %}
 {% endfor %}
 

http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/5465889d/src/main/config/assemblies/source-assembly.xml
----------------------------------------------------------------------
diff --git a/src/main/config/assemblies/source-assembly.xml b/src/main/config/assemblies/source-assembly.xml
index 5f3fd75..db25996 100644
--- a/src/main/config/assemblies/source-assembly.xml
+++ b/src/main/config/assemblies/source-assembly.xml
@@ -18,7 +18,6 @@ limitations under the License.
 <assembly>
   <id>source-release</id>
   <formats>
-    <format>zip</format>
     <format>tar.gz</format>
   </formats>
   <fileSets>