Re: Pyrus: Installation of pear/validate-beta fails: invalid package
| From: | Brett Bieber | Date: | Thu, 11 Mar 2010 03:09:47 +0000 |
| Subject: | Re: Pyrus: Installation of pear/validate-beta fails: invalid package | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-53313@lists.php.net to get a copy of this message | ||
2010/3/10 Helgi Þormar Þorbjörnsson <helgith@gmail.com>:
> For help with maintaining package.xml files I would advice you to use
> http://pear.php.net/package/pear_packagefilemanager2 as it allows
> you to have a 20 lines PHP script to maintain and update the files.
I agree. Tools to manage package xml v2 files have been around for
about 6 years. People just need to use them.
> However ... Pyrus will make things all that much easier to do :) Links to said explanations on
> how Pyrus does things elude me at the moment but it does things in a fantastically easy way.
Pyrus does make things much easier.
The pyrus developer tools provide the relevant commands:
"generate-pear2" to create a pear package skeleton, "generate-ext" to
make a pecl extension skeleton, and "make" to auto-generate the
package.xml.
Use the tools to manage the package.xml and avoid headaches.
Plenty of good documentation here:
http://pear.php.net/manual/en/pyrus.commands.make.php
http://pear.php.net/manual/en/pyrus.commands.php
--
Brett Bieber