Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Issue 2089223003: annotations: change meaning of STEP_TEXT (Closed)

Created:
4 years, 6 months ago by nodir
Modified:
4 years, 6 months ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

annotations: change meaning of STEP_TEXT recipe engine prints new lines in step text by putting <br/>; it abuses the fact that buildbot prints step text as HTML without escaping it. Milo escapes step text and as a result we see <br/> in step text. Change buildbot so that messages specified in STEP_TEXT annotation mean lines, not strings that are joined by space. Next CLs will change recipe engine to not print <br> and change milo to put <br> between step text strings. R=martiniss@chromium.org, hinoka@chromium.org BUG=622503 Committed: https://chromium.googlesource.com/chromium/tools/build/+/cfb258c35d2cfca391c6580acaaad2da08d10a3d

Patch Set 1 #

Total comments: 4

Patch Set 2 : remove step name from step text #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -6 lines) Patch
M scripts/master/chromium_step.py View 1 4 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
nodir
PTAL
4 years, 6 months ago (2016-06-22 22:40:47 UTC) #2
nodir
Preview: http://imgur.com/lYMfRo2
4 years, 6 months ago (2016-06-22 22:40:54 UTC) #3
Ryan Tseng
https://codereview.chromium.org/2089223003/diff/1/scripts/master/chromium_step.py File scripts/master/chromium_step.py (right): https://codereview.chromium.org/2089223003/diff/1/scripts/master/chromium_step.py#newcode50 scripts/master/chromium_step.py:50: step_text = ['<br>%s' % line for line in section['step_text']] ...
4 years, 6 months ago (2016-06-22 22:44:24 UTC) #5
nodir
https://codereview.chromium.org/2089223003/diff/1/scripts/master/chromium_step.py File scripts/master/chromium_step.py (right): https://codereview.chromium.org/2089223003/diff/1/scripts/master/chromium_step.py#newcode50 scripts/master/chromium_step.py:50: step_text = ['<br>%s' % line for line in section['step_text']] ...
4 years, 6 months ago (2016-06-22 22:47:21 UTC) #6
Ryan Tseng
https://codereview.chromium.org/2089223003/diff/1/scripts/master/chromium_step.py File scripts/master/chromium_step.py (right): https://codereview.chromium.org/2089223003/diff/1/scripts/master/chromium_step.py#newcode50 scripts/master/chromium_step.py:50: step_text = ['<br>%s' % line for line in section['step_text']] ...
4 years, 6 months ago (2016-06-22 22:50:08 UTC) #7
nodir
https://codereview.chromium.org/2089223003/diff/1/scripts/master/chromium_step.py File scripts/master/chromium_step.py (right): https://codereview.chromium.org/2089223003/diff/1/scripts/master/chromium_step.py#newcode50 scripts/master/chromium_step.py:50: step_text = ['<br>%s' % line for line in section['step_text']] ...
4 years, 6 months ago (2016-06-22 22:56:19 UTC) #8
Ryan Tseng
lgtm Much cleaner! imo the step text doesn't really need to be on a new ...
4 years, 6 months ago (2016-06-22 22:59:29 UTC) #9
nodir
On 2016/06/22 22:59:29, Ryan Tseng wrote: > lgtm > > Much cleaner! > > imo ...
4 years, 6 months ago (2016-06-22 23:18:55 UTC) #10
nodir
On 2016/06/22 22:59:29, Ryan Tseng wrote: > lgtm > > Much cleaner! > > imo ...
4 years, 6 months ago (2016-06-22 23:49:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2089223003/20001
4 years, 6 months ago (2016-06-23 01:00:56 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 01:05:31 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/tools/build/+/cfb258c35d2cfca391c6...

Powered by Google App Engine
This is Rietveld 408576698