From 6468163de5e004816b20e5a3890dc7c7fed889ce Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Wed, 17 Jul 2024 00:24:56 -0400 Subject: [PATCH] Code review --- upstream_utils/{update_googletest.py => googletest.py} | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) rename upstream_utils/{update_googletest.py => googletest.py} (89%) diff --git a/upstream_utils/update_googletest.py b/upstream_utils/googletest.py similarity index 89% rename from upstream_utils/update_googletest.py rename to upstream_utils/googletest.py index b190362c774..b39c96da521 100755 --- a/upstream_utils/update_googletest.py +++ b/upstream_utils/googletest.py @@ -1,15 +1,10 @@ #!/usr/bin/env python3 import os -import re import shutil from upstream_utils import ( - get_repo_root, - clone_repo, - comment_out_invalid_includes, walk_cwd_and_copy_if, - git_am, walk_if, Lib, ) @@ -72,11 +67,11 @@ def copy_upstream_src(wpilib_root): def main(): name = "googletest" url = "https://github.com/google/googletest.git" - commitish = "v1.14.0" + tag = "v1.14.0" patch_list = [] - googletest = Lib(name, url, commitish, patch_list, copy_upstream_src) + googletest = Lib(name, url, tag, patch_list, copy_upstream_src) googletest.main()