WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
195963
[ews-build] Improve summary for CheckOutSource step
https://bugs.webkit.org/show_bug.cgi?id=195963
Summary
[ews-build] Improve summary for CheckOutSource step
Aakash Jain
Reported
2019-03-19 14:43:18 PDT
The summary automatically generated by Buildbot for CheckOutSource step (which uses Buildbot base class git.Git) is 'update'. We should improve this. Buildbot doesn't seem to respect descriptionDone for git.Git class. Reference:
https://github.com/buildbot/buildbot/issues/4666
Attachments
Patch
(1.31 KB, patch)
2019-03-19 14:46 PDT
,
Aakash Jain
lforschler
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Aakash Jain
Comment 1
2019-03-19 14:46:46 PDT
Created
attachment 365229
[details]
Patch
EWS Watchlist
Comment 2
2019-03-19 14:48:02 PDT
Comment hidden (obsolete)
Attachment 365229
[details]
did not pass style-queue: ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:100: [CheckOutSource.getResultSummary] Instance of 'CheckOutSource' has no 'results' member [pylint/E1101] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Aakash Jain
Comment 3
2019-03-19 14:48:51 PDT
Sample run:
https://ews-build.webkit-uat.org/#/builders/19/builds/2215
Lucas Forschler
Comment 4
2019-03-19 15:10:24 PDT
Comment on
attachment 365229
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=365229&action=review
> Tools/BuildSlaveSupport/ews-build/steps.py:103 > +
I think you should not abbreviate summary as 'summ'. it only saves a couple chars, so just use stepsummary or step_summary. or, just 'summary' this could also be written: if self.results != SUCCESS: return {u'step': u'Failed to updated working directory'} else: return {u'step': u'Cleaned and updated working directory' } which avoids the variable name altogether.
Aakash Jain
Comment 5
2019-03-19 15:22:54 PDT
Committed
r243174
: <
https://trac.webkit.org/changeset/243174
>
Aakash Jain
Comment 6
2019-03-19 15:24:34 PDT
> this could also be written:
Thanks. used this.
Radar WebKit Bug Importer
Comment 7
2019-03-19 15:24:53 PDT
<
rdar://problem/49038313
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug