You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2019/08/22 05:06:33 UTC

[incubator-iotdb-website] branch master updated: 1. change binary and source file url to the mirrors, while keep sha and asc to dist/, 2. remove github url from download and news page (#31)

This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb-website.git


The following commit(s) were added to refs/heads/master by this push:
     new f6571c0  1. change binary and source file url to the mirrors, while keep sha and asc to dist/, 2. remove github url from download and news page (#31)
f6571c0 is described below

commit f6571c01b7f2b27b4240134d14cd3ed9acb644b1
Author: Xiangdong Huang <hx...@qq.com>
AuthorDate: Thu Aug 22 13:06:29 2019 +0800

    1. change binary and source file url to the mirrors, while keep sha and asc to dist/, 2. remove github url from download and news page (#31)
    
    * 1. change binary and source file url to the mirrors, while keep sha and asc to dist/,
    
    * 2. remove github url from download and news page
    
    * 3. add how to verify the downloaded files.
---
 src/components/SideBar.vue |  4 ----
 src/views/Download.vue     | 25 ++++++++++++++++---------
 2 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/src/components/SideBar.vue b/src/components/SideBar.vue
index 574e71f..182942b 100644
--- a/src/components/SideBar.vue
+++ b/src/components/SideBar.vue
@@ -15,10 +15,6 @@
         </ol>
       </article>
 
-      <h4>Github repo</h4>
-      <ol class="list-unstyled">
-        <li><a href="https://github.com/apache/incubator-iotdb">GitHub</a></li>
-      </ol>
     </div>
     <router-link to="/Download" class="nav-link btn btn-lg btn-block btn-warning button" style="color: white">
       <span>Download</span>
diff --git a/src/views/Download.vue b/src/views/Download.vue
index d41ce0e..5dc9bf5 100644
--- a/src/views/Download.vue
+++ b/src/views/Download.vue
@@ -13,18 +13,26 @@
             <li style="margin: 5px">Download IoTDB Binaries:<a class="link-color" :href="selectVersionObj.binariesUrl"> {{selectVersionObj.text}} Release</a>
               <span v-if="selectVersionObj.binariesSHA512Url!==''">[<a class="link-color" :href="selectVersionObj.binariesSHA512Url"> SHA512</a>]</span>
               <span v-if="selectVersionObj.binariesASCUrl!==''">[<a class="link-color" :href="selectVersionObj.binariesASCUrl"> ASC</a>]</span>
-              <span v-if="selectVersionObj.binariesMirrorUrl!==''">[<a class="link-color" :href="selectVersionObj.binariesMirrorUrl"> Mirrors</a>]</span>
             </li>
             <li style="margin: 5px" v-if="selectVersionObj.sourcesUrl!==''">
               Download IoTDB Sources:<a class="link-color" :href="selectVersionObj.sourcesUrl"> {{selectVersionObj.text}} Sources</a>
               <span v-if="selectVersionObj.sourcesSHA512Url!==''">[<a class="link-color" :href="selectVersionObj.sourcesSHA512Url"> SHA512</a>]</span>
               <span v-if="selectVersionObj.sourcesASCUrl!==''">[<a class="link-color" :href="selectVersionObj.sourcesASCUrl"> ASC</a>]</span>
-              <span v-if="selectVersionObj.sourcesMirrorUrl!==''">[<a class="link-color" :href="selectVersionObj.sourcesMirrorUrl"> Mirrors</a>]</span>
             </li>
             </ul>
           <p>Main features and change list of each version, please check <router-link to="/Materials/Release Notes">release notes</router-link>.</p>
-          <h2 class="download-title">Get Source Code</h2>
-          <p>Go to our <a class="link-color" :href="iotdbGithubUrl">Github</a>, have fun with IoTDB source code!</p>
+
+          <h2 class="download-title">Verifying Hashes and Signatures</h2>
+          <p>
+            Along with our releases, we also provide sha512 hashes in *.sha512 files and
+            cryptographic signatures in *.asc files. The Apache Software Foundation has an extensive
+            tutorial to <a class="link-color" href="http://www.apache.org/info/verification.html">
+            verify
+            hashes and signatures </a> which you can follow by using any of these
+            release-signing <a class="link-color"
+                               href="https://dist.apache.org/repos/dist/dev/incubator/iotdb/KEYS">
+            KEYS </a>.
+          </p>
         </div>
         <my-sidebar/>
       </div>
@@ -36,6 +44,7 @@
 <script>
   import SideBar from '../components/SideBar'
   import Footer from '../components/FooterFixed'
+
   export default {
     name: "Download",
     components: {
@@ -48,14 +57,12 @@
         selectVersionObj: {},
         downloadVersionList: [
           {text: 'IoTDB v0.8.0',
-            binariesUrl: 'https://www.apache.org/dist/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-bin.zip',
+            binariesUrl: 'https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-bin.zip',
             binariesSHA512Url: 'https://www.apache.org/dist/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-bin.zip.sha512',
             binariesASCUrl: 'https://www.apache.org/dist/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-bin.zip.asc',
-            binariesMirrorUrl: 'https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-bin.zip',
-            sourcesUrl: 'https://www.apache.org/dist/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-source-release.zip',
+            sourcesUrl: 'https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-source-release.zip',
             sourcesSHA512Url: 'https://www.apache.org/dist/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-source-release.zip.sha512',
-            sourcesASCUrl: 'https://www.apache.org/dist/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-source-release.zip.asc',
-            sourcesMirrorUrl: 'https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-source-release.zip'
+            sourcesASCUrl: 'https://www.apache.org/dist/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-source-release.zip.asc'
           },
           {
             text: 'IoTDB v0.7.0',