Re: Fixing bundled extension version mess

From: Date: Wed, 15 Apr 2015 13:19:47 +0000
Subject: Re: Fixing bundled extension version mess
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-85823@lists.php.net to get a copy of this message
On Wed, Apr 15, 2015 at 1:01 PM, François Laupretre <francois@php.net> wrote: > > De : Pierre Joye [mailto:pierre.php@gmail.com] > > > > What do you think to simply use the PHP version number instead of some > > outdated (most of the time) version for all bundled extensions? > > As the idea is that extensions available externally are supposed to change > more often than the bundled version, why wouldn't we add a fourth number to > their version ? By definition, version X.Y.Z.0 would correspond to the > version distributed with PHP X.Y.Z. > But its not clear if this makes sense. if you have extension "foo" in php 7.0.1 and 7.0.2 and you want to provide an override via pecl, would you need to release 7.0.1.1 and 7.0.2.1? That doesnt make sense imho. Its either PHP Version == Ext Version or Ext has its own version. By default it should be the first, but some maintainers could deviate if they wish. > > Also : > > - When we distribute the same extension code with PHP 5.4, 5.5, and 5.6, > what is the version we set for this code in pecl ? Will we have to create 3 > branches, just for versions ? > > - If a new PHP version is released, do we need to change the extension > version even if the code was not modified ? > > Regards > > François > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#85823) next »