167 # Announce on IRC |
167 # Announce on IRC |
168 for irc_client in Irc.all_clients: |
168 for irc_client in Irc.all_clients: |
169 for channel in irc_client.channels: |
169 for channel in irc_client.channels: |
170 if channel.get_value ('btannounce', default=True): |
170 if channel.get_value ('btannounce', default=True): |
171 irc_client.privmsg (channel.get_value ('name'), |
171 irc_client.privmsg (channel.get_value ('name'), |
172 "%s: commit %s fixes issue %d: %s" |
172 "%s: commit %s FIXES issue %d" % (repo_name, commit_node, ticket_id)) |
173 % (repo_name, commit_node, ticket_id, commit_message)) |
|
174 irc_client.privmsg (channel.get_value ('name'), |
173 irc_client.privmsg (channel.get_value ('name'), |
175 "Read all about it here: " + Bt.get_ticket_url (ticket_id)) |
174 "Read all about it here: " + Bt.get_ticket_url (ticket_id)) |
176 |
175 |
177 if need_update: |
176 if need_update: |
178 # We need to remove the note data, otherwise the ticket notes |
177 # We need to remove the note data, otherwise the ticket notes |