Lines Matching refs:repo
136 $repo = $this->getSourceRepo($ext);
138 if (!$repo) {
141 } elseif ($this->cloneExtension($ext, $repo, $preferHttps)) {
165 $repo = $this->getSourceRepo($ext);
167 if (!$repo) {
180 } elseif ($this->cloneExtension($ext, $repo, $preferHttps)) {
206 foreach ($repos as $repo) {
207 if (!@chdir($repo)) {
208 $this->error("Could not change into $repo");
212 $this->info("executing $shell in $repo");
217 $this->success("git succeeded in $repo");
219 $this->error("git failed in $repo");
230 foreach ($repos as $repo) {
231 echo "$repo\n";
239 * @param string $repo
243 private function cloneExtension($ext, $repo, $preferHttps = false) argument
255 $sshUrl = $this->httpsToSshUrl($repo);
258 if ($ret !== 0) $this->info("SSH clone failed, trying HTTPS: $repo");
263 $this->info("cloning $ext from $repo");
264 system("git clone $repo $target", $ret);
286 $repo = $m[3];
287 return "git@$host:$user/$repo";
333 $repo = $m[2];
349 $repo = $m[2];