On Thu, May 9, 2013 at 8:23 PM, Simon Newton <
nom...@gmail.com> wrote:
> On Thu, May 9, 2013 at 7:55 PM, Simon Newton <
nom...@gmail.com> wrote:
>> On Thu, May 9, 2013 at 6:02 PM, Peter Newman <
peterj...@gmail.com> wrote:
>>> My hideous globbing command does work, and is already in the buildbot
>>> config.
>>>
>>> I do find it rather ironic that Google's own generated C++ code doesn't pass
>>> it's own lint checker!
>>>
>>> I guess we probably need a little bash script, that uses find to get any
>>> .cpp, .h and .cc files and then filters out stuff like the protobuffs we
>>> don't want to check. Ideally with an option to pass in a specific list of
>>> files we might need to check, so in future, the buildbot only needs to lint
>>> the files that have changed in this commit. On that slight tangent, the only
>>> .cc files we've currently got in the codebase are all .pb.cc, which I assume
>>> are all protobuffs, so this problem might have gone away, and just
>>> globbing/finding should work.
>>>
>>> The lint builder actually runs in a separate work folder anyway, so make,
>>> and indeed configure are never run, so a lot of these issues are probably
>>> irrelevant anyway.
>>
>> Yeah, that was Josh's suggestion which is perfectly reasonable. I
>> think with that there are only 790 lint errors. I may make a start on
>> fixing some of them as well.
>
> I've cleaned up the lint buildbot factory. Once we get some slaves
> with cpplint installed we can enable it.
Ok we have a lint slave now and I fixed a bunch of warnings. 385 to go!