/external/toolchain-utils/llvm_tools/ |
D | git.py | 35 def CreateBranch(repo, branch): argument 46 if not os.path.isdir(repo): 47 raise ValueError('Invalid directory path provided: %s' % repo) 49 subprocess.check_output(['git', '-C', repo, 'reset', 'HEAD', '--hard']) 51 subprocess.check_output(['repo', 'start', branch], cwd=repo) 54 def DeleteBranch(repo, branch): argument 65 if not os.path.isdir(repo): 66 raise ValueError('Invalid directory path provided: %s' % repo) 68 subprocess.check_output(['git', '-C', repo, 'checkout', 'cros/master']) 70 subprocess.check_output(['git', '-C', repo, 'reset', 'HEAD', '--hard']) [all …]
|
/external/pigweed/pw_presubmit/py/pw_presubmit/ |
D | git_repo.py | 30 repo: PathOrStr = '.') -> str: 31 return log_run(['git', '-C', repo, *args], 37 def _ls_files(args: Collection[PathOrStr], repo: Path) -> Iterable[Path]: 39 git_root = repo.resolve() 40 for file in git_stdout('ls-files', '--', *args, repo=repo).splitlines(): 45 repo: Path) -> Iterable[Path]: 47 git_root = root(repo) 54 repo=repo).splitlines(): 80 def has_uncommitted_changes(repo: Optional[Path] = None) -> bool: 85 if repo is None: [all …]
|
D | python_checks.py | 58 for repo in ctx.repos: 59 packages += python_packages_containing(ctx.paths, repo=repo)[0] 97 for repo, paths in ctx.paths_by_repo().items(): 98 new_packages, files = python_packages_containing(paths, repo=repo)
|
D | presubmit.py | 360 pathspecs_by_repo: Dict[Path, List[str]] = {repo: [] for repo in repos} 368 repo = git_repo.within_repo(pathspec) 369 if repo not in pathspecs_by_repo: 374 pathspecs_by_repo[repo].append(os.path.relpath(pathspec, repo)) 375 repos_with_paths.add(repo) 383 for repo in set(pathspecs_by_repo) - repos_with_paths: 384 del pathspecs_by_repo[repo] 425 repos = [repo.resolve() for repo in repos] 427 for repo in repos: 428 if git_repo.root(repo) != repo: [all …]
|
/external/oss-fuzz/infra/build/functions/ |
D | project_sync_test.py | 210 repo = Repository('oss-fuzz', 'dir', 'projects', [ 220 repo.contents[0].contents[1].set_yaml_contents(b'builds_per_day: 2') 221 repo.contents[1].contents[1].set_yaml_contents(b'builds_per_day: 3') 224 get_projects(repo), { 236 repo = Repository('oss-fuzz', 'dir', 'projects', [ 245 get_projects(repo), 251 repo = Repository('oss-fuzz', 'dir', 'projects', [ 263 get_projects(repo), 269 repo = Repository('oss-fuzz', 'dir', 'projects', [ 278 get_projects(repo), [all …]
|
/external/autotest/client/common_lib/ |
D | packages.py | 45 def parse_ssh_path(repo): argument 51 match = re.search('^ssh://(.*?)(/.*)$', repo) 56 "Incorrect SSH path in global_config: %s" % repo) 59 def repo_run_command(repo, cmd, ignore_status=False, cd=True): argument 61 repo = repo.strip() 64 if repo.startswith('ssh://'): 66 hostline, remote_path = parse_ssh_path(repo) 77 cd_str = 'cd %s && ' % repo 84 def create_directory(repo): argument 85 remote_path = repo [all …]
|
/external/crosvm/ci/kokoro/ |
D | common.sh | 42 curl -s https://storage.googleapis.com/git-repo-downloads/repo >repo 43 chmod +x repo 44 ./repo init --depth 1 \ 46 --repo-url https://chromium.googlesource.com/external/repo.git \ 48 ./repo sync -j8 -c || return 1
|
/external/rust/crates/grpcio-sys/grpc/tools/gource/ |
D | gen-all-logs.sh | 23 for repo in $repos 26 git clone https://github.com/grpc/$repo.git 27 cd $repo 28 gource --output-custom-log $tmpdir/logs/$repo 29 sed -i "s,|/,|/$repo/,g" $tmpdir/logs/$repo
|
/external/grpc-grpc/tools/gource/ |
D | gen-all-logs.sh | 23 for repo in $repos 26 git clone https://github.com/grpc/$repo.git 27 cd $repo 28 gource --output-custom-log $tmpdir/logs/$repo 29 sed -i "s,|/,|/$repo/,g" $tmpdir/logs/$repo
|
/external/pigweed/pw_package/py/pw_package/ |
D | git_repo.py | 30 repo: PathOrStr = '.') -> str: 31 return subprocess.run(['git', '-C', repo, *args], 38 repo: PathOrStr = '.') -> subprocess.CompletedProcess: 39 return subprocess.run(['git', '-C', repo, *args], check=True) 53 remote = git_stdout('remote', 'get-url', 'origin', repo=path) 64 commit = git_stdout('rev-parse', 'HEAD', repo=path) 65 status = git_stdout('status', '--porcelain=v1', repo=path) 82 git('reset', '--hard', self._commit, repo=path)
|
/external/fmtlib/support/ |
D | travis-build.py | 50 repo = 'fmtlib.github.io' variable 54 print('Skipping update of ' + repo) 57 rmtree_if_exists(repo) 59 check_call(['git', 'clone', git_url + 'fmtlib/{}.git'.format(repo)]) 61 target_dir = os.path.join(repo, 'dev') 68 check_call(['git', 'add', '--all'], cwd=repo) 69 if call(['git', 'diff-index', '--quiet', 'HEAD'], cwd=repo): 70 check_call(['git', 'commit', '-m', 'Update documentation'], cwd=repo) 74 p = Popen(cmd, shell=True, stdout=PIPE, stderr=STDOUT, cwd=repo)
|
/external/rust/crates/grpcio-sys/grpc/tools/gcp/github_stats_tracking/ |
D | fetch_data.py | 28 repo = g.get_repo('grpc/grpc') 30 LABEL_LANG = set(label for label in repo.get_labels() 32 LABEL_KIND_BUG = repo.get_label('kind/bug') 33 LABEL_PRIORITY_P0 = repo.get_label('priority/P0') 34 LABEL_PRIORITY_P1 = repo.get_label('priority/P1') 35 LABEL_PRIORITY_P2 = repo.get_label('priority/P2') 46 issue for issue in repo.get_issues(state='open') 50 issue for issue in repo.get_issues(state='all', labels=[LABEL_KIND_BUG])
|
/external/opencensus-java/examples/ |
D | opencensus_workspace.bzl | 3 …rtifact=io.prometheus:simpleclient_httpserver:0.3.0 --repositories=http://repo.maven.apache.org/ma… 15 repository = "http://repo.maven.apache.org/maven2/", 24 repository = "http://repo.maven.apache.org/maven2/", 32 repository = "http://repo.maven.apache.org/maven2/", 42 repository = "http://repo.maven.apache.org/maven2/", 53 repository = "http://repo.maven.apache.org/maven2/", 62 repository = "http://repo.maven.apache.org/maven2/", 71 repository = "http://repo.maven.apache.org/maven2/", 80 repository = "http://repo.maven.apache.org/maven2/", 89 repository = "http://repo.maven.apache.org/maven2/", [all …]
|
/external/python/mock/ |
D | backport.py | 7 def git(command, repo): argument 8 return check_output('git '+command, cwd=repo, shell=True).decode() 33 repo=cpython_repo).split() 41 repo=mock_repo).strip() 50 repo=cpython_repo) 93 text = git('am --show-current-patch', repo=mock_repo) 95 git('am --abort', repo=mock_repo) 105 git('commit -m "latest sync point" lastsync.txt', repo=mock_repo)
|
/external/vulkan-validation-layers/scripts/ |
D | update_deps.py | 499 GoodRepo(repo, args) 500 for repo in json.loads(known_good.read())['repos'] 540 for repo in repos: 541 if install_names and repo.name in install_names and repo.on_build_platform: 544 var=install_names[repo.name], 545 dir=escape(repo.install_dir))) 627 for repo in repos: 630 if not repo.on_build_platform: 649 repo_dict[repo.name] = {field: getattr(repo, field) for field in field_list} 653 if len(repo.ci_only): [all …]
|
/external/llvm-project/clang/lib/Basic/ |
D | Version.cpp | 100 std::string repo = getClangFullRepositoryVersion(); in getClangToolFullVersion() local 101 if (!repo.empty()) { in getClangToolFullVersion() 102 OS << " " << repo; in getClangToolFullVersion() 118 std::string repo = getClangFullRepositoryVersion(); in getClangFullCPPVersion() local 119 if (!repo.empty()) { in getClangFullCPPVersion() 120 OS << " " << repo; in getClangFullCPPVersion()
|
/external/oss-fuzz/projects/libaom/ |
D | README.md | 1 # Submit a Patch to oss-fuzz repo 10 1. Go to your own fork of the repo, which will be at 14 in terminal. Now you have a local repo, and **your fork** of the remote repo 16 1. Configure a remote repo pointing to the **upstream repo** 27 1. Go to your repo: 48 * Sync your local repo and your fork with upstream repo:
|
/external/skia/infra/bots/ |
D | check_deps.py | 49 repo = split[0] 51 if 'chrome-infra-packages' in repo: 53 if not 'googlesource.com' in repo: 56 'See http://go/new-skia-git-mirror' % repo) 58 errs.append('%s: "%s" does not look like a commit hash.' % (repo, rev))
|
/external/python/parse_type/tasks/ |
D | release.py | 134 def upload(ctx, repo=None, repo_url=None, dry_run=False, argument 137 if repo is None: 138 repo = ctx.project.repo or "pypi" 149 elif repo: 150 opts.append("--repository={0}".format(repo))
|
/external/autotest/client/site_tests/power_Consumption/ |
D | power_Consumption.py | 91 repo = 'http://commondatastorage.googleapis.com/chromeos-test-public/' 92 file_list = [repo + 'big_buck_bunny/big_buck_bunny_trailer_400p.mp4', ] 95 repo + 'big_buck_bunny/big_buck_bunny_trailer_400p.ogg', 96 repo + 'big_buck_bunny/big_buck_bunny_trailer_400p.vp8.webm', 97 repo + 'big_buck_bunny/big_buck_bunny_trailer_400p.vp9.webm', 98 repo + 'big_buck_bunny/big_buck_bunny_trailer_720p.mp4', 99 repo + 'big_buck_bunny/big_buck_bunny_trailer_720p.ogg', 100 repo + 'big_buck_bunny/big_buck_bunny_trailer_720p.vp8.webm', 101 repo + 'big_buck_bunny/big_buck_bunny_trailer_720p.vp9.webm', 102 repo + 'big_buck_bunny/big_buck_bunny_trailer_1080p.mp4', [all …]
|
/external/llvm/utils/git/ |
D | find-rev | 16 repo,rev = args 23 os.chdir(repo) 33 _,repo,_ = ln.strip().split(' ') 34 _,lrev = repo.rsplit('@',1)
|
/external/llvm-project/llvm/utils/release/ |
D | github-upload-release.py | 34 def create_release(repo, release, tag = None, name = None, message = None): argument 46 repo.create_git_release(tag = tag, name = name, message = message, 49 def upload_files(repo, release, files): argument 50 release = repo.get_release('llvmorg-{}'.format(release))
|
/external/grpc-grpc/tools/interop_matrix/patches/csharp_v1.0.1/ |
D | git_repo.patch | 45 -RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.lis… 47 +RUN echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.6 main" | tee /etc/a… 48 …RUN echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | tee -a /… 49 …RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | tee -a … 50 -RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | tee -a /e… 63 -RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.lis… 65 +RUN echo "deb http://download.mono-project.com/repo/debian jessie main" | tee /etc/apt/sources.lis… 66 …RUN echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | tee -a /… 67 …RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | tee -a … 68 -RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | tee -a /e…
|
/external/rust/crates/grpcio-sys/grpc/tools/interop_matrix/patches/csharp_v1.0.1/ |
D | git_repo.patch | 45 -RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.lis… 47 +RUN echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.6 main" | tee /etc/a… 48 …RUN echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | tee -a /… 49 …RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | tee -a … 50 -RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | tee -a /e… 63 -RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.lis… 65 +RUN echo "deb http://download.mono-project.com/repo/debian jessie main" | tee /etc/apt/sources.lis… 66 …RUN echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | tee -a /… 67 …RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | tee -a … 68 -RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | tee -a /e…
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | RELEASE-PROCEDURE.md | 4 in the source code repo 15 - tag the git repo in this style: `git tag -a cares-1_14_0` -a annotates the 31 in the c-ares-www repo 40 - tag the repo with the same tag as used for the source repo
|