[Dehs-devel] r63 - trunk

atomo64-guest at alioth.debian.org atomo64-guest at alioth.debian.org
Fri Dec 7 00:50:00 UTC 2007


Author: atomo64-guest
Date: 2007-12-07 00:50:00 +0000 (Fri, 07 Dec 2007)
New Revision: 63

Modified:
   trunk/dehs.config.inc
   trunk/dehs_pg.php
Log:
Making the wwiz also scan for files with a bz2 file extension (intended for non-tarball releases)
Added an other tweak for qa.d.o's developer.php

Modified: trunk/dehs.config.inc
===================================================================
--- trunk/dehs.config.inc	2007-12-04 23:59:28 UTC (rev 62)
+++ trunk/dehs.config.inc	2007-12-07 00:50:00 UTC (rev 63)
@@ -15,7 +15,7 @@
 $email="bluefuture at email.it,filippo at esaurito.net,atomo64 at gmail.com";
 $uscan=$base.'/uscan.pl';
 $sfIgnore = array('dl','download','prdownload','downloads','lists','cvs','svn','www');
-$watchFileExts = array('tar.*', 'tgz', 'zip', 'gz');
+$watchFileExts = array('tar.*', 'tgz', 'zip', 'gz', 'bz2');
 /*1: watch url, 2: $space, 3: name, 4: file ext, 5: extra options*/
 $watchFormat = 'version=3' . "\n" . '%5$s' . "\n" . '%1$s%2$s%3$s-?_?([\d+\.]+|\d+)\.%4$s debian uupdate';
 $fetchUpstreamChanges = false;

Modified: trunk/dehs_pg.php
===================================================================
--- trunk/dehs_pg.php	2007-12-04 23:59:28 UTC (rev 62)
+++ trunk/dehs_pg.php	2007-12-07 00:50:00 UTC (rev 63)
@@ -793,7 +793,7 @@
         $rsql=pg_exec($db, $sql);
         while($res_array=pg_fetch_array($rsql)) {
 
-            if (!$res_array[watch]) { if ($res_array['wwiz_type']!="watch") $version="N/A"; else $version='-';}
+            if (!$res_array[watch]) { if ($res_array['wwiz_type']==null) $version="N/A"; else $version='-';}
             elseif (!$res_array[up_version]) $version="Error";
             else $version=$res_array[up_version];
 




More information about the Dehs-devel mailing list