From c51fd51f2bd5abe29c2d9829d2eff3c88c83e663 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 9 Mar 2014 07:28:30 +0100 Subject: php-pecl-solr: cleanups --- xml2changelog | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 xml2changelog (limited to 'xml2changelog') diff --git a/xml2changelog b/xml2changelog deleted file mode 100644 index c114873..0000000 --- a/xml2changelog +++ /dev/null @@ -1,34 +0,0 @@ -= "2"){ // Package.xml V 2.0 - printf("*** Version %s (%s) - API %s (%s) - %s\n\n%s\n\n", - $xml->version->release, $xml->stability->release, - $xml->version->api, $xml->stability->api, - $xml->date, $xml->notes); - $new=$xml->version->release; - - if (isset($xml->changelog->release) && count($xml->changelog->release)) - foreach($xml->changelog->release as $rel) { - $old=$rel->version->release; - if ("$old" != "$new") { - printf("*** Version %s (%s) - API %s (%s) - %s\n\n%s\n\n", - $rel->version->release, $rel->stability->release, - $rel->version->api, $rel->stability->api, - $rel->date, $rel->notes); - } - } -} else { // Package.xml V 1.0 - printf("* Version %s (%s) - %s\n\n%s\n\n", - $xml->release->version, $xml->release->state, $xml->release->date, $xml->release->notes); - - foreach($xml->changelog->release as $rel) - printf("* Version %s (%s) - %s\n\n%s\n\n", - $rel->version, $rel->state, $rel->date, $rel->notes); -} -?> -- cgit