This is an automated email from the ASF dual-hosted git repository. zhaoc pushed a commit to branch branch-0.11 in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/branch-0.11 by this push: new 589fcac [website] Modify download links(branch-0.11) (#3575) 589fcac is described below commit 589fcac2f5be331d8c20a8c5bda7235b0a43bc97 Author: hffariel <527305...@qq.com> AuthorDate: Tue May 19 12:18:27 2020 +0800 [website] Modify download links(branch-0.11) (#3575) --- docs/en/community/verify-apache-release.md | 40 ++++++++++++------------- docs/zh-CN/community/verify-apache-release.md | 42 +++++++++++++-------------- 2 files changed, 41 insertions(+), 41 deletions(-) diff --git a/docs/en/community/verify-apache-release.md b/docs/en/community/verify-apache-release.md index 549fb2e..036c0f9 100644 --- a/docs/en/community/verify-apache-release.md +++ b/docs/en/community/verify-apache-release.md @@ -20,42 +20,42 @@ To verify the release, following checklist can used to reference: ## 1. Download source package, signature file, hash file and KEYS -Download all artifacts, take 0.9.0-incubating-rc01 as an example: +Download all artifacts, take 0.9.0-incubating as an example: -``` -wget https://dist.apache.org/repos/dist/dev/incubator/doris/0.9.0-incubating-rc01/apache-doris-0.9.0.rc01-incubating-src.tar.gz +``` shell +wget https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=/incubator/doris/0.9.0-incubating/apache-doris-0.9.0-incubating-src.tar.gz -wget https://dist.apache.org/repos/dist/dev/incubator/doris/0.9.0-incubating-rc01/apache-doris-0.9.0.rc01-incubating-src.tar.gz.sha512 +wget https://www.apache.org/dist/incubator/doris/0.9.0-incubating/apache-doris-0.9.0-incubating-src.tar.gz.sha512 -wget https://dist.apache.org/repos/dist/dev/incubator/doris/0.9.0-incubating-rc01/apache-doris-0.9.0.rc01-incubating-src.tar.gz.asc +wget https://www.apache.org/dist/incubator/doris/0.9.0-incubating/apache-doris-0.9.0-incubating-src.tar.gz.asc -wget https://dist.apache.org/repos/dist/dev/incubator/doris/KEYS +wget https://www.apache.org/dist/incubator/doris/KEYS ``` ## 2. Verify signature and hash GnuPG is recommended, which can install by yum install gnupg or apt-get install gnupg. -``` +``` shell gpg --import KEYS -gpg --verify apache-doris-0.9.0.rc01-incubating-src.tar.gz.asc apache-doris-0.9.0.rc01-incubating-src.tar.gz -sha512sum --check apache-doris-0.9.0.rc01-incubating-src.tar.gz.sha512 +gpg --verify apache-doris-0.9.0-incubating-src.tar.gz.asc apache-doris-0.9.0-incubating-src.tar.gz +sha512sum --check apache-doris-0.9.0-incubating-src.tar.gz.sha512 ``` ## 3. Verify license header Apache RAT is recommended to verify license headder, which can dowload as following command. -``` -wget http://mirrors.tuna.tsinghua.edu.cn/apache//creadur/apache-rat-0.12/apache-rat-0.12-bin.tar.gz -tar zxvf apache -rat -0.12 -bin.tar.gz +``` shell +wget http://mirrors.tuna.tsinghua.edu.cn/apache//creadur/apache-rat-0.13/apache-rat-0.13-bin.tar.gz +tar zxvf apache -rat -0.13 -bin.tar.gz ``` -Given your source dir is apache-doris-0.9.0.rc01-incubating-src, you can check with following command. +Given your source dir is apache-doris-0.9.0-incubating-src, you can check with following command. It will output a file list which don't include ASF license header, and these files used other licenses. -``` -/usr/java/jdk/bin/java -jar apache-rat-0.12/apache-rat-0.12.jar -a -d apache-doris-0.10.0-incubating-src -e *.md *.MD .gitignore .gitmodules .travis.yml manifest **vendor** **licenses** | grep File: | grep -v "test_data" | grep -v "gutil" | grep -v "json" | grep -v "patch" | grep -v "xml" | grep -v "conf" | grep -v "svg" +``` shell +/usr/java/jdk/bin/java -jar apache-rat-0.13/apache-rat-0.13.jar -a -d apache-doris-0.10.0-incubating-src -e *.md *.MD .gitignore .gitmodules .travis.yml manifest **vendor** **licenses** | grep File: | grep -v "test_data" | grep -v "gutil" | grep -v "json" | grep -v "patch" | grep -v "xml" | grep -v "conf" | grep -v "svg" ``` ## 4. Verify building @@ -66,13 +66,13 @@ And then you could build Doris as following steps: #### Step1: Pull the docker image with Doris building environment -``` +``` shell $ docker pull apachedoris/doris-dev:build-env ``` You can check it by listing images, for example: -``` +``` shell $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE apachedoris/doris-dev build-env f8bc5d4024e0 21 hours ago 3.28GB @@ -82,7 +82,7 @@ apachedoris/doris-dev build-env f8bc5d4024e0 21 hours ago You can run image directyly: -``` +``` shell $ docker run -it apachedoris/doris-dev:build-env ``` @@ -90,14 +90,14 @@ $ docker run -it apachedoris/doris-dev:build-env Now you should in docker environment, and you can download Doris source by release package or by git clone in image. (If you have downloaded source and it is not in image, you can map its path to image in Step2.) -``` +``` shell $ wget https://dist.apache.org/repos/dist/dev/incubator/doris/xxx.tar.gz ``` #### Step4: Build Doris Now you can enter Doris source path and build Doris. -``` +``` shell $ cd incubator-doris $ sh build.sh ``` diff --git a/docs/zh-CN/community/verify-apache-release.md b/docs/zh-CN/community/verify-apache-release.md index 0cca601..56ad064 100644 --- a/docs/zh-CN/community/verify-apache-release.md +++ b/docs/zh-CN/community/verify-apache-release.md @@ -20,42 +20,42 @@ To verify the release, following checklist can used to reference: ## 1. Download source package, signature file, hash file and KEYS -Download all artifacts, take 0.9.0-incubating-rc01 as an example: +Download all artifacts, take 0.9.0-incubating as an example: -``` -wget https://dist.apache.org/repos/dist/dev/incubator/doris/0.9.0-incubating-rc01/apache-doris-0.9.0.rc01-incubating-src.tar.gz +``` shell +wget https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=/incubator/doris/0.9.0-incubating/apache-doris-0.9.0-incubating-src.tar.gz -wget https://dist.apache.org/repos/dist/dev/incubator/doris/0.9.0-incubating-rc01/apache-doris-0.9.0.rc01-incubating-src.tar.gz.sha512 +wget https://www.apache.org/dist/incubator/doris/0.9.0-incubating/apache-doris-0.9.0-incubating-src.tar.gz.sha512 -wget https://dist.apache.org/repos/dist/dev/incubator/doris/0.9.0-incubating-rc01/apache-doris-0.9.0.rc01-incubating-src.tar.gz.asc +wget https://www.apache.org/dist/incubator/doris/0.9.0-incubating/apache-doris-0.9.0-incubating-src.tar.gz.asc -wget https://dist.apache.org/repos/dist/dev/incubator/doris/KEYS +wget https://www.apache.org/dist/incubator/doris/KEYS ``` -## 2. Verify signature and hash +## 2. Verify signature and hash GnuPG is recommended, which can install by yum install gnupg or apt-get install gnupg. -``` +``` shell gpg --import KEYS -gpg --verify apache-doris-0.9.0.rc01-incubating-src.tar.gz.asc apache-doris-0.9.0.rc01-incubating-src.tar.gz -sha512sum --check apache-doris-0.9.0.rc01-incubating-src.tar.gz.sha512 +gpg --verify apache-doris-0.9.0-incubating-src.tar.gz.asc apache-doris-0.9.0-incubating-src.tar.gz +sha512sum --check apache-doris-0.9.0-incubating-src.tar.gz.sha512 ``` ## 3. Verify license header Apache RAT is recommended to verify license headder, which can dowload as following command. -``` -wget http://mirrors.tuna.tsinghua.edu.cn/apache//creadur/apache-rat-0.12/apache-rat-0.12-bin.tar.gz -tar zxvf apache-rat-0.12-bin.tar.gz +``` shell +wget http://mirrors.tuna.tsinghua.edu.cn/apache//creadur/apache-rat-0.13/apache-rat-0.13-bin.tar.gz +tar zxvf apache-rat-0.13-bin.tar.gz ``` -Given your source dir is apache-doris-0.9.0.rc01-incubating-src, you can check with following command. +Given your source dir is apache-doris-0.9.0-incubating-src, you can check with following command. It will output a file list which don't include ASF license header, and these files used other licenses. -``` -/usr/java/jdk/bin/java -jar apache-rat-0.12/apache-rat-0.12.jar -a -d apache-doris-0.10.0-incubating-src -e *.md *.MD .gitignore .gitmodules .travis.yml manifest **vendor** **licenses** | grep File: | grep -v "test_data" | grep -v "gutil" | grep -v "json" | grep -v "patch" | grep -v "xml" | grep -v "conf" | grep -v "svg" +``` shell +/usr/java/jdk/bin/java -jar apache-rat-0.13/apache-rat-0.13.jar -a -d apache-doris-0.10.0-incubating-src -e *.md *.MD .gitignore .gitmodules .travis.yml manifest **vendor** **licenses** | grep File: | grep -v "test_data" | grep -v "gutil" | grep -v "json" | grep -v "patch" | grep -v "xml" | grep -v "conf" | grep -v "svg" ``` ## 4. Verify building @@ -66,13 +66,13 @@ And then you could build Doris as following steps: #### Step1: Pull the docker image with Doris building environment -``` +``` shell $ docker pull apachedoris/doris-dev:build-env ``` You can check it by listing images, for example: -``` +``` shell $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE apachedoris/doris-dev build-env f8bc5d4024e0 21 hours ago 3.28GB @@ -82,7 +82,7 @@ apachedoris/doris-dev build-env f8bc5d4024e0 21 hours ago You can run image directyly: -``` +``` shell $ docker run -it apachedoris/doris-dev:build-env ``` @@ -90,14 +90,14 @@ $ docker run -it apachedoris/doris-dev:build-env Now you should in docker environment, and you can download Doris source by release package or by git clone in image. (If you have downloaded source and it is not in image, you can map its path to image in Step2.) -``` +``` shell $ wget https://dist.apache.org/repos/dist/dev/incubator/doris/xxx.tar.gz ``` #### Step4: Build Doris Now you can enter Doris source path and build Doris. -``` +``` shell $ cd incubator-doris $ sh build.sh ``` --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org