| Summary: | [ews] commit-queue should check cq+ flag | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Aakash Jain <aakash_jain> | ||||||
| Component: | Tools / Tests | Assignee: | Aakash Jain <aakash_jain> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | aakash_jain, ap, jbedard, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | Other | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 201934 | ||||||||
| Attachments: |
|
||||||||
|
Description
Aakash Jain
2020-01-21 07:06:42 PST
Created attachment 388308 [details]
Patch
Created attachment 388320 [details]
Patch
Comment on attachment 388320 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=388320&action=review > Tools/BuildSlaveSupport/ews-build/steps.py:-332 > - def __init__(self, verifyObsolete=True, verifyBugClosed=True, verifyReviewDenied=True, addURLs=True, **kwargs): We removed kwargs here. Was that deliberate? > Tools/BuildSlaveSupport/ews-build/steps.py:481 > + cq_plus = self._is_patch_cq_plus(patch_id) if self.verifycqplus else 1 Why the intermediate variable and not: if self.verifycqplus and self._is_patch_cq_plus(patch_id) != 1: ... Comment on attachment 388320 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=388320&action=review >> Tools/BuildSlaveSupport/ews-build/steps.py:-332 >> - def __init__(self, verifyObsolete=True, verifyBugClosed=True, verifyReviewDenied=True, addURLs=True, **kwargs): > > We removed kwargs here. Was that deliberate? Yeah, minor cleanup. although it doesn't make any difference. >> Tools/BuildSlaveSupport/ews-build/steps.py:481 >> + cq_plus = self._is_patch_cq_plus(patch_id) if self.verifycqplus else 1 > > Why the intermediate variable and not: > > if self.verifycqplus and self._is_patch_cq_plus(patch_id) != 1: > ... I was just keeping it consistent with the code above (e.g.: review_denied), but I can change it to the one you suggested. Which one do you prefer? (In reply to Aakash Jain from comment #6) > Comment on attachment 388320 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=388320&action=review > > >> Tools/BuildSlaveSupport/ews-build/steps.py:-332 > >> - def __init__(self, verifyObsolete=True, verifyBugClosed=True, verifyReviewDenied=True, addURLs=True, **kwargs): > > > > We removed kwargs here. Was that deliberate? > > Yeah, minor cleanup. although it doesn't make any difference. > > >> Tools/BuildSlaveSupport/ews-build/steps.py:481 > >> + cq_plus = self._is_patch_cq_plus(patch_id) if self.verifycqplus else 1 > > > > Why the intermediate variable and not: > > > > if self.verifycqplus and self._is_patch_cq_plus(patch_id) != 1: > > ... > > I was just keeping it consistent with the code above (e.g.: review_denied), > but I can change it to the one you suggested. Which one do you prefer? I prefer putting it without the intermediate variable, but I don't feel very strongly about that. Comment on attachment 388320 [details] Patch Clearing flags on attachment: 388320 Committed r254870: <https://trac.webkit.org/changeset/254870> All reviewed patches have been landed. Closing bug. |