]> granicus.if.org Git - php/commitdiff
* added preferred_state config keyword
authorStig Bakken <ssb@php.net>
Thu, 28 Mar 2002 14:27:02 +0000 (14:27 +0000)
committerStig Bakken <ssb@php.net>
Thu, 28 Mar 2002 14:27:02 +0000 (14:27 +0000)
pear/PEAR/Config.php

index 68e9fa772e0397011fe7d393650a51fb99e0750b..8bac159a471fd4ceea5343b2c1f9b529e8148c32 100644 (file)
@@ -122,12 +122,22 @@ class PEAR_Config extends PEAR
             'default' => 1,
             'doc' => 'verbosity level',
             ),
+        'preferred_state' => array(
+            'type' => 'set',
+            'default' => 'stable',
+            'doc' => 'the installer will prefer releases with this state
+when installing packages without a version or state specified',
+            'valid_set' => array(
+                'stable', 'beta', 'alpha', 'devel', 'snapshot'),
+            ),
+/*
         'testset1' => array(
             'type' => 'set',
             'default' => 'foo',
             'doc' => 'test set',
             'valid_set' => array('foo', 'bar'),
             ),
+*/
         );
 
     // }}}