Lines Matching +full:continue +full:- +full:on +full:- +full:error

21      * Register options and arguments on the given $options object
28 $options->setHelp(
32 "$> ./bin/gittool.php origin -v"
35 $options->registerArgument(
41 $options->registerCommand(
46 $options->registerArgument(
52 $options->registerOption(
53 'prefer-https',
60 $options->registerCommand(
65 $options->registerArgument(
71 $options->registerOption(
72 'prefer-https',
79 $options->registerCommand(
84 $options->registerCommand(
101 $command = $options->getCmd();
102 $args = $options->getArgs();
107 echo $options->help();
110 $this->cmdClone($args, $options->getOpt('prefer-https'));
113 $this->cmdInstall($args, $options->getOpt('prefer-https'));
117 $this->cmdRepos();
120 $this->cmdGit($command, $args);
136 $repo = $this->getSourceRepo($ext);
139 $this->error("could not find a repository for $ext");
141 } elseif ($this->cloneExtension($ext, $repo, $preferHttps)) {
149 …if ($succeeded) $this->success('successfully cloned the following extensions: ' . implode(', ', $s…
150 … if ($errors) $this->error('failed to clone the following extensions: ' . implode(', ', $errors));
165 $repo = $this->getSourceRepo($ext);
168 $this->info("could not find a repository for $ext");
172 $this->info("installing $ext via download");
173 $installer->installFromId($ext);
174 $this->success("installed $ext via download");
177 $this->error("failed to install $ext via download");
180 } elseif ($this->cloneExtension($ext, $repo, $preferHttps)) {
188 …if ($succeeded) $this->success('successfully installed the following extensions: ' . implode(', ',…
189 …if ($errors) $this->error('failed to install the following extensions: ' . implode(', ', $errors));
200 $repos = $this->findRepos();
208 $this->error("Could not change into $repo");
209 continue;
212 $this->info("executing $shell in $repo");
217 $this->success("git succeeded in $repo");
219 $this->error("git failed in $repo");
229 $repos = $this->findRepos();
251 $ret = -1;
255 $sshUrl = $this->httpsToSshUrl($repo);
256 $this->info("cloning $ext from $sshUrl");
258 if ($ret !== 0) $this->info("SSH clone failed, trying HTTPS: $repo");
263 $this->info("cloning $ext from $repo");
268 $this->success("cloning of $ext succeeded");
271 $this->error("cloning of $ext failed");
301 $this->info('Looking for .git directories');
309 $this->error('Found no .git directories');
311 $this->success('Found ' . count($data) . ' .git directories');
327 $repourl = $extension->getSourcerepoURL();
346 // match bitbucket repos - most people seem to use mercurial there though
359 $cli->run();