Re: [PEAR-DEV] Manage PHP version during pecl install

[email protected] (Ferenc Kovacs) Tue, 22 Sep 2015 16:12:44 +0200
Newsgroups php.pear.dev
Message-ID <CAH-PCH7wynNVW2_rNHkWeBETpexya5M0Y1dBF0NmAQxXGzjkyg@mail.gmail.com>
On Tue, Sep 22, 2015 at 6:13 AM, Christian Weiske <[email protected]>
wrote:

> Hello Remi,
>
>
> > With upcoming PHP 7 some extension maintainers have choose to maintain
> > 2 different version, one for PHP 5, another for PHP 7
> >
> > Digging a little in the PEAR code, I think it will be nice to check
> > extension PHP minimal version against current PHP version.
> >
> > But, IIUC, this will require to extend the REST schema (1.4 ?) to
> > include this information.
>
> I had similar thoughts in february this year; see
> https://pear.php.net/bugs/bug.php?id=20507
>
> But I can tell you that this will not happen. I'll be glad to get the
> 1.10 release out, but have no further plans.
>
> --
> Regards/Mit freundlichen Grüßen
> Christian Weiske
>
> -=≡ Geeking around in the name of science since 1982 ≡=-
>

So we would have to extend the REST schema in a backward compatible way and
regenerate all of the affected xml files plus add support for the new info
in PEAR_Core.
Plus the examples mentioned by Remi are all pecl exts, so that also means
updating http://git.php.net/?p=web/pecl.git and regenerating the xml files
on pecl.php.net
I can help with the second part as I have both access and some experience
with to the peclweb repo and have access to the current pecl server.

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu