Improving trac notifications

Matthew Pickering matthewtpickering at gmail.com
Wed Jan 20 13:15:33 UTC 2016


I attach a patch which should improve the notifications.

Here is an example of the new output.

https://www.irccloud.com/pastebin/HdlVbQt4/

Matt

On Tue, Jan 19, 2016 at 11:29 AM, Matthew Pickering
<matthewtpickering at gmail.com> wrote:
> Have you had any chance to think about this yet Herbert?
>
> Matt
>
> On Wed, Jan 6, 2016 at 6:44 PM, Ben Gamari <ben at smart-cactus.org> wrote:
>> Ben Gamari <ben at smart-cactus.org> writes:
>>
>>> Matthew Pickering <matthewtpickering at gmail.com> writes:
>>>
>>>> I subscribe to the ghc-tickets[1] mailing list which provides updates
>>>> to all trac tickets. This is very useful, however when a ticket
>>>> description is updated the whole description is included in the email
>>>> which makes it hard to see what actually changed. The web interface
>>>> shows a nice diff[2] of the changes, I think it would be good if
>>>> emails could also include a diff rather than the current quite useless
>>>> output.
>>>>
>>> I think this would be a great improvement. I, for one, am quite guilty
>>> of incrementally editing ticket descriptions and the current email
>>> notifications are nearly useless in this case.
>>>
>>>> After a bit of investigation, it appears that the easiest way to
>>>> achieve this is apply a simple patch to our copy of trac. The current
>>>> format is hard coded on line 558 in this module, it seems easy to
>>>> modify this section to instead provide a diff.
>>>>
>>> Herbert, perhaps we could do something along these lines?
>>>
>> Ping.
>>
>> Cheers,
>>
>> - Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-delta-to-ticket-modification-notification.patch
Type: text/x-patch
Size: 2207 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160120/1102eadd/attachment.bin>


More information about the ghc-devs mailing list