> On March 11, 2014, 6:10 p.m., Bernd Mathiske wrote:
> > How about adding a patch file to be applied (by the build process) to the 
> > original ccplint.py as opposed to making inline changes in it? This way we 
> > can integrated new versions of cpplint.py and still keep our changes vs. 
> > their changes apart with more ease. For reference, this approach has 
> > already been exercised in case of 
> > ./3rdparty/leveldb.patch
> > ./3rdparty/libprocess/3rdparty/glog-0.3.3.patch
> > ./3rdparty/libprocess/3rdparty/libev-4.15.patch
> > ./m4/python.m4.patch
> > 
> > Not sure where the patch-treated cpplint.py should show up. Maybe somewhere 
> > in ./build/3rdparty/?
> >

+1, try to take a look in 3rdparty/Makefile.am:54-60 :)


- Niklas


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19060/#review36883
-----------------------------------------------------------


On March 11, 2014, 12:24 p.m., Adam B wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19060/
> -----------------------------------------------------------
> 
> (Updated March 11, 2014, 12:24 p.m.)
> 
> 
> Review request for mesos, Bernd Mathiske, Ben Mahler, and Niklas Nielsen.
> 
> 
> Bugs: MESOS-1080
>     https://issues.apache.org/jira/browse/MESOS-1080
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> Updated cpplint.py from 
> https://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py and 
> added hpp files as valid extensions.
> 
> 
> Diffs
> -----
> 
>   support/cpplint.py a8c9f67 
> 
> Diff: https://reviews.apache.org/r/19060/diff/
> 
> 
> Testing
> -------
> 
> Ran cpplint.py with all rules enabled on some of my recent changes; found 
> style errors in hpp headers.
> Ran mesos-style.py on all of mesos source. Found tabs in some 
> libprocess/stout headers.
> 
> 
> Thanks,
> 
> Adam B
> 
>

Reply via email to