/external/autotest/site_utils/ |
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): 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]) [all...] |
automated_deploy_unittest.py | 71 #Test to get pushed commits for autotest repo. 72 repo = 'autotest' 75 (repo, expect_git_log_cmd, fake_commits_logs)) 76 actual_return = ad.get_pushed_commits(repo, 'test', '123..456') 81 #Test to get pushed commits for chromite repo. 82 repo = 'chromite' 85 (repo, expect_git_log_cmd, fake_commits_logs)) 86 actual_return = ad.get_pushed_commits(repo, 'test', '123..456')
|
/development/build/tools/ |
sdk_repo.mk | 15 define sdk-repo-pkg-zip 16 $(dir $(2))/sdk-repo-$(1)-$(3)-$(FILE_NAME_TAG).zip 22 # this generates an sdk-repo-linux-tools that contains tools/* 31 define mk-sdk-repo-pkg-1 32 $(call sdk-repo-pkg-zip,$(2),$(3),$(4)): $(3) 35 rm -f ../$(notdir $(call sdk-repo-pkg-zip,$(2),$(3),$(4))) && \ 36 zip -9rq ../$(notdir $(call sdk-repo-pkg-zip,$(2),$(3),$(4))) $(4)/* 37 $(call dist-for-goals, sdk_repo, $(call sdk-repo-pkg-zip,$(2),$(3),$(4))) 39 $(call sdk-repo-pkg-zip,$(2),$(3),$(4)):$(notdir $(call sdk-repo-pkg-zip,$(2),$(3),$(4)) [all...] |
/external/snakeyaml/ |
docker-run.sh | 15 mvn -Dmaven.repo.local=/my-home/.m2/repository clean test
|
/external/swiftshader/third_party/LLVM/utils/git/ |
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)
|
/development/tools/idegen/ |
index-gen.sh | 23 # To use, run the following command from either your repo root or 34 if [ ! -e $root_dir/.repo ]; then 36 if [ ! -e $root_dir/.repo ]; then 37 echo "Repo root not found. Run this script from your repo root or the idegen directory."
|
intellij-gen.sh | 17 # To use, run the following command from either your repo root or 48 if [ ! -e $root_dir/.repo ]; then 50 if [ ! -e $root_dir/.repo ]; then 51 echo "Repo root not found. Run this script from your repo root or the idegen directory."
|
/external/llvm/utils/git/ |
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)
|
/frameworks/support/buildSrc/ |
repos.gradle | 39 repoNames.each { repo -> 41 url repo
|
/external/fmtlib/support/ |
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...] |
/prebuilts/go/darwin-x86/src/cmd/go/ |
vcs_test.go | 30 repo: "https://github.com/golang/groupcache", 38 repo: "https://hub.jazz.net/git/user1/pkgname", 45 repo: "https://hub.jazz.net/git/user1/pkgname", 82 repo: "https://hub.jazz.net/git/user/pkg.name", 95 repo: "https://git.openstack.org/openstack/swift", 105 repo: "https://git.openstack.org/openstack/swift.git", 112 repo: "https://git.openstack.org/openstack/swift", 137 repo: "https://git.apache.org/package-name.git", 144 repo: "https://git.apache.org/package-name_2.x.git", 163 if got.vcs.name != want.vcs.name || got.repo != want.repo [all...] |
vcs.go | 52 func (v *vcsCmd) isSecure(repo string) bool { 53 u, err := url.Parse(repo) 55 // If repo is not a URL, it's not secure. 110 createCmd: []string{"clone -U {repo} {dir}"}, 126 pingCmd: "identify {scheme}://{repo}", 143 createCmd: []string{"clone {repo} {dir}", "-go-internal-cd {dir} submodule update --init --recursive"}, 163 pingCmd: "ls-remote {scheme}://{repo}", 189 // Eg, "git@github.com:user/repo" becomes 190 // "ssh://git@github.com/user/repo". 205 // reports the state of the repo. If we can't see insecure schemes the [all...] |
/prebuilts/go/linux-x86/src/cmd/go/ |
vcs_test.go | 30 repo: "https://github.com/golang/groupcache", 38 repo: "https://hub.jazz.net/git/user1/pkgname", 45 repo: "https://hub.jazz.net/git/user1/pkgname", 82 repo: "https://hub.jazz.net/git/user/pkg.name", 95 repo: "https://git.openstack.org/openstack/swift", 105 repo: "https://git.openstack.org/openstack/swift.git", 112 repo: "https://git.openstack.org/openstack/swift", 137 repo: "https://git.apache.org/package-name.git", 144 repo: "https://git.apache.org/package-name_2.x.git", 163 if got.vcs.name != want.vcs.name || got.repo != want.repo [all...] |
vcs.go | 52 func (v *vcsCmd) isSecure(repo string) bool { 53 u, err := url.Parse(repo) 55 // If repo is not a URL, it's not secure. 110 createCmd: []string{"clone -U {repo} {dir}"}, 126 pingCmd: "identify {scheme}://{repo}", 143 createCmd: []string{"clone {repo} {dir}", "-go-internal-cd {dir} submodule update --init --recursive"}, 163 pingCmd: "ls-remote {scheme}://{repo}", 189 // Eg, "git@github.com:user/repo" becomes 190 // "ssh://git@github.com/user/repo". 205 // reports the state of the repo. If we can't see insecure schemes the [all...] |
/external/regex-re2/lib/codereview/ |
codereview.py | 280 def Flush(self, ui, repo): 282 self.Upload(ui, repo, gofmt_just_warn=True, creating=True) 283 dir = CodeReviewDir(ui, repo) 296 def Delete(self, ui, repo): 297 dir = CodeReviewDir(ui, repo) 309 def Upload(self, ui, repo, send_mail=False, gofmt=True, gofmt_just_warn=False, creating=False, quiet=False): 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...] |
/build/kati/ |
pack.sh | 26 rm src/repo/android.tgz
|
/external/droiddriver/ |
contributing_aosp.md | 6 DroidDriver is an "unbundled" project. If you specify the repo manifest branch "droiddriver-dev" (see below), you'll get only the relevant projects instead of the whole AOSP tree. 8 Create a dir for AOSP, 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...] |
/prebuilts/devtools/ |
update_jars.sh | 48 local repo=$1 50 echo "# Build tools/$repo" 52 local SHA1=$( cd ../../tools/$repo ; git show-ref --head --hash HEAD ) 54 tools/$repo: @ $SHA1" 56 ( $DRY cd ../../tools/$repo && $DRY ./gradlew clean publishLocal pushDistribution )
|
/external/autotest/client/common_lib/ |
packages.py | 39 def parse_ssh_path(repo): 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): 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) [all...] |
/prebuilts/android-emulator/ |
update_emulator.sh | 12 linux_zip=sdk-repo-linux-emulator-$build.zip 13 mac_zip=sdk-repo-darwin-emulator-$build.zip
|
/external/autotest/client/site_tests/power_Consumption/ |
power_Consumption.py | 98 repo = 'http://commondatastorage.googleapis.com/chromeos-test-public/' 99 file_list = [repo + 'big_buck_bunny/big_buck_bunny_trailer_400p.mp4', ] 102 repo + 'big_buck_bunny/big_buck_bunny_trailer_400p.ogg', 103 repo + 'big_buck_bunny/big_buck_bunny_trailer_400p.vp8.webm', 104 repo + 'big_buck_bunny/big_buck_bunny_trailer_400p.vp9.webm', 105 repo + 'big_buck_bunny/big_buck_bunny_trailer_720p.mp4', 106 repo + 'big_buck_bunny/big_buck_bunny_trailer_720p.ogg', 107 repo + 'big_buck_bunny/big_buck_bunny_trailer_720p.vp8.webm', 108 repo + 'big_buck_bunny/big_buck_bunny_trailer_720p.vp9.webm', 109 repo + 'big_buck_bunny/big_buck_bunny_trailer_1080p.mp4' [all...] |
/device/common/ |
generate-blob-lists.sh | 20 # It needs to be run from the root of a source tree that can repo sync, 45 repo sync -j32 -n 46 repo sync -j32 -n 47 repo sync -j2 -l
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/84/1/.cp/ant_tasks/ |
metadataRepository-ant.jar | |
/external/skia/tools/ |
git-sync-deps | 111 def git_checkout_to_directory(git, repo, checkoutable, directory, verbose): 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 [all...] |
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/ |
LocalizeDependenciesTask.groovy | 114 def repo = new File(it).getCanonicalFile() 115 if (repo.exists() && !repo.equals(localRepoDir)) { 116 otherRepos.add(repo) 145 for (File repo : otherRepos) { 146 File f = new File(repo, targetPath) 148 println("skipping ${artifact} because it exists in $repo") 157 println("$file is in another git repo, ignore for license")
|