[ews-build] Add patch author information in build
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Jan 2019 21:24:44 +0000 (21:24 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Jan 2019 21:24:44 +0000 (21:24 +0000)
https://bugs.webkit.org/show_bug.cgi?id=193465

Reviewed by Lucas Forschler.

* BuildSlaveSupport/ews-build/steps.py:
(ValidatePatch._is_patch_obsolete):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240127 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/ews-build/steps.py
Tools/ChangeLog

index 9be2aab..6065144 100644 (file)
@@ -289,6 +289,8 @@ class ValidatePatch(buildstep.BuildStep):
             self._addToLog('stdio', 'Fetched patch id {} does not match with requested patch id {}. Unable to validate.\n'.format(patch_json.get('id'), self.getProperty('patch_id', '')))
             return -1
 
             self._addToLog('stdio', 'Fetched patch id {} does not match with requested patch id {}. Unable to validate.\n'.format(patch_json.get('id'), self.getProperty('patch_id', '')))
             return -1
 
+        patch_author = patch_json.get('creator')
+        self.addURL('Patch by: {}'.format(patch_author), 'mailto:{}'.format(patch_author))
         return patch_json.get('is_obsolete')
 
     def _is_patch_review_denied(self, patch_id):
         return patch_json.get('is_obsolete')
 
     def _is_patch_review_denied(self, patch_id):
index e41385e..9441893 100644 (file)
@@ -1,5 +1,15 @@
 2019-01-17  Aakash Jain  <aakash_jain@apple.com>
 
 2019-01-17  Aakash Jain  <aakash_jain@apple.com>
 
+        [ews-build] Add patch author information in build
+        https://bugs.webkit.org/show_bug.cgi?id=193465
+
+        Reviewed by Lucas Forschler.
+
+        * BuildSlaveSupport/ews-build/steps.py:
+        (ValidatePatch._is_patch_obsolete):
+
+2019-01-17  Aakash Jain  <aakash_jain@apple.com>
+
         [ews-build] Pass bug_id to the triggered builds
         https://bugs.webkit.org/show_bug.cgi?id=193548
 
         [ews-build] Pass bug_id to the triggered builds
         https://bugs.webkit.org/show_bug.cgi?id=193548