diff options
author | Remi Collet <remi@remirepo.net> | 2020-03-03 16:23:23 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-03-03 16:23:23 +0100 |
commit | c7274ba28ed9e5a163227f4575bcb6a0e218ddd1 (patch) | |
tree | 0e48fd223c86fd4dfff82d165f8f8d06dde50634 | |
parent | 427e92293213a629709da8c7175e93abe1150510 (diff) |
fix git repo URL
-rw-r--r-- | all.php | 2 | ||||
-rw-r--r-- | autocompleter.php | 2 | ||||
-rw-r--r-- | class/CommonTable.php | 2 | ||||
-rw-r--r-- | class/FedoraClient.php | 4 | ||||
-rw-r--r-- | class/FedoraPkgdb.php | 4 | ||||
-rw-r--r-- | class/PackagistClient.php | 4 | ||||
-rw-r--r-- | class/Parser.php | 9 | ||||
-rw-r--r-- | class/TableAcls.php | 2 | ||||
-rw-r--r-- | class/TableIterator.php | 4 | ||||
-rw-r--r-- | class/TablePackagist.php | 2 | ||||
-rw-r--r-- | class/TablePearRepo.php | 2 | ||||
-rw-r--r-- | class/TableRRepo.php | 2 | ||||
-rw-r--r-- | class/TableRpm.php | 2 | ||||
-rw-r--r-- | class/TableRpmRepo.php | 2 | ||||
-rw-r--r-- | class/TableUpstream.php | 2 | ||||
-rwxr-xr-x | fedcli.php | 2 | ||||
-rw-r--r-- | get.php | 2 | ||||
-rw-r--r-- | include/config.php.dist | 2 | ||||
-rw-r--r-- | include/main.php | 2 | ||||
-rw-r--r-- | index.php | 2 | ||||
-rw-r--r-- | pkgdb-ajax.php | 2 | ||||
-rw-r--r-- | refresh.php | 2 | ||||
-rw-r--r-- | rpm.php | 2 | ||||
-rw-r--r-- | smarty/templates/rpmphp/index.tpl | 2 | ||||
-rw-r--r-- | zoom.php | 2 |
25 files changed, 35 insertions, 30 deletions
@@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ require 'include/main.php'; diff --git a/autocompleter.php b/autocompleter.php index d27601d..97972c3 100644 --- a/autocompleter.php +++ b/autocompleter.php @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ require 'include/main.php'; diff --git a/class/CommonTable.php b/class/CommonTable.php index fcf9e23..afd1b4a 100644 --- a/class/CommonTable.php +++ b/class/CommonTable.php @@ -28,7 +28,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ diff --git a/class/FedoraClient.php b/class/FedoraClient.php index a356a9b..0724666 100644 --- a/class/FedoraClient.php +++ b/class/FedoraClient.php @@ -8,7 +8,7 @@ * PHP version 5 * * Copyright (C) 2010-2014 Remi Collet - * http://github.com/remicollet/rpmphp. + * https://git.remirepo.net/cgit/web/rpmphp.git. * * Inspired from python-fedora * @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/lgpl-2.1.txt LGPL License 2.1 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ diff --git a/class/FedoraPkgdb.php b/class/FedoraPkgdb.php index 9bbdfd5..3030a61 100644 --- a/class/FedoraPkgdb.php +++ b/class/FedoraPkgdb.php @@ -8,7 +8,7 @@ * PHP version 5 * * Copyright (C) 2010-2014 Remi Collet - * http://github.com/remicollet/rpmphp. + * https://git.remirepo.net/cgit/web/rpmphp.git. * * Inspired from python-fedora * @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/lgpl-2.1.txt LGPL License 2.1 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ diff --git a/class/PackagistClient.php b/class/PackagistClient.php index 2cb1260..2fbb522 100644 --- a/class/PackagistClient.php +++ b/class/PackagistClient.php @@ -8,7 +8,7 @@ * PHP version 5 * * Copyright (C) 2014 Remi Collet - * http://github.com/remicollet/rpmphp. + * https://git.remirepo.net/cgit/web/rpmphp.git. * * Inspired from python-fedora * @@ -30,7 +30,7 @@ * @author Remi Collet <remi@fedoraproject.org> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/lgpl-2.1.txt LGPL License 2.1 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ diff --git a/class/Parser.php b/class/Parser.php index fc5059d..124b36e 100644 --- a/class/Parser.php +++ b/class/Parser.php @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ class Parser @@ -319,7 +319,12 @@ class Parser foreach ($fmt as $fmt2) { $prov = $fmt2->attributes()['name']; if (preg_match('/^php-composer\((.*)\)$/', $prov, $reg)) { - if (substr($reg[1], 0, 4) != 'ext-' + list($vend, $proj) = explode('/', $reg[1], 2); + if ($vend == 'zendframework') { + if (!$composer) { // only if empty to keep laminas + $composer = $reg[1]; + } + } else if (substr($reg[1], 0, 4) != 'ext-' && substr($reg[1], -15) != '-implementation' && !in_array($reg[1], $excl)) { $composer = $reg[1]; diff --git a/class/TableAcls.php b/class/TableAcls.php index 570385d..574340c 100644 --- a/class/TableAcls.php +++ b/class/TableAcls.php @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ class TableAcls extends CommonTable diff --git a/class/TableIterator.php b/class/TableIterator.php index ee92ee9..1a83219 100644 --- a/class/TableIterator.php +++ b/class/TableIterator.php @@ -28,7 +28,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ @@ -45,7 +45,7 @@ * @author Remi Collet <unknown@unknwown.com> * @author Johan Cwiklinski <johan@x-tnd.be> * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ */ class TableIterator implements Iterator { diff --git a/class/TablePackagist.php b/class/TablePackagist.php index 4dd25bf..c684eb1 100644 --- a/class/TablePackagist.php +++ b/class/TablePackagist.php @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ class TablePackagist extends CommonTable diff --git a/class/TablePearRepo.php b/class/TablePearRepo.php index 65ffeea..9c563c6 100644 --- a/class/TablePearRepo.php +++ b/class/TablePearRepo.php @@ -28,7 +28,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ diff --git a/class/TableRRepo.php b/class/TableRRepo.php index 226a796..ad683e7 100644 --- a/class/TableRRepo.php +++ b/class/TableRRepo.php @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ diff --git a/class/TableRpm.php b/class/TableRpm.php index 12ac623..6207ef1 100644 --- a/class/TableRpm.php +++ b/class/TableRpm.php @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ class TableRpm extends CommonTable diff --git a/class/TableRpmRepo.php b/class/TableRpmRepo.php index 1a30242..1b2617c 100644 --- a/class/TableRpmRepo.php +++ b/class/TableRpmRepo.php @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ class TableRpmRepo extends CommonTable diff --git a/class/TableUpstream.php b/class/TableUpstream.php index e94d266..e0c99c6 100644 --- a/class/TableUpstream.php +++ b/class/TableUpstream.php @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ class TableUpstream extends CommonTable @@ -6,7 +6,7 @@ * fedcli.php is a command line tools to test FedoraClient clmsses * * Copyright (C) 2010-2014 Remi Collet - * http://github.com/remicollet/rpmphp. + * https://git.remirepo.net/cgit/web/rpmphp.git. * * Inspired from python-fedora * @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ chdir(dirname($_SERVER["SCRIPT_FILENAME"])); diff --git a/include/config.php.dist b/include/config.php.dist index 9420631..0445cbd 100644 --- a/include/config.php.dist +++ b/include/config.php.dist @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ define("MYHOST", "xxx"); diff --git a/include/main.php b/include/main.php index 512aeb7..21479fa 100644 --- a/include/main.php +++ b/include/main.php @@ -30,7 +30,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ define('RPMPHP_VERSION', '1.0.0-dev'); @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ require 'include/main.php'; diff --git a/pkgdb-ajax.php b/pkgdb-ajax.php index da0ae1a..82eb5b7 100644 --- a/pkgdb-ajax.php +++ b/pkgdb-ajax.php @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ header('Content-Type: application/json;charset=utf-8'); diff --git a/refresh.php b/refresh.php index 53d34c2..7fb4810 100644 --- a/refresh.php +++ b/refresh.php @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ chdir(dirname($_SERVER["SCRIPT_FILENAME"])); @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ require 'include/main.php'; diff --git a/smarty/templates/rpmphp/index.tpl b/smarty/templates/rpmphp/index.tpl index 7bf709a..aa07a77 100644 --- a/smarty/templates/rpmphp/index.tpl +++ b/smarty/templates/rpmphp/index.tpl @@ -58,6 +58,6 @@ <h2>Script sources</h2> <p>License : RPMPHP version {$rpmphp_version} is <a href='http://www.gnu.org/licenses/agpl.html' alt='AGPL'>AGPL</a>, FedoraClient version {$fedcli_version} is <a href='http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html' alt='LGPLv2+'>LGPLv2+</a>, - <p>You can retrieve the current application sources from my <a href='http://github.com/remicollet/rpmphp'>GIT repository on github.com</a>.</p> + <p>You can retrieve the current application sources from my <a href='https://git.remirepo.net/cgit/web/rpmphp.git'>GIT repository on github.com</a>.</p> <p>Feedbacks, RFE and patches are welcome.</p> @@ -31,7 +31,7 @@ * @author Johan Cwiklinski <johan@x-tnd.be> * @copyright 2010-2014 Remi Collet * @license http://www.gnu.org/licenses/agpl-3.0-standalone.html AGPL License 3.0 or (at your option) any later version - * @link http://github.com/remicollet/rpmphp/ + * @link https://git.remirepo.net/cgit/web/rpmphp.git/ * @since The begining of times. */ require 'include/main.php'; |