/external/autotest/site_utils/ |
D | automated_deploy.py | 13 2. Skip updating a repo, e.g. autotest 15 3. Update a given repo to a specific commit 74 def clone_prod_branch(repo): argument 75 """Method to clone the prod branch for a given repo under /tmp/ dir. 77 @param repo: Name of the git repo to be cloned. 79 @returns path to the cloned repo. 83 repo_dir = '/tmp/%s' % repo 84 print 'Cloning %s prod branch under %s' % (repo, repo_dir) 87 git_repo = revision_control.GitRepo(repo_dir, GIT_URL[repo]) 89 print 'Successfully cloned %s prod branch' % repo [all …]
|
D | deploy_server_local.py | 35 # frontend repo, no need to update afe. 69 """This function cleans the current repo then verifies that it is valid. 71 @raises DirtyTreeException if the repo is still not clean. 72 @raises subprocess.CalledProcessError on a repo command failure. 77 out = subprocess.check_output(['repo', 'status'], stderr=subprocess.STDOUT) 85 """This function collects the versions of all git repos in the general repo. 88 @raises subprocess.CalledProcessError on a repo command failure. 90 cmd = ['repo', 'forall', '-p', '-c', 'pwd && git log -1 --format=%h'] 133 for cmd, repo in COMMANDS_TO_REPOS_DICT.iteritems(): 136 '%s/%s' % (common.autotest_dir, repo)]) [all …]
|
D | automated_deploy_unittest.py | 112 #Test to get pushed commits for autotest repo. 113 repo = 'autotest' 116 (repo, expect_git_log_cmd, autotest_commits_logs)) 117 actual_return = ad.get_pushed_commits(repo, 'test', '123..789') 122 #Test to get pushed commits for chromite repo. 123 repo = 'chromite' 126 (repo, expect_git_log_cmd, fake_commits_logs)) 127 actual_return = ad.get_pushed_commits(repo, 'test', '123..789')
|
/external/regex-re2/lib/codereview/ |
D | codereview.py | 280 def Flush(self, ui, repo): argument 282 self.Upload(ui, repo, gofmt_just_warn=True, creating=True) 283 dir = CodeReviewDir(ui, repo) 296 def Delete(self, ui, repo): argument 297 dir = CodeReviewDir(ui, repo) 309 …def Upload(self, ui, repo, send_mail=False, gofmt=True, gofmt_just_warn=False, creating=False, qui… argument 313 CheckFormat(ui, repo, self.files, just_warn=gofmt_just_warn) 315 os.chdir(repo.root) 336 vcs = MercurialVCS(upload_options, ui, repo) 383 self.Flush(ui, repo) [all …]
|
/external/autotest/client/common_lib/ |
D | revision_control.py | 43 This class represents a git repo. 45 It is used to pull down a local copy of a git repo, check if the local 46 repo is up-to-date, if not update. It delegates the install to 54 @param repodir: destination repo directory. 55 @param giturl: master repo git url. 56 @param weburl: a web url for the master repo. 57 @param abs_work_tree: work tree of the git repo. In the 159 Clones a repo using giturl and repodir. 161 Since we're cloning the master repo we don't have a work tree yet, 168 @raises GitCloneError: if cloning the master repo fails. [all …]
|
D | packages.py | 39 def parse_ssh_path(repo): argument 45 match = re.search('^ssh://(.*?)(/.*)$', repo) 50 "Incorrect SSH path in global_config: %s" % repo) 53 def repo_run_command(repo, cmd, ignore_status=False, cd=True): argument 55 repo = repo.strip() 58 if repo.startswith('ssh://'): 60 hostline, remote_path = parse_ssh_path(repo) 71 cd_str = 'cd %s && ' % repo 78 def create_directory(repo): argument 79 remote_path = repo [all …]
|
D | revision_control_unittest.py | 37 # where there exists a commit in the upstream repo. 64 @param filename: Name of the file in current repo. 78 @param repodir: directory for repo. 80 logging.info('initializing git repo in: %s', repodir) 90 Add all unadded files in repodir to repo. 95 raise revision_control.GitError('Unable to add files to repo', rv) 100 Commit changes to repo with the supplied commit msg. 112 If the dependent repo is empty pull from master. 128 Create a master repo and clone it into a dependent repo. 154 msg=(("hashes don't match after clone, master and dependent repo" [all …]
|
D | software_manager.py | 176 Add package repo described by [url]. 178 @param name: URL of the package repo. 185 Remove package repo described by [url]. 187 @param url: URL of the package repo. 375 self.repo_file_path = '/etc/yum.repos.d/autotest.repo' 661 def add_repo(self, repo): argument 665 @param repo: Repository string. Example: 670 if repo not in repo_file_contents: 671 repo_file.write(repo) 674 def remove_repo(self, repo): argument [all …]
|
/external/droiddriver/ |
D | contributing_aosp.md | 6 DroidDriver is an "unbundled" project. If you specify the repo manifest branch "droiddriver-dev" (s… 8 … e.g. ~/android/aosp. It should be separate from your work on the internal repo to avoid confusion. 9 Then get a local client of the repo: 14 $ repo init -u https://android.googlesource.com/a/platform/manifest -b droiddriver-dev 15 $ repo sync 31 - `repo start somebranchname .` 33 - `repo upload` 43 `$ repo upload --re="<joe@example.com>,<john@example.com>" .` 51 - `repo sync` 54 - `repo upload` [all …]
|
/external/toolchain-utils/ |
D | repo_to_repo.py | 48 class Repo(object): class 73 """Push to the external repo with the commit message.""" 108 # Note - this type of repo is used only for "readonly", in other words, this 109 # only serves as a incoming repo. 110 class FileRepo(Repo): 114 Repo.__init__(self, no_create_tmp_dir=True) 130 class P4Repo(Repo): 135 Repo.__init__(self) 162 class SvnRepo(Repo): 166 Repo.__init__(self) [all …]
|
D | setup_chromeos.py | 133 help='Number of repo sync threads to use.') 180 init = 'repo init -u %s' % manifest_repo 187 init = ('repo init -u %s -m paladin/buildspecs/%s/%s.xml' % 199 init = ('repo init -u %s -m paladin/buildspecs/%s/%s.xml' % 207 init = ('repo init -u %s -m buildspecs/%s/%s.xml' % (versions_repo, version, 218 init = ('repo init -u %s -m buildspecs/%s/%s.xml' % (versions_repo, version, 225 init = 'repo init -u %s -m %s' % (versions_repo, version_spec_file) 230 init += ' --repo-url=https://chromium.googlesource.com/external/repo.git' 234 sync = 'umask 022 && repo sync'
|
/external/fmtlib/support/ |
D | travis-build.py | 50 repo = 'fmtlib.github.io' variable 52 # Don't update the repo if building on Travis from an account that 54 print('Skipping update of ' + repo) 56 # Clone the fmtlib.github.io repo. 57 rmtree_if_exists(repo) 59 check_call(['git', 'clone', git_url + 'fmtlib/{}.git'.format(repo)]) 60 # Copy docs to the 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): [all …]
|
/external/skia/infra/bots/ |
D | tasks.json | 2324 "repository=<(REPO)", 2364 "repository=<(REPO)", 2394 "repository=<(REPO)", 2434 "repository=<(REPO)", 2464 "repository=<(REPO)", 2494 "repository=<(REPO)", 2524 "repository=<(REPO)", 2554 "repository=<(REPO)", 2584 "repository=<(REPO)", 2614 "repository=<(REPO)", [all …]
|
D | recipes.py | 14 To fix bugs, fix in the github repo then run the autoroller. 31 # The dependency entry for the recipe_engine in the client repo's recipes.cfg 33 # url (str) - the url to the engine repo we want to use. 35 # path_override (str) - the subdirectory in the engine repo we should use to 37 # essentially always be empty. It would be used if the recipes-py repo was 38 # merged as a subdirectory of some other repo and you depended on that 57 repo_root (str) - native path to the root of the repo we're trying to run 64 current repo (i.e. the folder containing `recipes/` and/or
|
/external/skia/infra/bots/assets/clang_linux/ |
D | create.py | 17 REPO = "https://llvm.googlesource.com/" variable 23 subprocess.check_call(["git", "clone", "-b", BRANCH, REPO + "llvm"]) 25 subprocess.check_call(["git", "clone", "-b", BRANCH, REPO + "clang"]) 26 subprocess.check_call(["git", "clone", "-b", BRANCH, REPO + "lld"]) 28 subprocess.check_call(["git", "clone", "-b", BRANCH, REPO + "compiler-rt"]) 29 subprocess.check_call(["git", "clone", "-b", BRANCH, REPO + "libcxx"]) 30 subprocess.check_call(["git", "clone", "-b", BRANCH, REPO + "libcxxabi"])
|
/external/skia/tools/ |
D | git-sync-deps | 111 def git_checkout_to_directory(git, repo, checkoutable, directory, verbose): argument 117 repo (string) the location of the repository, suitable 132 [git, 'clone', '--quiet', repo, directory]) 135 # if the directory exists, but isn't a git repo, you will modify 140 # Check to see if this repo is disabled. Quick return. 155 # If the repo has changed, always force use of the correct repo. 156 # If origin already points to repo, this is a quick no-op. 158 [git, 'remote', 'set-url', 'origin', repo], cwd=directory) 208 repo, checkoutable = dependencies[directory].split('@', 1) 215 (git, repo, checkoutable, relative_directory, verbose))
|
/external/r8/tools/linux/ |
D | README.art-versions | 18 repo init -u https://android.googlesource.com/platform/manifest -b master 19 repo sync -cq -j24 33 repo manifest -o aosp_master_manifest.xml -r 39 mkdir -p .repo/manifests 40 cp <r8-checkout>/aosp_master_manifest.xml .repo/manifests 41 repo init -u https://android.googlesource.com/platform/manifest -m aosp_master_manifest.xml 42 <continue with repo sync as above> 103 repo init -u https://android.googlesource.com/platform/manifest -b android-7.0.0_r21 104 repo sync -cq -j24 178 repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.1_r66 [all …]
|
/external/swiftshader/third_party/LLVM/utils/git/ |
D | find-rev | 7 parser = OptionParser("usage: %prog [options] <repo> <revision>") 16 repo,rev = args 23 os.chdir(repo) 33 _,repo,_ = ln.strip().split(' ') 34 _,lrev = repo.rsplit('@',1)
|
/external/llvm/utils/git/ |
D | find-rev | 7 parser = OptionParser("usage: %prog [options] <repo> <revision>") 16 repo,rev = args 23 os.chdir(repo) 33 _,repo,_ = ln.strip().split(' ') 34 _,lrev = repo.rsplit('@',1)
|
/external/autotest/contrib/ |
D | servo-stat | 17 REPO=$(dirname $(readlink -f $0))/../../../../.. 18 REPO=$(readlink -f $REPO) 19 PYTHON=$(readlink -f $REPO/chroot/usr/bin/python2.7) 20 HDCTOOLS=$(readlink -f $REPO/chroot/usr/lib/python2.7/site-packages/servo) 21 KEYFILE=$REPO 30 # standard test keys, so we use the keys from the repo. But...
|
/external/protobuf/protoc-artifacts/ |
D | Dockerfile | 29 RUN wget http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo -P /etc/yum.repos.d 30 RUN bash -c 'echo "enabled=1" >> /etc/yum.repos.d/devtools-1.1.repo' 31 … 's/\$basearch/i386/g' /etc/yum.repos.d/devtools-1.1.repo > /etc/yum.repos.d/devtools-i386-1.1.rep… 32 RUN sed -e 's/testing-/testing-i386-/g' -i /etc/yum.repos.d/devtools-i386-1.1.repo
|
/external/clang/ |
D | ToolchainPrebuilts.md | 23 repo init -u https://android.googlesource.com/platform/manifest -b llvm 26 repo init -u \ 34 repo start working_dev . 82 repo start update_38 . 85 repo upload . 91 repo sync . 160 repo start updated_toolchain . 163 repo upload --cbr .
|
/external/okhttp/ |
D | deploy_website.sh | 5 REPO="git@github.com:square/okhttp.git" 11 # Clone the current repo into temp folder 12 git clone $REPO $DIR 23 # Copy website files from real repo
|
/external/curl/docs/ |
D | RELEASE-PROCEDURE | 4 in the source code repo 13 - tag the git repo in this style: `git tag -a curl-7_34_0`. -a annotates the 27 in the curl-www repo 38 - tag the repo with the same tag as used for the source repo
|
/external/dagger2/ |
D | deploy_website.sh | 9 REPO="git@github.com:square/dagger.git" 18 # Clone the current repo into temp folder 19 git clone $REPO $DIR 30 # Copy website files from real repo
|