This is an automated email from the ASF dual-hosted git repository. szetszwo pushed a commit to branch asf-site-source in repository https://gitbox.apache.org/repos/asf/ratis-hadoop-projects.git
commit 4e84c67eb49e59b1809217f016bdc116b3ab3295 Author: Tsz-Wo Nicholas Sze <[email protected]> AuthorDate: Wed Oct 6 17:48:07 2021 +0800 RATIS-1413. Download page must not use dist.apache.org (#515) --- build.sh | 2 +- layouts/custompage/downloads.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 46cf4bb..3ebd79f 100755 --- a/build.sh +++ b/build.sh @@ -60,7 +60,7 @@ artifact="creadur/apache-rat-${rat_version}/${filename}" if [ ! -f "$DIR/build/${filename}" ]; then echo "RAT installation missing, download to build/" curl -L --fail -o "${DIR}/build/${filename}" "https://www.apache.org/dyn/closer.lua?filename=${artifact}&action=download" - curl -L --fail -o "${DIR}/build/${filename}.sha512" "https://dist.apache.org/repos/dist/release/${artifact}.sha512" + curl -L --fail -o "${DIR}/build/${filename}.sha512" "https://downloads.apache.org/${artifact}.sha512" fi if [ ! -d "$DIR/build/apache-rat-${rat_version}" ]; then diff --git a/layouts/custompage/downloads.html b/layouts/custompage/downloads.html index 48d0fec..246c9f6 100644 --- a/layouts/custompage/downloads.html +++ b/layouts/custompage/downloads.html @@ -71,7 +71,7 @@ The binaries are also uploaded to the maven central for convenience. (See the ge <li>Download the release apache-ratis-X.Y.Z-src.tar.gz from a <a href="https://www.apache.org/dyn/closer.cgi/ratis">mirror site</a>.</li> <li>Download the signature file apache-ratis-X.Y.Z-src.tar.gz.asc from -<a href="https://dist.apache.org/repos/dist/release/ratis/">Apache</a>.</li> +<a href="https://downloads.apache.org/ratis/">Apache</a>.</li> <li>Download the <a href="https://downloads.apache.org/ratis/KEYS">Ratis KEYS</a> file.</li> <li>gpg --import KEYS</li> <li>gpg --verify apache-ratis-X.Y.Z-src.tar.gz.asc</li> @@ -81,7 +81,7 @@ site</a>.</li> <li>Download the release apache-ratis-X.Y.Z-src.tar.gz from a <a href="https://www.apache.org/dyn/closer.cgi/ratis">mirror site</a>.</li> <li>Download the checksum apache-ratis-X.Y.Z-src.tar.gz.mds from -<a href="https://dist.apache.org/repos/dist/release/ratis/">Apache</a>.</li> +<a href="https://downloads.apache.org/ratis/">Apache</a>.</li> <li>shasum -a 256 apache-ratis-X.Y.Z-src.tar.gz</li> </ol> <p>All previous releases of Ratis are available from the <a href="https://archive.apache.org/dist/ratis/">Apache release
