svn: /pear2/Pyrus_Developer/trunk/ customcommand/commands.xml src/Pyrus/Developer/PackageFile/Commands.php
| From: | Brett Bieber | Date: | Sun, 02 Aug 2009 13:30:15 +0000 |
| Subject: | svn: /pear2/Pyrus_Developer/trunk/ customcommand/commands.xml src/Pyrus/Developer/PackageFile/Commands.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-56834@lists.php.net to get a copy of this message | ||
saltybeagle Sun, 02 Aug 2009 13:30:15 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=286666
Log:
Remove the options as they really aren't needed, just set proper defaults to fix notices.
Changed paths:
U pear2/Pyrus_Developer/trunk/customcommand/commands.xml
U pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php
Modified: pear2/Pyrus_Developer/trunk/customcommand/commands.xml
===================================================================
--- pear2/Pyrus_Developer/trunk/customcommand/commands.xml 2009-08-02 13:24:41 UTC (rev 286665)
+++ pear2/Pyrus_Developer/trunk/customcommand/commands.xml 2009-08-02 13:30:15 UTC (rev 286666)
@@ -303,26 +303,7 @@
<autoloadpath></autoloadpath>
<summary>Generate the subversion source layout for a new PEAR2 package</summary>
<shortcut>gp</shortcut>
- <options>
- <option>
- <name>nocompatible</name>
- <shortopt>n</shortopt>
- <type><bool/></type>
- <doc>Generate compatible package xml</doc>
- </option>
- <option>
- <name>packagexmlsetup</name>
- <shortopt>p</shortopt>
- <type><bool/></type>
- <doc>Generate package xml</doc>
- </option>
- <option>
- <name>package</name>
- <shortopt>m</shortopt>
- <type><bool/></type>
- <doc>Make the package releases</doc>
- </option>
- </options>
+ <options/>
<arguments>
<argument>
<name>package</name>
Modified: pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php
===================================================================
--- pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php 2009-08-02 13:24:41 UTC
(rev 286665)
+++ pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php 2009-08-02 13:30:15 UTC
(rev 286666)
@@ -547,6 +547,11 @@
__HALT_COMPILER();
");
+ $options['stub'] = 'stub.php';
+ $options['extrasetup'] = 'extrasetup.php';
+ $options['packagexmlsetup'] = 'packagexmlsetup.php';
+ $options['package'] = false;
+ $options['nocompatible'] = false;
$this->makePackageXml($frontend, array('packagename' =>
$info['package'], 'channel' => $args['channel']),
$options);
}