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/29 12:23:39 UTC

calcite git commit: [CALCITE-2333] Stop releasing zips

Repository: calcite
Updated Branches:
  refs/heads/master cb5d9bae8 -> 27a190ff3


[CALCITE-2333] Stop releasing zips


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

Branch: refs/heads/master
Commit: 27a190ff303700b4329384e05c39bc40c893048e
Parents: cb5d9ba
Author: Francis Chuang <fr...@apache.org>
Authored: Tue May 29 21:50:23 2018 +1000
Committer: Francis Chuang <fr...@apache.org>
Committed: Tue May 29 21:50:23 2018 +1000

----------------------------------------------------------------------
 site/_docs/howto.md                            | 10 +++-------
 site/downloads/index.md                        |  3 +++
 src/main/config/assemblies/source-assembly.xml |  1 -
 3 files changed, 6 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite/blob/27a190ff/site/_docs/howto.md
----------------------------------------------------------------------
diff --git a/site/_docs/howto.md b/site/_docs/howto.md
index b04b634..842de16 100644
--- a/site/_docs/howto.md
+++ b/site/_docs/howto.md
@@ -34,7 +34,7 @@ adapters.
 Prerequisites are maven (3.5.2 or later)
 and Java (JDK 8, 9 or 10) 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:
 
@@ -591,11 +591,8 @@ The version will be automatically changed when performing the release for real.
   * apache-calcite-X.Y.Z-src.tar.gz
   * apache-calcite-X.Y.Z-src.tar.gz.asc
   * apache-calcite-X.Y.Z-src.tar.gz.sha256
-  * apache-calcite-X.Y.Z-src.zip
-  * apache-calcite-X.Y.Z-src.zip.asc
-  * apache-calcite-X.Y.Z-src.zip.sha256
 * Note that the file names start `apache-calcite-`.
-* 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-X.Y.Z-src`.
 * That directory must contain files `NOTICE`, `LICENSE`,
@@ -688,7 +685,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
@@ -733,7 +730,6 @@ https://dist.apache.org/repos/dist/dev/calcite/apache-calcite-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/blob/27a190ff/site/downloads/index.md
----------------------------------------------------------------------
diff --git a/site/downloads/index.md b/site/downloads/index.md
index 6e79dbe..4770e44 100644
--- a/site/downloads/index.md
+++ b/site/downloads/index.md
@@ -49,6 +49,7 @@ Release          | Date       | Commit   | Download
 {% endcomment %}{% endif %}{% comment %}
 {% endcomment %}{% capture d1 %}{{ post.date | date: "%F"}}{% endcapture %}{% comment %}
 {% endcomment %}{% capture d2 %}2017-08-31{% endcapture %}{% comment %}
+{% endcomment %}{% capture d3 %}2018-06-01{% endcapture %}{% comment %}
 {% endcomment %}{% if d1 > d2 %}{% comment %}
 {% endcomment %}{% assign digest = "sha256" %}{% comment %}
 {% endcomment %}{% else %}{% comment %}
@@ -60,10 +61,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 < d3 %}{% 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/blob/27a190ff/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 d4148de..bb6edfd 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>