]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
script: improve ceph-release-notes regex 10729/head
authorNathan Cutler <ncutler@suse.com>
Mon, 15 Aug 2016 11:20:52 +0000 (13:20 +0200)
committerNathan Cutler <ncutler@suse.com>
Mon, 15 Aug 2016 12:25:03 +0000 (14:25 +0200)
Tolerate multiple spaces after ':', remove duplicate "fs", add "log" and
"msgr".

Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/script/ceph-release-notes

index f11383086027b2a11818aa14b6407945fa981270..31b936f8d5ddffed5257d72780b4d13a4d7bd16a 100755 (executable)
@@ -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)