You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/03/16 08:48:39 UTC
[pulsar-site] branch main updated: fix: image missing in docs/cookbooks-retention-expiry.md
This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new 591458b fix: image missing in docs/cookbooks-retention-expiry.md
591458b is described below
commit 591458b4cfe8603d937455aa7ce3385c8a79c416
Author: LiLi <ur...@apache.org>
AuthorDate: Wed Mar 16 16:46:23 2022 +0800
fix: image missing in docs/cookbooks-retention-expiry.md
Signed-off-by: LiLi <ur...@apache.org>
---
site2/website-next/docs/cookbooks-retention-expiry.md | 1 -
site2/website-next/scripts/release-notes.sh | 9 ++++-----
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/site2/website-next/docs/cookbooks-retention-expiry.md b/site2/website-next/docs/cookbooks-retention-expiry.md
index 1229144..86160c3 100644
--- a/site2/website-next/docs/cookbooks-retention-expiry.md
+++ b/site2/website-next/docs/cookbooks-retention-expiry.md
@@ -205,7 +205,6 @@ You can control the allowable size and/or time of backlogs, at the namespace lev
The diagram below illustrates the concept of backlog quota.
![](/assets/backlog-quota.svg)
-![](/assets/backlog-quota.png)
Setting a backlog quota involves setting:
diff --git a/site2/website-next/scripts/release-notes.sh b/site2/website-next/scripts/release-notes.sh
index ce196e6..33d1a85 100755
--- a/site2/website-next/scripts/release-notes.sh
+++ b/site2/website-next/scripts/release-notes.sh
@@ -1,19 +1,18 @@
#! /bin/sh
-# echo -e "\n\nY\n" | ./release-notes.sh
ROOT_DIR=$(git rev-parse --show-toplevel)
TOKEN=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
echo $TOKEN >./token
-# gh auth login --with-token <token
+gh auth login --with-token <token
cd $ROOT_DIR/../pulsar
mkdir -p $ROOT_DIR/site2/website-next/scripts/release-notes
VERSIONS=$(cat $ROOT_DIR/site2/website-next/versions-full.json | jq -r ".[]")
-# for version in $VERSIONS; do
-# gh pr list --limit 200 --label "release/"$version --state merged --json labels,title,number > $ROOT_DIR/site2/website-next/scripts/release-notes/$version.json
-# done
+for version in $VERSIONS; do
+ gh pr list --limit 200 --label "release/"$version --state merged --json labels,title,number > $ROOT_DIR/site2/website-next/scripts/release-notes/$version.json
+done
node $ROOT_DIR/site2/website-next/scripts/release-notes.js $ROOT_DIR