forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripts/release-notes: report missing RNs, don't skip standalone commits
Prior to this patch, the release note script would skip over standalone commits (without a PR) when extracting release notes. This was defective, as the git history does have a few example standalone commits, with release note but without PR. Additionally, the script now reports PRs that are missing release notes *or only use 'Release note: none'*, which may indicate that the engineer did not bother filling in a note despite the presence of a user-facing change. For example: ``` $ python3 scripts/release-notes.py \ --from v19.2.0-beta.20190930 \ --until provisional_201911080435_v19.2.0-rc.5 ``` Outputs (snippet): - Andrei Matei: - 2019-10-04 [cockroachdb#41303][cockroachdb#41303] [ca32e6f][ca32e6f] sql: remove dead code [NO RELEASE NOTE] - 2019-10-05 [cockroachdb#41307][cockroachdb#41307] [1c99165][1c99165] sql: fix various problematic uses of the txn in DistSQL flows (4 commits) - 2019-10-28 [cockroachdb#41935][cockroachdb#41935] [bad8e55][bad8e55] settings/cluster: introducing the 19.2 cluster version [NO RELEASE NOTE] In this example, the first PR has no release note but does not deserve one. The second has a release note. The third is marked with "Release note: None" but **there should really have been a release note**: the introduction of the major cluster version is an important user-facing change and should be announced. By highlighting the missing release notes in this way, the script gives an opportunity to the doc writer(s) to find additional user-facing changes that need to be documented. [cockroachdb#41303]: cockroachdb#41303 [cockroachdb#41307]: cockroachdb#41307 [cockroachdb#41935]: cockroachdb#41935 [ca32e6f]: cockroachdb@ca32e6ff0 [1c99165]: cockroachdb@1c99165c3 [bad8e55]: cockroachdb@bad8e55bb Release note: None
- Loading branch information
Showing
14 changed files
with
122 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* aebaacf8730eba9e9530f92b12179a450d532ec7 master update | ||
* 89f7cef5fdf8310a9d5a97789c6152a2b9da5921 initial |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
### Bug fixes | ||
|
||
- Some fix. [#unknown][#unknown] [aebaacf87][aebaacf87] | ||
|
||
### Doc updates | ||
|
||
Docs team: Please add these manually. | ||
|
||
### Contributors | ||
|
||
This release includes 1 standalone commit by 1 author. | ||
We would like to thank the following contributors from the CockroachDB community: | ||
|
||
- test10 | ||
|
||
### PRs merged by contributors | ||
|
||
- test10: | ||
- 2018-04-22 [#unknown][#unknown] [aebaacf87][aebaacf87] (+ 0 - 0 ~ 0/ 0) master update | ||
|
||
|
||
[#unknown]: https://github.com/cockroachdb/cockroach/pull/unknown | ||
[aebaacf87]: https://github.com/cockroachdb/cockroach/commit/aebaacf87 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/sh | ||
set -eux | ||
|
||
. common.sh | ||
|
||
t=test10 | ||
relnotescript=${1:?} | ||
rewrite=${2:-} | ||
|
||
test_init | ||
|
||
( | ||
cd $t | ||
init_repo | ||
git checkout -b feature | ||
make_change "feature A" | ||
tag_pr 1 | ||
git checkout master | ||
|
||
make_change "master update | ||
Release note (bug fix): some fix. | ||
" | ||
) | ||
|
||
test_end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters