diff options
author | Nathan Cutler <ncutler@suse.com> | 2017-07-19 10:35:04 +0200 |
---|---|---|
committer | Nathan Cutler <ncutler@suse.com> | 2017-07-19 12:00:47 +0200 |
commit | 1a702adbfdce356f1c751c61e9ecfd025ebc0696 (patch) | |
tree | ae907a79b1c162ca012f3d3d408dc8c17ae8af6b /src | |
parent | tools: ceph-release-notes: fix sorted() key lambda regression (diff) | |
download | ceph-1a702adbfdce356f1c751c61e9ecfd025ebc0696.tar.xz ceph-1a702adbfdce356f1c751c61e9ecfd025ebc0696.zip |
tools: ceph-release-notes: match Reviewed-by more liberally
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Diffstat (limited to 'src')
-rwxr-xr-x | src/script/ceph-release-notes | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/ceph-release-notes b/src/script/ceph-release-notes index 6faac1cf725..2148ed3f1cc 100755 --- a/src/script/ceph-release-notes +++ b/src/script/ceph-release-notes @@ -36,6 +36,7 @@ from git import Repo fixes_re = re.compile(r"Fixes\:? #(\d+)") +reviewed_by_re = re.compile(r"Rev(.*)By", re.IGNORECASE) # labels is the list of relevant labels defined for github.com/ceph/ceph labels = ['bluestore', 'build/ops', 'cephfs', 'common', 'core', 'mgr', 'mon', 'performance', 'pybind', 'rdma', 'rgw', 'rbd', 'tests', @@ -117,7 +118,7 @@ def _title_message(commit, pr, strict): return (title, None) lines = [] for line in message_lines[1:]: - if 'Reviewed-by' in line: + if reviewed_by_re.match(line): continue line = line.strip() if line: |