This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push:
new db62ec3 Improve changelog generator script settings (#1210)
db62ec3 is described below
commit db62ec32ff530cfd103bc3f8147cd1289fcb13cc
Author: Andrew Lamb <[email protected]>
AuthorDate: Fri Jan 21 06:58:45 2022 -0500
Improve changelog generator script settings (#1210)
* Update changelog script
* fix typo
---
.github_changelog_generator | 6 ++----
.gitignore | 5 ++++-
dev/release/update_change_log.sh | 10 ++++++----
3 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/.github_changelog_generator b/.github_changelog_generator
index b02125c..cc23a63 100644
--- a/.github_changelog_generator
+++ b/.github_changelog_generator
@@ -18,10 +18,8 @@
# under the License.
#
-# point to the old changelog in apache/arrow
-front-matter=For older versions, see
[apache/arrow/CHANGELOG.md](https://github.com/apache/arrow/blob/master/CHANGELOG.md)\n
-# some issues are just documentation
-add-sections={"documentation":{"prefix":"**Documentation
updates:**","labels":["documentation"]}}
+# Add special sections for documentation, security and performance
+add-sections={"documentation":{"prefix":"**Documentation
updates:**","labels":["documentation"]},"security":{"prefix":"**Security
updates:**","labels":["security"]},"performance":{"prefix":"**Performance
improvements:**","labels":["performance"]}}
# uncomment to not show PRs. TBD if we shown them or not.
#pull-requests=false
# so that the component is shown associated with the issue
diff --git a/.gitignore b/.gitignore
index 8c158a2..2088dd5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,4 +7,7 @@ rusty-tags.vi
.vscode
venv/*
# created by doctests
-parquet/data.parquet
\ No newline at end of file
+parquet/data.parquet
+# release notes cache
+.githubchangeloggenerator.cache
+.githubchangeloggenerator.cache.log
\ No newline at end of file
diff --git a/dev/release/update_change_log.sh b/dev/release/update_change_log.sh
index 52e2733..d6a4d63 100755
--- a/dev/release/update_change_log.sh
+++ b/dev/release/update_change_log.sh
@@ -36,7 +36,9 @@ pushd ${SOURCE_TOP_DIR}
docker run -it --rm -e CHANGELOG_GITHUB_TOKEN=$CHANGELOG_GITHUB_TOKEN -v
"$(pwd)":/usr/local/src/your-app
githubchangeloggenerator/github-changelog-generator \
--user apache \
--project arrow-rs \
- --since-tag 6.0.0 \
- --future-release 7.0.0
-
-sed -i "s/\\\n/\n\n/" CHANGELOG.md
+ --cache-file=.githubchangeloggenerator.cache \
+ --cache-log=.githubchangeloggenerator.cache.log \
+ --http-cache \
+ --max-issues=300 \
+ --since-tag 7.0.0 \
+ --future-release 8.0.0