diff options
-rw-r--r-- | checkpkgist.json | 1 | ||||
-rwxr-xr-x | checkpkgist.php | 2 | ||||
-rwxr-xr-x | get | 9 |
3 files changed, 9 insertions, 3 deletions
diff --git a/checkpkgist.json b/checkpkgist.json index 708dd88..7a7fa85 100644 --- a/checkpkgist.json +++ b/checkpkgist.json @@ -1,5 +1,4 @@ { - "composer\/spdx-licenses": "php-composer-spdx-licenses", "fabpot\/goutte": "php-goutte", "zendframework\/zendframework1": "php-ZendFramework", "sabre\/dav": "php-sabre-dav", diff --git a/checkpkgist.php b/checkpkgist.php index 06a6cb1..7217198 100755 --- a/checkpkgist.php +++ b/checkpkgist.php @@ -68,7 +68,7 @@ class PkgClient { function run($name, $rpm) { global $quiet, $verb, $client; - if (in_array($name, ['znerol/php-stringprep'])) { + if (in_array($name, ['znerol/php-stringprep', 'psr/http-message-implementation'])) { return; } list($owner, $library) = explode('/', $name, 2); @@ -1,3 +1,10 @@ #!/bin/sh -wget 'http://rpms.famillecollet.com/rpmphp/get.php?table=packagist' -O rpmphp.json +mv rpmphp.json.prev /tmp +if wget 'http://rpms.famillecollet.com/rpmphp/get.php?table=packagist' -O rpmphp.json.new +then + cp rpmphp.json rpmphp.json.prev && \ + cp rpmphp.json.new rpmphp.json && \ + echo done + colordiff rpmphp.json.prev rpmphp.json +fi
\ No newline at end of file |