Bug 1392488 - Skip commit created by try fuzzy for sensible commit title. r?catlee draft
authorXidorn Quan <me@upsuper.org>
Mon, 04 Sep 2017 11:13:10 +1000
changeset 5204 c6baff88f95ca1ae66c916044bd1303687d0b117
parent 5202 9a34d8f195eed01ac4b06f4b171195564d7a9001
push id3676
push userxquan@mozilla.com
push dateSun, 10 Sep 2017 23:42:07 +0000
reviewerscatlee
bugs1392488
Bug 1392488 - Skip commit created by try fuzzy for sensible commit title. r?catlee MozReview-Commit-ID: 2XS42dAWDiz
status/generators.py
--- a/status/generators.py
+++ b/status/generators.py
@@ -45,16 +45,20 @@ Summary:
     return msgdict
 
 
 def getSensibleCommitTitle(titles):
     """
     Returns the first non-trychooser title with unnecessary cruft removed.
     """
     for title in titles:
+        # Skip try fuzzy commit.
+        if title.startswith("Pushed via 'mach try fuzzy'"):
+            continue
+
         # Remove trychooser syntax.
         title = re.sub(r'\btry: .*', '', title)
 
         # Remove MQ cruft.
         title = re.sub(r'^(imported patch|\[mq\]:) ', '', title)
 
         # Remove review, feedback, etc. annotations.
         title = re.sub(r'\b(r|sr|f|a)[=\?].*', '', title)