Re: Re: [RfC] XML_Beautifier
| From: | Pierre-Alain Joye | Date: | Sun, 21 Sep 2003 11:09:38 +0000 |
| Subject: | Re: Re: [RfC] XML_Beautifier | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21861@lists.php.net to get a copy of this message | ||
On Fri, 19 Sep 2003 20:11:27 +0200
Martin Jansen <mj@php.net> wrote:
> On Fri Sep 19, 2003 at 01:1000PM -0400, Greg Beaver wrote:
> > I really like the apiVersion() method - can we make this a
> > requirement for new pear packages and new releases of current
> > packages?
>
> That would require every package maintainer to take care of bumping
> the version inside the source code *and* inside package.xml when the
> API is changed. And I'm really, really sure that this will be
> forgotten 10^6 times, which makes apiVersion() absolutely useless
> then.
function apiVersion()
{
return '@API_VERSION@';
}
where '@API_VERSION@' will be automatically replaced by the package or
the whole method if it does not exist. Quit easy to do.
pierre