/external/autotest/site_utils/ |
D | automated_deploy.py | 97 repo_dir = '/tmp/%s' % repo 98 print 'Cloning %s prod branch under %s' % (repo, repo_dir) 99 if os.path.exists(repo_dir): 100 infra.local_runner('rm -rf %s' % repo_dir) 101 git_repo = revision_control.GitRepo(repo_dir, GIT_URL[repo]) 104 return repo_dir 107 def update_prod_branch(repo, repo_dir, hash_to_rebase): argument 119 with infra.chdir(repo_dir): 149 def get_pushed_commits(repo, repo_dir, pushed_commits_range): argument 165 with infra.chdir(repo_dir): [all …]
|
/external/grpc-grpc/tools/distrib/python/ |
D | docgen.py | 105 repo_dir = os.path.join(repo_parent_dir, 'grpc') variable 106 python_doc_dir = os.path.join(repo_dir, 'python') 118 cwd=repo_dir) 119 subprocess.check_call(['git', 'fetch', 'upstream'], cwd=repo_dir) 122 cwd=repo_dir) 128 subprocess.check_call(['git', 'add', '--all'], cwd=repo_dir) 131 cwd=repo_dir) 134 cwd=repo_dir)
|
/external/vulkan-validation-layers/scripts/ |
D | update_deps.py | 326 self.repo_dir = os.path.join(dir_top, self.sub_dir) 337 distutils.dir_util.mkpath(self.repo_dir) 338 command_output(['git', 'clone', self.url, '.'], self.repo_dir) 341 command_output(['git', 'fetch', 'origin'], self.repo_dir) 344 print('Checking out {n} in {d}'.format(n=self.name, d=self.repo_dir)) 346 shutil.rmtree(self.repo_dir) 347 if not os.path.exists(os.path.join(self.repo_dir, '.git')): 351 command_output(['git', 'checkout', self._args.ref], self.repo_dir) 353 command_output(['git', 'checkout', self.commit], self.repo_dir) 354 print(command_output(['git', 'status'], self.repo_dir)) [all …]
|
/external/skia/tools/android/ |
D | upload_to_android.py | 61 repo_dir = os.path.join(work_dir, 'bin') 62 repo_binary = os.path.join(repo_dir, 'repo') 63 if not os.path.isdir(repo_dir): 64 print 'Creating %s' % repo_dir 65 os.makedirs(repo_dir)
|
/external/skqp/tools/android/ |
D | upload_to_android.py | 61 repo_dir = os.path.join(work_dir, 'bin') 62 repo_binary = os.path.join(repo_dir, 'repo') 63 if not os.path.isdir(repo_dir): 64 print 'Creating %s' % repo_dir 65 os.makedirs(repo_dir)
|
/external/pdfium/testing/tools/ |
D | safetynet_compare.py | 325 repo_dir = tempfile.mkdtemp(suffix='-%s' % dir_name) 326 src_dir = os.path.join(repo_dir, 'pdfium') 334 os.chdir(repo_dir)
|
/external/grpc-grpc/tools/interop_matrix/ |
D | create_matrix_images.py | 312 repo_dir = os.path.splitext(os.path.basename(repo))[0] 313 stack_base = os.path.join(args.git_checkout_root, repo_dir)
|
/external/googletest/googletest/scripts/ |
D | upload.py | 1045 def __init__(self, options, repo_dir): argument 1048 self.repo_dir = os.path.normpath(repo_dir) 1051 assert cwd.startswith(self.repo_dir) 1052 self.subdir = cwd[len(self.repo_dir):].lstrip(r"\/")
|
/external/googletest/googlemock/scripts/ |
D | upload.py | 1045 def __init__(self, options, repo_dir): argument 1048 self.repo_dir = os.path.normpath(repo_dir) 1051 assert cwd.startswith(self.repo_dir) 1052 self.subdir = cwd[len(self.repo_dir):].lstrip(r"\/")
|
/external/google-breakpad/src/testing/scripts/ |
D | upload.py | 1045 def __init__(self, options, repo_dir): argument 1048 self.repo_dir = os.path.normpath(repo_dir) 1051 assert cwd.startswith(self.repo_dir) 1052 self.subdir = cwd[len(self.repo_dir):].lstrip(r"\/")
|
/external/google-breakpad/src/testing/gtest/scripts/ |
D | upload.py | 1045 def __init__(self, options, repo_dir): argument 1048 self.repo_dir = os.path.normpath(repo_dir) 1051 assert cwd.startswith(self.repo_dir) 1052 self.subdir = cwd[len(self.repo_dir):].lstrip(r"\/")
|