cvs: pear-core /PEAR ChannelFile.php Registry.php /PEAR/Validator PECL.php
| From: | Greg Beaver | Date: | Thu, 03 Mar 2005 02:37:59 +0000 |
| Subject: | cvs: pear-core /PEAR ChannelFile.php Registry.php /PEAR/Validator PECL.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-29999@lists.php.net to get a copy of this message | ||
cellog Wed Mar 2 21:37:59 2005 EDT
Added files:
/pear-core/PEAR/Validator PECL.php
Modified files:
/pear-core/PEAR ChannelFile.php Registry.php
Log:
Fix Bug #3634: still too many pear-specific restrictions on package valid
http://cvs.php.net/diff.php/pear-core/PEAR/ChannelFile.php?r1=1.51&r2=1.52&ty=u
Index: pear-core/PEAR/ChannelFile.php
diff -u pear-core/PEAR/ChannelFile.php:1.51 pear-core/PEAR/ChannelFile.php:1.52
--- pear-core/PEAR/ChannelFile.php:1.51 Wed Feb 23 12:08:29 2005
+++ pear-core/PEAR/ChannelFile.php Wed Mar 2 21:37:59 2005
@@ -16,10 +16,11 @@
// | Authors: Gregory Beaver <cellog@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: ChannelFile.php,v 1.51 2005/02/23 17:08:29 cellog Exp $
+// $Id: ChannelFile.php,v 1.52 2005/03/03 02:37:59 cellog Exp $
require_once 'PEAR/ErrorStack.php';
require_once 'PEAR/Validate.php';
+require_once 'PEAR/Validator/PECL.php';
require_once 'PEAR/XMLParser.php';
require_once 'PEAR/Common.php';
http://cvs.php.net/diff.php/pear-core/PEAR/Registry.php?r1=1.125&r2=1.126&ty=u
Index: pear-core/PEAR/Registry.php
diff -u pear-core/PEAR/Registry.php:1.125 pear-core/PEAR/Registry.php:1.126
--- pear-core/PEAR/Registry.php:1.125 Mon Feb 21 12:54:15 2005
+++ pear-core/PEAR/Registry.php Wed Mar 2 21:37:59 2005
@@ -18,7 +18,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Registry.php,v 1.125 2005/02/21 17:54:15 cellog Exp $
+// $Id: Registry.php,v 1.126 2005/03/03 02:37:59 cellog Exp $
/*
TODO:
@@ -207,6 +207,7 @@
$pecl_channel->setServer('pecl.php.net');
$pecl_channel->setSummary('PHP Extension Community Library');
$pecl_channel->setDefaultPEARProtocols();
+ $pecl_channel->setValidationPackage('PEAR_Validator_PECL',
'1.0');
} else {
$pecl_channel->setName('pecl.php.net');
$pecl_channel->setAlias('pecl');
@@ -1265,6 +1266,7 @@
$pear_channel->setAlias('pecl');
$pear_channel->setSummary('PHP Extension Community Library');
$pear_channel->setDefaultPEARProtocols();
+ $pear_channel->setValidationPackage('PEAR_Validator_PECL',
'1.0');
return $pear_channel;
}
if ($this->_getChannelFromAlias($channel) == '__uri') {
http://cvs.php.net/co.php/pear-core/PEAR/Validator/PECL.php?r=1.1&p=1
Index: pear-core/PEAR/Validator/PECL.php
+++ pear-core/PEAR/Validator/PECL.php
<?php
/**
* Channel Validator for the pecl.php.net channel
* @package PEAR
* @author Greg Beaver <cellog@php.net>
* @version $Id: PECL.php,v 1.1 2005/03/03 02:37:59 cellog Exp $
*/
/**
* This is the parent class for all validators
*/
require_once 'PEAR/Validate.php';
/**
* Channel Validator for the pecl.php.net channel
* @package PEAR
* @author Greg Beaver <cellog@php.net>
* @version $Id: PECL.php,v 1.1 2005/03/03 02:37:59 cellog Exp $
*/
class PEAR_Validator_PECL extends PEAR_Validate
{
function validateVersion()
{
return true;
}
}
?>