[SERVER-40664] Fix upload.py script to use Python3 for clang-format checking Created: 16/Apr/19  Updated: 27/Oct/23  Resolved: 16/Apr/19

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Geert Bosch Assignee: Geert Bosch
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Steps To Reproduce:

$ python3 ~/kernel-tools/codereview/upload.py --check-clang-format --clang-format-script=buildscripts/clang_format.py -y -m just-testing --rev=`git merge-base HEAD origin/master` --nojira
Checking Clang-Format for patch
Got error status from ['python', 'buildscripts/clang_format.py', 'lint-patch', '/var/folders/hp/vs7bml0j0jz8xp57r_4bw34m0000gr/T/tmpvr7b1ln5']:

Sprint: Storage NYC 2019-04-22
Participants:

 Description   

The upload.py script still calls uses a python command to run clang-format, but that no longer works now clang-format needs python3.


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