Make proposed and merged messages more terse
The previous messages were wordy, when gerrit is very active, all these wordy messages can clutter up a room. This makes the messages more terse. Change-Id: I7c941a871e3f1a09dd47c72aa32f93effc04250a
This commit is contained in:
parent
d8969646f7
commit
14679c6f44
|
@ -129,7 +129,7 @@ class Gerrit(threading.Thread):
|
|||
time.sleep(1)
|
||||
|
||||
def patchset_created(self, channel, data):
|
||||
msg = '%s proposed a change to %s: %s %s' % (
|
||||
msg = '%s proposed %s: %s %s' % (
|
||||
data['patchSet']['uploader']['name'],
|
||||
data['change']['project'],
|
||||
data['change']['subject'],
|
||||
|
@ -187,7 +187,7 @@ class Gerrit(threading.Thread):
|
|||
self.ircbot.send(channel, msg)
|
||||
|
||||
def change_merged(self, channel, data):
|
||||
msg = 'A change was merged to %s: %s %s' % (
|
||||
msg = 'Merged %s: %s %s' % (
|
||||
data['change']['project'],
|
||||
data['change']['subject'],
|
||||
data['change']['url'])
|
||||
|
|
Loading…
Reference in New Issue