[SERVER-15618] Update cpplint.py to latest version Created: 13/Oct/14  Updated: 25/Oct/14  Resolved: 14/Oct/14

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 2.7.8

Type: Improvement Priority: Minor - P4
Reporter: Matt Kangas Assignee: Matt Kangas
Resolution: Done Votes: 0
Labels: polish
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-15554 Add basic.h to the linter Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Our version of cpplint.py dates from 2012. It cannot handle C++11 syntax, and this is increasingly an issue for the RocksDB integration. (SERVER-14352)

Update cpplint.py to the latest upstream version (r137) and adjust filters in lint.py accordingly.



 Comments   
Comment by Githook User [ 14/Oct/14 ]

Author:

{u'username': u'kangas', u'name': u'Matt Kangas', u'email': u'matt.kangas@mongodb.com'}

Message: SERVER-15618 adjust lint.py filters for updated cpplint
Branch: master
https://github.com/mongodb/mongo/commit/2372b1866ae66be9c78272030e7d356e7cb9b755

Comment by Githook User [ 14/Oct/14 ]

Author:

{u'username': u'kangas', u'name': u'Matt Kangas', u'email': u'matt.kangas@mongodb.com'}

Message: SERVER-15618 Turn off "Done" for each file so we can see failures more easily

Reapply 317272e after cpplint.py update
Branch: master
https://github.com/mongodb/mongo/commit/7fb64deba5ccdda9c9375dd91cde75a05e7c62a0

Comment by Githook User [ 14/Oct/14 ]

Author:

{u'username': u'kangas', u'name': u'Matt Kangas', u'email': u'matt.kangas@mongodb.com'}

Message: SERVER-15618 Update cpplint.py to latest upstream version

Update to r137 (Aug 22, 2014). Adds support for C++11.
https://code.google.com/p/google-styleguide/source/detail?r=137
Branch: master
https://github.com/mongodb/mongo/commit/16dae4398a09ab2cdb3aee0414bc5094551d7ed7

Generated at Thu Feb 08 03:38:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.