[SERVER-27351] Deleted files cause lint failure on evergreen Created: 08/Dec/16  Updated: 03/May/18  Resolved: 14/Dec/16

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.4.15, 3.5.2

Type: Bug Priority: Major - P3
Reporter: ADAM Martin (Inactive) Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Sprint: Platforms 2017-01-23
Participants:

 Description   

buildscripts/clang_format.py uses git to get a list of files. If a patch is applied using git apply, files may be deleted, but the git ls-files command will still return that file in its output. The script needs to ignore deleted files.



 Comments   
Comment by Githook User [ 03/May/18 ]

Author:

{'email': 'mark.benvenuto@mongodb.com', 'name': 'Mark Benvenuto', 'username': 'markbenvenuto'}

Message: SERVER-27351 clang_format.py needs to ignore deleted files

(cherry picked from commit 0590b0da70cfdad7edf8d214bbfb5d8d8b6e502e)
Branch: v3.4
https://github.com/mongodb/mongo/commit/4aeb61bd31fc934db54c88fec256b71688de4c62

Comment by Githook User [ 21/Apr/17 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-27351 clang_format.py needs to ignore deleted files

(cherry picked from commit 0590b0da70cfdad7edf8d214bbfb5d8d8b6e502e)
Branch: v3.2
https://github.com/mongodb/mongo/commit/6b4ed4753d7cb49b610ae9a8a68a91ed4560cf93

Comment by Githook User [ 14/Dec/16 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-27351 clang_format.py needs to ignore deleted files
Branch: master
https://github.com/mongodb/mongo/commit/0590b0da70cfdad7edf8d214bbfb5d8d8b6e502e

Generated at Thu Feb 08 04:14:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.