From 9d005cc4bd17b1fb59403e641d9a6254a58eb797 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 3 Apr 2024 15:23:57 +0200 Subject: set cache lifetime --- checkpkgist.json | 10 +--------- checkpkgist.php | 5 +++-- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/checkpkgist.json b/checkpkgist.json index 0a3850b..555bfeb 100644 --- a/checkpkgist.json +++ b/checkpkgist.json @@ -14,9 +14,6 @@ "php-tecnickcom-tc-lib-unicode-data": "tecnickcom\/tc-lib-unicode-data", "php-tedivm-jshrink": "tedivm\/jshrink", "phpunit6": "phpunit\/phpunit", - "phpunit7": "phpunit\/phpunit", - "phpunit8": "phpunit\/phpunit", - "phpunit9": "phpunit\/phpunit", "php-phine-path": "phine\/path", "php-phine-exception": "phine\/exception", "php-pimple-lib": "pimple\/pimple", @@ -57,7 +54,6 @@ "php-sabre-uri3": "sabre\/uri", "php-sabre-xml4": "sabre\/xml", "php-phpstan-phpdoc-parser": "phpstan\/phpdoc-parser", - "php-nikic-php-parser5": "nikic\/php-parser", "php-sebastian-version5": "sebastian\/version", "php-phpunit-php-file-iterator5": "phpunit\/php-file-iterator", "php-phpunit-php-invoker5": "phpunit\/php-invoker", @@ -65,19 +61,15 @@ "php-phpunit-php-timer7": "phpunit\/php-timer", "php-sebastian-cli-parser3": "sebastian\/cli-parser", "php-sebastian-code-unit3": "sebastian\/code-unit", - "php-sebastian-diff6": "sebastian\/diff", - "php-sebastian-recursion-context6": "sebastian\/recursion-context", "php-sebastian-exporter6": "sebastian\/exporter", "php-sebastian-comparator6": "sebastian\/comparator", "php-sebastian-environment7": "sebastian\/environment", - "php-sebastian-object-reflector4": "sebastian\/object-reflector", "php-sebastian-global-state7": "sebastian\/global-state", "php-sebastian-object-enumerator6": "sebastian\/object-enumerator", - "php-sebastian-type5": "sebastian\/type", "php-sebastian-complexity4": "sebastian\/complexity", "php-sebastian-lines-of-code3": "sebastian\/lines-of-code", "php-sebastian-code-unit-reverse-lookup4": "sebastian\/code-unit-reverse-lookup", "php-phpunit-php-code-coverage11": "phpunit\/php-code-coverage", "phpunit11": "phpunit\/phpunit", "phinx": "robmorgan\/phinx" -} +} \ No newline at end of file diff --git a/checkpkgist.php b/checkpkgist.php index 756c429..d566ba3 100755 --- a/checkpkgist.php +++ b/checkpkgist.php @@ -24,8 +24,8 @@ * @category CheckPkgist * @package FedoraClient * - * @author Remi Collet - * @copyright 2014 Remi Collet + * @author Remi Collet + * @copyright 2014-2024 Remi Collet * @license http://www.gnu.org/licenses/lgpl-2.1.txt LGPL License 2.1 or (at your option) any later version * @link https://github.com/remicollet/remirepo/tree/master/tools/checkpkgist */ @@ -49,6 +49,7 @@ class PkgClient { array( 'memoryCaching' => true, 'cacheDir' => $dir, + 'lifeTime' => 1800, 'automaticSerialization' => true ) ); -- cgit