]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tools: ceph-release-notes: match Reviewed-by more liberally 16411/head
authorNathan Cutler <ncutler@suse.com>
Wed, 19 Jul 2017 08:35:04 +0000 (10:35 +0200)
committerNathan Cutler <ncutler@suse.com>
Wed, 19 Jul 2017 10:00:47 +0000 (12:00 +0200)
Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/script/ceph-release-notes

index 6faac1cf72500b4adc56e70926efd600585ef311..2148ed3f1ccdf8151ce6e501453fa9879f5bce95 100755 (executable)
@@ -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: