Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85824 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83363 invoked from network); 15 Apr 2015 14:04:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Apr 2015 14:04:50 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.174 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.220.174 mail-qk0-f174.google.com Received: from [209.85.220.174] ([209.85.220.174:35910] helo=mail-qk0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0F/91-05595-1007E255 for ; Wed, 15 Apr 2015 10:04:49 -0400 Received: by qku63 with SMTP id 63so85085218qku.3 for ; Wed, 15 Apr 2015 07:04:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PpfvBvjg7HH5UtRxxeGQFei4TdtDagddIPM6VdT0Tso=; b=gTIQIoIb0qPjeyb5lVzCkpNDDx6pJtcbO1w64z3gmLCLP570ME2WUIesVh+tV17frx M7NDGAamEFjwRQ0l6+Rt2o6GhNMW3ASNJ49x3Xec/7FLIU6VXKO5LIMEAeERLzM7n9lp 0f0mjDsZYyauqrIAudd1h2ebgPE4JOMXLwxndc2cnQ7A4ooIzqHsyxHHHnEhosRzCfmw cp4JDbHs/J7n34JekY/9Rwim+qkNTn+y8Ng2XoakcTZXLcfqxpaI+W9I8IOT6eQcuXg0 e0pbgt3Mt2xfVy/gb4phr6Z7f3LRw/K183+zOVGnI8MsmO9Tf4jvOSNwHrCTF5W9eD0m ++xQ== MIME-Version: 1.0 X-Received: by 10.140.35.227 with SMTP id n90mr30888307qgn.17.1429106659041; Wed, 15 Apr 2015 07:04:19 -0700 (PDT) Received: by 10.96.39.195 with HTTP; Wed, 15 Apr 2015 07:04:18 -0700 (PDT) Received: by 10.96.39.195 with HTTP; Wed, 15 Apr 2015 07:04:18 -0700 (PDT) In-Reply-To: References: <012601d0776b$8672a250$9357e6f0$@php.net> Date: Wed, 15 Apr 2015 21:04:18 +0700 Message-ID: To: Benjamin Eberlei Cc: PHP internals , francois@php.net Content-Type: multipart/alternative; boundary=001a11c006b0c22a0d0513c3d235 Subject: Re: [PHP-DEV] Fixing bundled extension version mess From: pierre.php@gmail.com (Pierre Joye) --001a11c006b0c22a0d0513c3d235 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Again, take #3, ext released in and outiside the core will use the external version number everywhere. Like oci, zip and other well managed versions. The stupid think like 0.1 since 8 years will use the php version. That is all. Installer can easily knows which uses what. Or am I missing something obvious? On Apr 15, 2015 8:19 PM, "Benjamin Eberlei" wrote: > > On Wed, Apr 15, 2015 at 1:01 PM, Fran=C3=A7ois Laupretre > 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 correspon= d >> 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 =3D=3D Ext Version or Ext has its own version. By > default it should be the first, but some maintainers could deviate if the= y > 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 creat= e 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=C3=A7ois >> >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > --001a11c006b0c22a0d0513c3d235--