You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by su...@apache.org on 2020/03/05 03:35:49 UTC

[incubator-iotdb-website] branch master updated: [IOTDB-543] Change the download URL of IoTDB on the website (#61)

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

sunzesong 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 fe551bf  [IOTDB-543] Change the download URL of IoTDB on the website (#61)
fe551bf is described below

commit fe551bfa0fee7be249184ce39b76c37882c650ab
Author: Zesong Sun <sz...@mails.tsinghua.edu.cn>
AuthorDate: Thu Mar 5 11:35:43 2020 +0800

    [IOTDB-543] Change the download URL of IoTDB on the website (#61)
    
    * [IOTDB-543] Change the download URL of IoTDB on the website
    
    * Delete Tool and SingleTool page
---
 src/router/index.js        |  14 +--
 src/views/Documents.vue    |   2 +-
 src/views/Download.vue     |  42 ++++----
 src/views/SingleTool.vue   | 119 ---------------------
 src/views/SystemDesign.vue |   2 +-
 src/views/Tools.vue        | 253 ---------------------------------------------
 6 files changed, 24 insertions(+), 408 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 8493785..06da9e2 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -4,11 +4,9 @@ import Home from '@/views/Home'
 import Download from '@/views/Download'
 import Documents from '@/views/Documents'
 import SystemDesign from '@/views/SystemDesign'
-import Tools from '@/views/Tools'
 import Community from '@/views/Community'
 import Development from '@/views/Development'
-import NotFound from "../views/NotFound"
-import SingleTool from "../views/SingleTool"
+import NotFound from "@/views/NotFound"
 import Contributor from "@/views/Contributor"
 
 Vue.use(Router);
@@ -36,16 +34,6 @@ export default new Router({
       component: SystemDesign
     },
     {
-      path: '/Tools',
-      name: 'Tools',
-      component: Tools
-    },
-    {
-      path: '/Tools/:content',
-      name: 'SingleTool',
-      component: SingleTool
-    },
-    {
       path: '/Contributor',
       name: 'Contributor',
       component: Contributor
diff --git a/src/views/Documents.vue b/src/views/Documents.vue
index 3ac5e57..d64a5cc 100644
--- a/src/views/Documents.vue
+++ b/src/views/Documents.vue
@@ -304,7 +304,7 @@
     margin-bottom: 5px;
     padding: 5px;
     max-width: 80%;
-
+    line-height: 15px;
   }
 
   .list-group > li:hover {
diff --git a/src/views/Download.vue b/src/views/Download.vue
index ca1cd65..dd4699d 100644
--- a/src/views/Download.vue
+++ b/src/views/Download.vue
@@ -38,7 +38,7 @@
             verify
             hashes and signatures </a> which you can follow by using any of these
             release-signing <a class="link-color"
-                               href="https://www.apache.org/dist/incubator/iotdb/KEYS">
+                               href="https://downloads.apache.org/incubator/iotdb/KEYS">
             KEYS </a>.
           </p>
         </div>
@@ -67,51 +67,51 @@
           {
             text: 'IoTDB v0.9.1',
             binariesUrl: 'https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.9.1-incubating/apache-iotdb-0.9.1-incubating-bin.zip',
-            binariesSHA512Url: 'https://www.apache.org/dist/incubator/iotdb/0.9.1-incubating/apache-iotdb-0.9.1-incubating-bin.zip.sha512',
-            binariesASCUrl: 'https://www.apache.org/dist/incubator/iotdb/0.9.1-incubating/apache-iotdb-0.9.1-incubating-bin.zip.asc',
+            binariesSHA512Url: 'https://downloads.apache.org/incubator/iotdb/0.9.1-incubating/apache-iotdb-0.9.1-incubating-bin.zip.sha512',
+            binariesASCUrl: 'https://downloads.apache.org/incubator/iotdb/0.9.1-incubating/apache-iotdb-0.9.1-incubating-bin.zip.asc',
             sourcesUrl: 'https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.9.1-incubating/apache-iotdb-0.9.1-incubating-source-release.zip',
-            sourcesSHA512Url: 'https://www.apache.org/dist/incubator/iotdb/0.9.1-incubating/apache-iotdb-0.9.1-incubating-source-release.zip.sha512',
-            sourcesASCUrl: 'https://www.apache.org/dist/incubator/iotdb/0.9.1-incubating/apache-iotdb-0.9.1-incubating-source-release.zip.asc',
+            sourcesSHA512Url: 'https://downloads.apache.org/incubator/iotdb/0.9.1-incubating/apache-iotdb-0.9.1-incubating-source-release.zip.sha512',
+            sourcesASCUrl: 'https://downloads.apache.org/incubator/iotdb/0.9.1-incubating/apache-iotdb-0.9.1-incubating-source-release.zip.asc',
             releaseNoteUrl: 'https://raw.githubusercontent.com/apache/incubator-iotdb/release/0.9.1/RELEASE_NOTES.md'
           },
           {
             text: 'IoTDB v0.9.0',
             binariesUrl: 'https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.9.0-incubating/apache-iotdb-0.9.0-incubating-bin.zip',
-            binariesSHA512Url: 'https://www.apache.org/dist/incubator/iotdb/0.9.0-incubating/apache-iotdb-0.9.0-incubating-bin.zip.sha512',
-            binariesASCUrl: 'https://www.apache.org/dist/incubator/iotdb/0.9.0-incubating/apache-iotdb-0.9.0-incubating-bin.zip.asc',
+            binariesSHA512Url: 'https://downloads.apache.org/incubator/iotdb/0.9.0-incubating/apache-iotdb-0.9.0-incubating-bin.zip.sha512',
+            binariesASCUrl: 'https://downloads.apache.org/incubator/iotdb/0.9.0-incubating/apache-iotdb-0.9.0-incubating-bin.zip.asc',
             sourcesUrl: 'https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.9.0-incubating/apache-iotdb-0.9.0-incubating-source-release.zip',
-            sourcesSHA512Url: 'https://www.apache.org/dist/incubator/iotdb/0.9.0-incubating/apache-iotdb-0.9.0-incubating-source-release.zip.sha512',
-            sourcesASCUrl: 'https://www.apache.org/dist/incubator/iotdb/0.9.0-incubating/apache-iotdb-0.9.0-incubating-source-release.zip.asc',
+            sourcesSHA512Url: 'https://downloads.apache.org/incubator/iotdb/0.9.0-incubating/apache-iotdb-0.9.0-incubating-source-release.zip.sha512',
+            sourcesASCUrl: 'https://downloads.apache.org/incubator/iotdb/0.9.0-incubating/apache-iotdb-0.9.0-incubating-source-release.zip.asc',
             releaseNoteUrl: 'https://raw.githubusercontent.com/apache/incubator-iotdb/release/0.9.0/RELEASE_NOTES.md'
           },
           {
             text: 'IoTDB v0.8.2',
             binariesUrl: 'https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.8.2-incubating/apache-iotdb-0.8.2-incubating-bin.zip',
-            binariesSHA512Url: 'https://www.apache.org/dist/incubator/iotdb/0.8.2-incubating/apache-iotdb-0.8.2-incubating-bin.zip.sha512',
-            binariesASCUrl: 'https://www.apache.org/dist/incubator/iotdb/0.8.2-incubating/apache-iotdb-0.8.2-incubating-bin.zip.asc',
+            binariesSHA512Url: 'https://downloads.apache.org/incubator/iotdb/0.8.2-incubating/apache-iotdb-0.8.2-incubating-bin.zip.sha512',
+            binariesASCUrl: 'https://downloads.apache.org/incubator/iotdb/0.8.2-incubating/apache-iotdb-0.8.2-incubating-bin.zip.asc',
             sourcesUrl: 'https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.8.2-incubating/apache-iotdb-0.8.2-incubating-source-release.zip',
-            sourcesSHA512Url: 'https://www.apache.org/dist/incubator/iotdb/0.8.2-incubating/apache-iotdb-0.8.2-incubating-source-release.zip.sha512',
-            sourcesASCUrl: 'https://www.apache.org/dist/incubator/iotdb/0.8.2-incubating/apache-iotdb-0.8.2-incubating-source-release.zip.asc',
+            sourcesSHA512Url: 'https://downloads.apache.org/incubator/iotdb/0.8.2-incubating/apache-iotdb-0.8.2-incubating-source-release.zip.sha512',
+            sourcesASCUrl: 'https://downloads.apache.org/incubator/iotdb/0.8.2-incubating/apache-iotdb-0.8.2-incubating-source-release.zip.asc',
             releaseNoteUrl: 'https://raw.githubusercontent.com/apache/incubator-iotdb/release/0.8.2/RELEASE_NOTES.md'
           },
           {
             text: 'IoTDB v0.8.1',
             binariesUrl: 'https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.8.1-incubating/apache-iotdb-0.8.1-incubating-bin.zip',
-            binariesSHA512Url: 'https://www.apache.org/dist/incubator/iotdb/0.8.1-incubating/apache-iotdb-0.8.1-incubating-bin.zip.sha512',
-            binariesASCUrl: 'https://www.apache.org/dist/incubator/iotdb/0.8.1-incubating/apache-iotdb-0.8.1-incubating-bin.zip.asc',
+            binariesSHA512Url: 'https://downloads.apache.org/incubator/iotdb/0.8.1-incubating/apache-iotdb-0.8.1-incubating-bin.zip.sha512',
+            binariesASCUrl: 'https://downloads.apache.org/incubator/iotdb/0.8.1-incubating/apache-iotdb-0.8.1-incubating-bin.zip.asc',
             sourcesUrl: 'https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.8.1-incubating/apache-iotdb-0.8.1-incubating-source-release.zip',
-            sourcesSHA512Url: 'https://www.apache.org/dist/incubator/iotdb/0.8.1-incubating/apache-iotdb-0.8.1-incubating-source-release.zip.sha512',
-            sourcesASCUrl: 'https://www.apache.org/dist/incubator/iotdb/0.8.1-incubating/apache-iotdb-0.8.1-incubating-source-release.zip.asc',
+            sourcesSHA512Url: 'https://downloads.apache.org/incubator/iotdb/0.8.1-incubating/apache-iotdb-0.8.1-incubating-source-release.zip.sha512',
+            sourcesASCUrl: 'https://downloads.apache.org/incubator/iotdb/0.8.1-incubating/apache-iotdb-0.8.1-incubating-source-release.zip.asc',
             releaseNoteUrl: 'https://raw.githubusercontent.com/apache/incubator-iotdb/release/0.8.1/RELEASE_NOTES.md'
           },
           {
             text: 'IoTDB v0.8.0',
             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',
+            binariesSHA512Url: 'https://downloads.apache.org/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-bin.zip.sha512',
+            binariesASCUrl: 'https://downloads.apache.org/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-bin.zip.asc',
             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',
+            sourcesSHA512Url: 'https://downloads.apache.org/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-source-release.zip.sha512',
+            sourcesASCUrl: 'https://downloads.apache.org/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-source-release.zip.asc',
             releaseNoteUrl: 'https://raw.githubusercontent.com/apache/incubator-iotdb/release/0.8.0/RELEASE_NOTES.md'
           }
         ]
diff --git a/src/views/SingleTool.vue b/src/views/SingleTool.vue
deleted file mode 100644
index cd27b76..0000000
--- a/src/views/SingleTool.vue
+++ /dev/null
@@ -1,119 +0,0 @@
-<template>
-  <div>
-    <div class="container">
-      <div class="row markdown-body">
-        <div class="col-sm-8">
-          <loading v-if="seen"></loading>
-          <language-button v-if="seen==false" :eng="eng" @click.native="switchLanguage()" />
-          <vue-markdown  v-if="seen==false" v-bind:source="md" :toc="true" :toc-anchor-link-symbol="toc" :postrender="parse"></vue-markdown>
-        </div>
-        <my-sidebar/>
-      </div>
-    </div>
-    <br>
-    <br>
-    <br>
-    <footer-bar/>
-  </div>
-</template>
-
-<script>
-  import Footer from "../components/FooterFixed"
-  import SideBar from '../components/SideBar'
-  import markdown from 'vue-markdown'
-  import axios from 'axios'
-  import Global from '../components/Global'
-  import LoadingBar from '../components/Loading'
-  import LanguageButton from '../components/LanguageButton'
-
-  export default {
-    name: "SingleTool",
-    components: {
-      'footer-bar': Footer,
-      'my-sidebar': SideBar,
-      'vue-markdown': markdown,
-      'loading': LoadingBar,
-      'language-button': LanguageButton
-    },
-    data() {
-      return {
-        msg: 'Welcome to Tool Page',
-        md: "",
-        toc: "",
-        seen: true,
-        eng: true
-      }
-    },
-    created() {
-      this.fetchData();
-    },
-    watch: {
-      '$route': 'fetchData'
-    },
-    methods: {
-      content: function () {
-        return this.$route.params.content
-      },
-      switchLanguage()  {
-        this.eng = this.eng !== true;
-        this.fetchData();
-      },
-      fetchData() {
-        const docLanguageUrl = this.eng ? Global.DOC_ENG_PREFIX : Global.DOC_CHN_PREFIX;
-        const dict = {
-          "Cli": Global.SUPPORT_VERSION[Global.DEFAULT_VERSION]['doc-prefix'] +
-          Global.SUPPORT_VERSION[Global.DEFAULT_VERSION]['branch'] + docLanguageUrl +
-          "/UserGuide/8-Tools-Cli.md",
-          "Grafana": Global.SUPPORT_VERSION[Global.DEFAULT_VERSION]['doc-prefix'] +
-          Global.SUPPORT_VERSION[Global.DEFAULT_VERSION]['branch'] + docLanguageUrl +
-          "/UserGuide/8-Tools-Grafana.md",
-          "Hadoop": Global.SUPPORT_VERSION[Global.DEFAULT_VERSION]['doc-prefix'] +
-          Global.SUPPORT_VERSION[Global.DEFAULT_VERSION]['branch'] + docLanguageUrl +
-          "/UserGuide/8-Tools-Hadoop.md",
-          "Spark": Global.SUPPORT_VERSION[Global.DEFAULT_VERSION]['doc-prefix'] +
-          Global.SUPPORT_VERSION[Global.DEFAULT_VERSION]['branch'] + docLanguageUrl +
-          "/UserGuide/8-Tools-spark.md",
-        };
-        const content = this.content();
-        let url = null;
-        if (content in dict) {
-          url = dict[content];
-        } else {
-          this.$router.push('/404');
-        }
-        const pointer = this;
-        this.seen = true;
-        axios.get(url)
-          .then(function (response) {
-            pointer.md = response.data;
-            pointer.seen = false;
-          })
-      },
-      parse(html){
-        return Global.isReadyForPrerender(html)
-      }
-    }
-  }
-</script>
-<style scoped>
-  h1, h2 {
-    font-weight: normal;
-  }
-
-  body {
-    font-family: Georgia, "Times New Roman", Times, serif;
-    color: #555;
-  }
-
-  .pager > li > a {
-    width: 140px;
-    padding: 10px 20px;
-    text-align: center;
-    border-radius: 30px;
-  }
-
-  .blog-footer p:last-child {
-    margin-bottom: 0;
-  }
-
-</style>
diff --git a/src/views/SystemDesign.vue b/src/views/SystemDesign.vue
index d2cf2fe..f99a216 100644
--- a/src/views/SystemDesign.vue
+++ b/src/views/SystemDesign.vue
@@ -304,7 +304,7 @@
     margin-bottom: 5px;
     padding: 5px;
     max-width: 80%;
-
+    line-height: 15px;
   }
 
   .list-group > li:hover {
diff --git a/src/views/Tools.vue b/src/views/Tools.vue
deleted file mode 100644
index f4726e2..0000000
--- a/src/views/Tools.vue
+++ /dev/null
@@ -1,253 +0,0 @@
-<template>
-  <div>
-    <div class="container">
-      <br>
-      <div class="row">
-        <div class="col-lg-8">
-          <div class="scene">
-            <img src="../assets/img/tools.jpg">
-          </div>
-        </div>
-        <div class="col-lg-4">
-          <div class="introduction">
-            <p><b>IoTDB</b> is an open-source time series database developed by THULab(link) which is written in JAVA.
-              In order
-              to enable IoTDB to more fully support the application of time series data, we have developed a few tools
-              for IoTDB expansion.
-            </p>
-            <ul>
-              <li><b>SQL-Like Client(Cli).</b> The Client is developed for users to interact with IoTDB engine in command line.</li>
-              <li><b>Spark & Hadoop Connector.</b> IoTDB can be also efficiently integrated with other computing frameworks in big data ecosystems (Hadoop and Spark) for advanced data analytics.
-              </li>
-              <li><b>Grafana.</b> Grafana is developed for users to visualize time series data in IoTDB using Grafana.</li>
-            </ul>
-          </div>
-        </div>
-      </div>
-      <div class="blank-row"></div>
-      <div class="tools">
-        <div class="row">
-          <div v-for="tool in Tools">
-            <div class="col-md-6 col-lg-3">
-              <div class="tool thumbnail">
-                <h3>{{tool.header}}</h3>
-                <div class="content">
-                  <p v-html="tool.content"></p>
-                </div>
-                <hr style="border-top: 1px solid rgb(100,100,100)"/>
-                <div class="tool-download">
-                  <button type="button"
-                          class="tool-download-button btn btn-default">
-                    <a v-bind:href="tool.download">
-                      <p style="font-size: medium;margin:0px 5px 0px 5px">Download</p>
-                    </a>
-                  </button>
-                </div>
-                <div class="brank-row"></div>
-                <div class="tool-documentation">
-                  <button type="button" class="tool-documentation-button btn btn-default">
-                    <router-link :to=tool.documentation>
-                      <p style="color: white; font-size: medium;margin:0px 5px 0px 5px">Documentation</p>
-                    </router-link>
-                  </button>
-                  <br>
-                </div>
-              </div>
-            </div>
-          </div>
-        </div>
-      </div>
-    </div>
-    <footer-bar/>
-  </div>
-</template>
-
-<script>
-  import Footer from "../components/FooterFixed"
-
-  export default {
-    name: "Tools",
-    components: {
-      'footer-bar': Footer
-    },
-    data() {
-      return {
-        "Tools": [
-          {
-            "header": "IoTDB-Cli",
-            "content": "Client tool used to read and <br/>write data",
-            "download": this.GLOBAL.downloadIotdbCli,
-            "documentation": "/Tools/Cli"
-          },
-          {
-            "header": "Grafana Connector",
-            "content": "Time Series Data<br/>Visualization",
-            "download": this.GLOBAL.downloadGrafanaConnector,
-            "documentation": "/Tools/Grafana"
-          },
-          {
-            "header": "Hadoop Connector",
-            "content": "Connector tool to use Hadoop to process data from IoTDB",
-            "download": this.GLOBAL.downloadHadoopConnector,
-            "documentation": "/Tools/Hadoop"
-          },
-          {
-            "header": "Spark Connector",
-            "content": "Connector tool to use spark<br/>to process data",
-            "download": this.GLOBAL.downloadSparkConnector,
-            "documentation": "/Tools/Spark"
-          }
-        ]
-      }
-    },
-    methods: {}
-  }
-</script>
-
-<style scoped>
-
-  .scene {
-    /*border: 1px solid;*/
-    /*border-radius: 1px;*/
-    /*padding: 10px;*/
-    background: white;
-    float: left;
-  }
-
-  .scene > img {
-    width: 100%;
-    height: auto;
-    display: block;
-  }
-
-  .introduction {
-    border: 1px solid;
-    border-radius: 2px;
-    border-color: rgb(89,93,105);
-    border-style: dashed;
-    /*background-color: rgb(56,56,68);*/
-    /*margin: 2px 2px 2px 2px;*/
-    float: right;
-    height: 100%;
-    overflow: auto;
-    padding: 15px 15px 25px 15px;
-  }
-
-  .introduction > p {
-    /*color: white;*/
-    color: black;
-    font-size: medium;
-    word-break: break-all;
-    font-size: 14px;
-    line-height: 1.6;
-
-  }
-
-  .introduction > ul {
-    /*color: white;*/
-    color: black;
-    word-break: break-all;
-    font-size: 14px;
-    padding-left: 20px;
-    /*letter-spacing:0.5px;*/
-    line-height: 1.6;
-  }
-
-  .introduction > p > b {
-    color: #fcac45;
-    font-size: 20px;
-  }
-
-  .introduction > ul > li > b {
-    color: #fcac45;
-  }
-
-  .tool {
-    text-align: center;
-    border: 2px solid;
-    background: rgb(49,49,60);
-    padding: 20px 20px;
-    width: 98%;
-  }
-
-  .content {
-    height: 80px;
-  }
-
-  .content > p {
-    color: white;
-    text-align: center;
-    font-size: small;
-    margin-bottom: 0;
-  }
-
-  .tool > h3 {
-    color: white;
-    text-align: center;
-    height: 40px;
-  }
-
-  .tool > p {
-    color: white;
-    text-align: center;
-    font-size: small;
-  }
-
-  .tool-download {
-    text-align: center;
-    margin-top: 30px;
-  }
-
-  .tool-documentation {
-    text-align: center;
-    margin-top: 10px;
-  }
-
-  .tool-download-button {
-    border-radius: 6px;
-    width: 90%;
-    background: #fcac45;
-    font-size: x-large;
-    border: 1px solid #fcac45;
-  }
-
-  .tool-download-button > a:hover, a:visited, a:link, a:active {
-    color: white;
-  }
-
-  .tool-documentation-button {
-    border-radius: 6px;
-    width: 90%;
-    background: rgb(56,56,68);
-    font-size: x-large;
-    border: 1px solid #fcac45;
-  }
-
-  .tools .col-lg-3 {
-    margin-bottom: 20px;
-    text-align: center;
-  }
-
-  .tools .col-lg-3 p {
-    margin-right: 10px;
-    margin-left: 10px;
-  }
-
-  .tools h2 {
-    font-weight: normal;
-  }
-
-  .tools h1 {
-    font-weight: normal;
-  }
-
-  .blank-row {
-    height: 25px;
-  }
-
-  .content > p {
-    font-size: 16px;
-  }
-
-
-</style>