From 2c7a565164cfa19ea6981b00cb2d747969fa9b84 Mon Sep 17 00:00:00 2001 From: ulysses-you Date: Thu, 9 Jun 2022 20:11:28 +0800 Subject: [PATCH] [KYUUBI #2839] Refactor changelog ### _Why are the changes needed?_ refactor the changelog script to fix: - the nit of Apache Kyuubi(Incubating) - the format of the output changelog ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #2839 from ulysses-you/changelog. Closes #2839 d9e2b6d0 [ulysses-you] comments b966dc30 [ulysses-you] comments 5f94c52d [ulysses-you] refactor 18cdde22 [ulysses-you] refactor 009699c3 [ulysses-you] Merge branch 'master' of https://github.com/apache/incubator-kyuubi into changelog 76419a92 [ulysses-you] fix 1a4090fc [ulysses-you] nit b6154b58 [ulysses-you] changelog Authored-by: ulysses-you Signed-off-by: ulysses-you --- build/release/generate_changelog.sh | 5 +++-- docs/changelog/v1.5.1-incubating.md | 21 +++++++++++---------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/build/release/generate_changelog.sh b/build/release/generate_changelog.sh index efc454da4ba..a3a773418c0 100755 --- a/build/release/generate_changelog.sh +++ b/build/release/generate_changelog.sh @@ -49,6 +49,7 @@ if [ "${LAST_RELEASE_TAG}" = "-h" ]; then fi ## Add title for changelog doc. -echo "## Changelog for Apache Incubating Kyuubi $RELEASE_VERSION " > $CHANGELOG_PATH +echo "## Changelog for Apache Kyuubi(Incubating) $RELEASE_VERSION" > $CHANGELOG_PATH +echo "" >> $CHANGELOG_PATH ## Append well-formatted git log to changelog file. -git log --pretty="- [%s]($KYUUBI_GITHUB_COMMIT_URL%h) " $LAST_RELEASE_TAG..$CURRENT_RELEASE_TAG | grep -v "\[RELEASE\]" >> $CHANGELOG_PATH \ No newline at end of file +git log --pretty="[%s]($KYUUBI_GITHUB_COMMIT_URL%h) " $LAST_RELEASE_TAG..$CURRENT_RELEASE_TAG | grep -v "\[RELEASE\]" >> $CHANGELOG_PATH diff --git a/docs/changelog/v1.5.1-incubating.md b/docs/changelog/v1.5.1-incubating.md index c6c048f3896..405eba74fd4 100644 --- a/docs/changelog/v1.5.1-incubating.md +++ b/docs/changelog/v1.5.1-incubating.md @@ -1,10 +1,11 @@ -## Changelog for Apache Incubating Kyuubi v1.5.1-incubating -- [[KYUUBI #2354] Fix NPE in process builder log capture thread](https://github.com/apache/incubator-kyuubi/commit/5e76334) -- [[KYUUBI #2296] Fix operation log file handler leak](https://github.com/apache/incubator-kyuubi/commit/809ea2a) -- [[KYUUBI #2266] The default value of frontend.connection.url.use.hostname should be set to true to be consistent with previous versions](https://github.com/apache/incubator-kyuubi/commit/d3e25f0) -- [[KYUUBI #2255]The engine state of Spark's EngineEvent is hardcoded with 0](https://github.com/apache/incubator-kyuubi/commit/2af8bbb) -- [[KYUUBI #2008][FOLLOWUP] Support engine type and subdomain in kyuubi-ctl](https://github.com/apache/incubator-kyuubi/commit/d1a2dda) -- [[KYUUBI #2156][FOLLOWUP] Fix configuration format in document](https://github.com/apache/incubator-kyuubi/commit/5225b54) -- [[KYUUBI #2156] Change log to reflect exactly why getting token failed](https://github.com/apache/incubator-kyuubi/commit/21ca754) -- [[KYUUBI #2134] Respect Spark bundled log4j in extension modules](https://github.com/apache/incubator-kyuubi/commit/30dc84b) -- [[KYUUBI #2150] [DOCS] Fix Getting Started With Kyuubi on Kubernetes](https://github.com/apache/incubator-kyuubi/commit/e232a83) +## Changelog for Apache Kyuubi(Incubating) v1.5.1-incubating + +[[KYUUBI #2354] Fix NPE in process builder log capture thread](https://github.com/apache/incubator-kyuubi/commit/5e76334e) +[[KYUUBI #2296] Fix operation log file handler leak](https://github.com/apache/incubator-kyuubi/commit/809ea2a6) +[[KYUUBI #2266] The default value of frontend.connection.url.use.hostname should be set to true to be consistent with previous versions](https://github.com/apache/incubator-kyuubi/commit/d3e25f08) +[[KYUUBI #2255]The engine state of Spark's EngineEvent is hardcoded with 0](https://github.com/apache/incubator-kyuubi/commit/2af8bbb4) +[[KYUUBI #2008][FOLLOWUP] Support engine type and subdomain in kyuubi-ctl](https://github.com/apache/incubator-kyuubi/commit/d1a2dda0) +[[KYUUBI #2156][FOLLOWUP] Fix configuration format in document](https://github.com/apache/incubator-kyuubi/commit/5225b540) +[[KYUUBI #2156] Change log to reflect exactly why getting token failed](https://github.com/apache/incubator-kyuubi/commit/21ca7540) +[[KYUUBI #2134] Respect Spark bundled log4j in extension modules](https://github.com/apache/incubator-kyuubi/commit/30dc84b5) +[[KYUUBI #2150] [DOCS] Fix Getting Started With Kyuubi on Kubernetes](https://github.com/apache/incubator-kyuubi/commit/e232a83a)