Lines Matching +full:- +full:m

26         $options->setHelp(
30 "$> ./bin/gittool.php origin -v"
33 $options->registerArgument(
39 $options->registerCommand(
44 $options->registerArgument(
51 $options->registerCommand(
56 $options->registerArgument(
63 $options->registerCommand(
68 $options->registerCommand(
85 $command = $options->getCmd();
86 $args = $options->getArgs();
91 echo $options->help();
94 $this->cmdClone($args);
97 $this->cmdInstall($args);
101 $this->cmdRepos();
104 $this->cmdGit($command, $args);
119 $repo = $this->getSourceRepo($ext);
122 $this->error("could not find a repository for $ext");
124 } elseif ($this->cloneExtension($ext, $repo)) {
132 …if ($succeeded) $this->success('successfully cloned the following extensions: ' . implode(', ', $s…
133 … if ($errors) $this->error('failed to clone the following extensions: ' . implode(', ', $errors));
147 $repo = $this->getSourceRepo($ext);
150 $this->info("could not find a repository for $ext");
151 if ($this->downloadExtension($ext)) {
156 } elseif ($this->cloneExtension($ext, $repo)) {
164 …if ($succeeded) $this->success('successfully installed the following extensions: ' . implode(', ',…
165 …if ($errors) $this->error('failed to install the following extensions: ' . implode(', ', $errors));
176 $repos = $this->findRepos();
184 $this->error("Could not change into $repo");
188 $this->info("executing $shell in $repo");
193 $this->success("git succeeded in $repo");
195 $this->error("git failed in $repo");
205 $repos = $this->findRepos();
223 $plugin->setExtension($ext);
225 $url = $plugin->getDownloadURL();
227 $this->error("no download URL for $ext");
233 $this->info("installing $ext via download from $url");
234 $ok = $plugin->installFromURL($url);
236 $this->error($e->getMessage());
240 $this->success("installed $ext via download");
243 $this->success("failed to install $ext via download");
263 $this->info("cloning $ext from $repo to $target");
267 $this->success("cloning of $ext succeeded");
270 $this->error("cloning of $ext failed");
284 $this->info('Looking for .git directories');
292 $this->error('Found no .git directories');
294 $this->success('Found ' . count($data) . ' .git directories');
312 $ext->setExtension($extension);
314 $repourl = $ext->getSourcerepoURL();
318 if (preg_match('/github\.com\/([^\/]+)\/([^\/]+)/i', $repourl, $m)) {
319 $user = $m[1];
320 $repo = $m[2];
325 if (preg_match('/gitorious.org\/([^\/]+)\/([^\/]+)?/i', $repourl, $m)) {
326 $user = $m[1];
327 $repo = $m[2];
333 // match bitbucket repos - most people seem to use mercurial there though
334 if (preg_match('/bitbucket\.org\/([^\/]+)\/([^\/]+)/i', $repourl, $m)) {
335 $user = $m[1];
336 $repo = $m[2];
346 $cli->run();