summaryrefslogtreecommitdiffstats
path: root/checkpkgist
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-07-29 14:16:07 +0200
committerRemi Collet <fedora@famillecollet.com>2015-07-29 14:16:07 +0200
commit7221c1279b48309e5decad7267299cb9285a6d6b (patch)
tree7c308b849cf90b9a23629b21327a8f44fc867862 /checkpkgist
parentb3813115e187b341c7709cd41e2e19d422780986 (diff)
checkpkgist: refresh
Diffstat (limited to 'checkpkgist')
-rw-r--r--checkpkgist/checkpkgist.json1
-rwxr-xr-xcheckpkgist/checkpkgist.php2
-rwxr-xr-xcheckpkgist/get9
3 files changed, 9 insertions, 3 deletions
diff --git a/checkpkgist/checkpkgist.json b/checkpkgist/checkpkgist.json
index 708dd88..7a7fa85 100644
--- a/checkpkgist/checkpkgist.json
+++ b/checkpkgist/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/checkpkgist.php b/checkpkgist/checkpkgist.php
index 06a6cb1..7217198 100755
--- a/checkpkgist/checkpkgist.php
+++ b/checkpkgist/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);
diff --git a/checkpkgist/get b/checkpkgist/get
index b5ecf46..ab432b8 100755
--- a/checkpkgist/get
+++ b/checkpkgist/get
@@ -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