You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by eo...@apache.org on 2022/05/25 13:01:16 UTC
[bookkeeper] branch master updated: [website] Make download page fully ASF compliant (#3291)
This is an automated email from the ASF dual-hosted git repository.
eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 43fc9c2322 [website] Make download page fully ASF compliant (#3291)
43fc9c2322 is described below
commit 43fc9c232253dd30d6d18f1235e3dc978b1fbe1a
Author: Nicolò Boschi <bo...@gmail.com>
AuthorDate: Wed May 25 15:01:07 2022 +0200
[website] Make download page fully ASF compliant (#3291)
---
site3/website/docusaurus.config.js | 1 -
site3/website/src/components/RecentReleases/index.js | 8 ++++----
site3/website/src/pages/releases.md | 3 ++-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/site3/website/docusaurus.config.js b/site3/website/docusaurus.config.js
index 4dfed55890..d702c60d21 100644
--- a/site3/website/docusaurus.config.js
+++ b/site3/website/docusaurus.config.js
@@ -13,7 +13,6 @@ const variables = {
github_master: "https://github.com/apache/bookkeeper/tree/master",
mirror_base_url: "https://www.apache.org/dyn/closer.lua/bookkeeper",
dist_base_url: "https://www.apache.org/dist/bookkeeper",
- archive_base_url: "https://archive.apache.org/dist/bookkeeper",
javadoc_base_url: deployUrl + "/docs/latest/api/javadoc",
archive_releases_base_url: deployUrl + "/archives",
}
diff --git a/site3/website/src/components/RecentReleases/index.js b/site3/website/src/components/RecentReleases/index.js
index 4d115d49e3..6f58f3dfca 100644
--- a/site3/website/src/components/RecentReleases/index.js
+++ b/site3/website/src/components/RecentReleases/index.js
@@ -6,8 +6,8 @@ const releases = versions.slice(0, 4)
export default function RecentReleases() {
const mappedReleases = releases.map(r => {
- const sourceDownloadUrl = `https://archive.apache.org/dist/bookkeeper/bookkeeper-${r}/bookkeeper-${r}-src.tar.gz`
- const binaryDownloadUrl = `https://archive.apache.org/dist/bookkeeper/bookkeeper-${r}/bookkeeper-server-${r}-bin.tar.gz`
+ const sourceDownloadUrl = `https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=bookkeeper/bookkeeper-${r}/bookkeeper-${r}-src.tar.gz`
+ const binaryDownloadUrl = `https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=bookkeeper/bookkeeper-${r}/bookkeeper-server-${r}-bin.tar.gz`
return (
<div>
<h3 id={r}>Version {r}</h3>
@@ -21,12 +21,12 @@ export default function RecentReleases() {
<tr>
<td>Source</td>
<td><a href={sourceDownloadUrl}>bookkeeper-{r}-src.tar.gz</a></td>
- <td><a href={sourceDownloadUrl + '.asc'}>asc</a>, <a href={sourceDownloadUrl + '.sha1'}>sha1</a></td>
+ <td><a href={sourceDownloadUrl + '.asc'}>asc</a>, <a href={sourceDownloadUrl + '.sha512'}>sha512</a></td>
</tr>
<tr>
<td>Binary</td>
<td><a href={binaryDownloadUrl}>bookkeeper-server-{r}-bin.tar.gz</a></td>
- <td><a href={binaryDownloadUrl + '.asc'}>asc</a>, <a href={binaryDownloadUrl + '.sha1'}>sha1</a></td>
+ <td><a href={binaryDownloadUrl + '.asc'}>asc</a>, <a href={binaryDownloadUrl + '.sha512'}>sha512</a></td>
</tr>
</tbody>
</table>
diff --git a/site3/website/src/pages/releases.md b/site3/website/src/pages/releases.md
index 46b6329541..b175b9553a 100644
--- a/site3/website/src/pages/releases.md
+++ b/site3/website/src/pages/releases.md
@@ -11,7 +11,8 @@ import RecentReleases from "@site/src/components/RecentReleases"
<RecentReleases />
-> You can verify your download by following these [procedures](http://www.apache.org/info/verification.html) and using these [KEYS]({{ site.dist_base_url }}/KEYS).
+## Release Integrity
+You must [verify](https://www.apache.org/info/verification.html) the integrity of the downloaded files. We provide OpenPGP signatures for every release file. This signature should be matched against the [KEYS]({{ site.dist_base_url }}/KEYS) file which contains the OpenPGP keys of BookKeeper's Release Managers. We also provide SHA-512 checksums for every release file. After you download the file, you should calculate a checksum for your download, and make sure it is the same as ours.
If you want to download older, archived releases, they are available in the [Apache archive](http://archive.apache.org/dist/bookkeeper/).