You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ag...@apache.org on 2022/05/09 20:34:22 UTC
[arrow-datafusion] branch master updated: Limit cpu cores used when generating changelog (#2494)
This is an automated email from the ASF dual-hosted git repository.
agrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/master by this push:
new a7c3b08da Limit cpu cores used when generating changelog (#2494)
a7c3b08da is described below
commit a7c3b08da5462124c26064e28b040e9849ed5c83
Author: Andy Grove <ag...@apache.org>
AuthorDate: Mon May 9 14:34:16 2022 -0600
Limit cpu cores used when generating changelog (#2494)
---
dev/release/README.md | 4 ++++
dev/release/update_change_log.sh | 1 +
2 files changed, 5 insertions(+)
diff --git a/dev/release/README.md b/dev/release/README.md
index 2c42ad54c..e3bcbed09 100644
--- a/dev/release/README.md
+++ b/dev/release/README.md
@@ -127,6 +127,10 @@ CHANGELOG_GITHUB_TOKEN=<TOKEN> ./dev/release/update_change_log-all.sh master 8.0
git commit -a -m 'Create changelog for release'
```
+_If you see the error `"You have exceeded a secondary rate limit"` when running this script, try reducing the CPU
+allocation to slow the process down and throttle the number of GitHub requests made per minute, by modifying the
+value of the `--cpus` argument in the `update_change_log.sh` script._
+
You can add `invalid` or `development-process` label to exclude items from
release notes. Add `datafusion`, `ballista` and `python` labels to group items
into each sub-project's change log.
diff --git a/dev/release/update_change_log.sh b/dev/release/update_change_log.sh
index 07ba6f979..28daf3d75 100755
--- a/dev/release/update_change_log.sh
+++ b/dev/release/update_change_log.sh
@@ -55,6 +55,7 @@ git checkout "${SINCE_TAG}" "${OUTPUT_PATH}"
sed -i.bak '1,18d' "${OUTPUT_PATH}"
docker run -it --rm \
+ --cpus "0.1" \
-e CHANGELOG_GITHUB_TOKEN=$CHANGELOG_GITHUB_TOKEN \
-v "$(pwd)":/usr/local/src/your-app \
githubchangeloggenerator/github-changelog-generator \