summaryrefslogtreecommitdiffstats
path: root/src/script/ceph-release-notes
diff options
context:
space:
mode:
authorNathan Cutler <ncutler@suse.com>2016-08-15 13:20:52 +0200
committerNathan Cutler <ncutler@suse.com>2016-08-15 14:25:03 +0200
commitc20922ee5b5a980dc31447831dfdce8e6b278f76 (patch)
tree2a3845e85bbf5c3ad88f9c3672c08abf9f0b5b53 /src/script/ceph-release-notes
parentMerge pull request #10118 from weiqiaomiao/wqm-wip-bucketcreate (diff)
downloadceph-c20922ee5b5a980dc31447831dfdce8e6b278f76.tar.xz
ceph-c20922ee5b5a980dc31447831dfdce8e6b278f76.zip
script: improve ceph-release-notes regex
Tolerate multiple spaces after ':', remove duplicate "fs", add "log" and "msgr". Signed-off-by: Nathan Cutler <ncutler@suse.com>
Diffstat (limited to 'src/script/ceph-release-notes')
-rwxr-xr-xsrc/script/ceph-release-notes2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/ceph-release-notes b/src/script/ceph-release-notes
index f1138308602..31b936f8d5d 100755
--- a/src/script/ceph-release-notes
+++ b/src/script/ceph-release-notes
@@ -126,7 +126,7 @@ def make_release_notes(gh, repo, ref, plaintext, verbose, strict):
continue
if strict:
- title_re = '^(?:hammer|infernalis|jewel|kraken): (cli|common|mon|osd|fs|librbd|rbd|fs|mds|objecter|rgw|build/ops|tests|tools|cmake|doc|crush|librados)(:.*)'
+ title_re = '^(?:hammer|infernalis|jewel|kraken):\s+(cli|common|mon|msgr|osd|log|librbd|rbd|fs|mds|objecter|rgw|build/ops|tests|tools|cmake|doc|crush|librados)(:.*)'
match = re.match(title_re, title)
if not match:
print ("ERROR: http://github.com/ceph/ceph/pull/" + str(number) + " title " + title.encode("utf-8") + " does not match " + title_re)