Re: automated warning notifications

From: Peter Senna Tschudin
Date: Fri Jun 15 2012 - 09:33:50 EST


Added git-blame support...

On Fri, Jun 15, 2012 at 8:19 AM, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
> On Fri, Jun 15, 2012 at 06:40:51AM -0400, Julia Lawall wrote:
>> > > Eventually I think we will want to set up a mailing list for this or
>> > > we will start sending duplicate messages.
>> >
>> > Fair enough. How can we setup the mailing list? Once the list up, it
>> > would be trivial for me to send sparse warnings out there.
>>
>> I'm not completely sure that a mailing list would completely eliminate
>> duplicate messages.  But still, it could be the place for people who are
>> interested in seeing such messages to go to, so it seems like a good
>> thing.  I would be happy to contribute content :)
>
> Yeah.  That might be interesting.  If you don't know whether a bug
> is a false positive or not you could submit it to the list for
> people to look at.
>
> I don't know if anyone will actually look at them.  I had been
> planning to filter them to a mail box and automatically ignore
> anything that was a duplicate.  But it might actually be worth
> looking at them as well.  Especially if you email had enough useful
> context so I could tell from the message what the bug is.
>
> Probably we could use something like the attached script to print
> out the line of code which causes the bug and some other script to
> querry git blame and attach the offending commit?
>
> regards,
> dan carpenter
>



--
Peter Senna Tschudin
peter.senna@xxxxxxxxx
gpg id: 48274C36

Attachment: context2.sh
Description: Bourne shell script