Closed Bug 1104912 Opened 10 years ago Closed 10 years ago

[pulsetranslator] Store original builder name in normalized message

Categories

(Webtools :: Pulse, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mcote, Assigned: mcc.ricardo)

References

Details

To make it easy to correlate "raw" and normalized BuildBot messages, we should preserve the original builder name in a new property of the normalized message.
Assignee: nobody → mcc.ricardo
Status: NEW → ASSIGNED
This functionality is already in place.

'PulseBuildbotTranslator.on_pulse_message()' constructs a 'buildata' dict that holds all the info, including 'buildername'. It's being stored here:

>    # look for buildername
>    elif property[0] == 'buildername':
>        builddata['buildername'] = property[1]

That function will eventually call either 'PulseBuildbotTranslator.process_unittest(data)' or 'PulseBuildbotTranslator.process_build(data)'. Both of them will call 'LogHandler.handle_message(data)'.

'LogHandler.handle_message(data)' will call either 'LogHandler.'publish_build_message(data)' or 'LogHandler.publish_unittest_message(data)'. Eventually 'publish_message'is called with 'data' as an argument, which already constains 'buildername'.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.