diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-07-29 14:16:07 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-07-29 14:16:07 +0200 |
commit | a629f667db3c51c765e92553afc39abf353bf1be (patch) | |
tree | ee730e2ef991e0aae81213585c9b867bacf4976f | |
parent | 3798ba97f971007f08cd2ffa792eef201f2e3662 (diff) |
checkpkgist: refresh
-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 |