Lines Matching refs:ext
135 foreach ($extensions as $ext) {
136 $repo = $this->getSourceRepo($ext);
139 $this->error("could not find a repository for $ext");
140 $errors[] = $ext;
141 } elseif ($this->cloneExtension($ext, $repo, $preferHttps)) {
142 $succeeded[] = $ext;
144 $errors[] = $ext;
164 foreach ($extensions as $ext) {
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");
175 $succeeded[] = $ext;
177 $this->error("failed to install $ext via download");
178 $errors[] = $ext;
180 } elseif ($this->cloneExtension($ext, $repo, $preferHttps)) {
181 $succeeded[] = $ext;
183 $errors[] = $ext;
238 * @param string $ext
243 private function cloneExtension($ext, $repo, $preferHttps = false) argument
245 if (str_starts_with($ext, 'template:')) {
246 $target = fullpath(tpl_incdir() . '../' . substr($ext, 9));
248 $target = DOKU_PLUGIN . $ext;
256 $this->info("cloning $ext from $sshUrl");
263 $this->info("cloning $ext from $repo");
268 $this->success("cloning of $ext succeeded");
271 $this->error("cloning of $ext failed");