Re: PEAR_Command_Registry: Handling <provides>-tag
| From: | Martin Jansen | Date: | Wed, 04 Jun 2003 16:04:43 +0000 |
| Subject: | Re: PEAR_Command_Registry: Handling <provides>-tag | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17013@lists.php.net to get a copy of this message | ||
On Wed Jun 04, 2003 at 11:1500AM +0200, Pierre-Alain Joye wrote:
> On Wed, 4 Jun 2003 09:58:57 +0200
> Martin Jansen <mj@php.net> wrote:
>
> > I have a fix pending for this, but I wonder
> >
> > a) what the tag is for?
>
> It will help for dependencies check (even more with the extends patch
> from derick).
What patch is that?
> Does that mean pear info should show every 'provide' item?
Currently, my patch does this. (The output looks ugly then.)
> Not sure, the list can be very long and not really usefull. A restricted
> list with only classes can be enough.
>
> A new command 'pear provide' (or similar) that shows the 'provide' tree
> may be a good thing (tm)?
We might as well "abuse" the option -v (verbose++) to achieve this: The
default is to only the list to provided classes and if -v is set, the
rest is also printed. I'll see how this works.
--
- Martin Martin Jansen
http://martinjansen.com/