Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60319 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70809 invoked from network); 26 Apr 2012 13:35:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Apr 2012 13:35:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=j.boggiano@seld.be; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=j.boggiano@seld.be; sender-id=pass Received-SPF: pass (pb1.pair.com: domain seld.be designates 74.125.83.42 as permitted sender) X-PHP-List-Original-Sender: j.boggiano@seld.be X-Host-Fingerprint: 74.125.83.42 mail-ee0-f42.google.com Received: from [74.125.83.42] ([74.125.83.42:46113] helo=mail-ee0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8E/A2-54822-60F499F4 for ; Thu, 26 Apr 2012 09:35:03 -0400 Received: by eekb57 with SMTP id b57so545962eek.29 for ; Thu, 26 Apr 2012 06:34:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=sOz07wX4oHwFwkKsW22PwKw19e1LBjJAuuYPXG81gzE=; b=eGsSwEntHePXxB7HqtcLh2ToRTK209FD2dxumIpeJTnJM4uFtvluVN37d+nW0COV+Z L6e5NTRCSTdRX2FXFqZKyw2jUYO8WmkmgYUfwsRaeakT7asZbQErn8g3yIzcJ/HGKILf ItN8o0ipcwogGP8WCIBqdynEm3D1vERCgVTWWSLVBFijScJisPk1bd+BHKBCt0TLcXvj W1Or5h+IBxolpgxe9lK9sLIu+1Uun0wAOQBeza1gxgQL/2sJuhlxSmIdsTDnOqH46A1t iqZT6sjhar6t8ZmS3ljthT7ZPwKPfB+nGNE0SugAqKZqd4xMklG3mseY0Td/DXUzSUGl JCBA== Received: by 10.14.98.206 with SMTP id v54mr1542593eef.82.1335447299306; Thu, 26 Apr 2012 06:34:59 -0700 (PDT) Received: from [10.150.0.130] (178-83-215-33.dynamic.hispeed.ch. [178.83.215.33]) by mx.google.com with ESMTPS id n56sm14657121eeb.4.2012.04.26.06.34.58 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Apr 2012 06:34:58 -0700 (PDT) Message-ID: <4F994F0A.4080001@seld.be> Date: Thu, 26 Apr 2012 15:35:06 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: =?UTF-8?B?Sm9oYW5uZXMgU2NobMO8dGVy?= CC: "internals@lists.php.net" References: <4F956B74.4040104@seld.be> <1335197218.7272.109.camel@guybrush> In-Reply-To: <1335197218.7272.109.camel@guybrush> X-Enigmail-Version: 1.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQm5VaAKaq6sIx9mKW5LSC0FEPwqhT3KsO2qVuUCwG09os+6IpQgApY5FaXnivVlW5HdnPXl Subject: Re: [PHP-DEV] Extension versions From: j.boggiano@seld.be (Jordi Boggiano) On 23.04.2012 18:06, Johannes Schlüter wrote: > On Mon, 2012-04-23 at 16:47 +0200, Jordi Boggiano wrote: >> As you see it goes from no version at all to proper versions, passing by >> svn revisions, dates, or a mix of all. >> >> In Composer [1] we try to parse all that using ReflectionExtension, to >> allow people to require some specific version of an extension if they >> want. Obviously this doesn't work very well when no version or some >> random revision number is provided. >> >> Is there any other way I overlooked to get more version info? If not, >> can this at least be improved in the future? > > For PECL extensions the version number should be fine (or you can hit > the package maintainer ;-) ). For core stuff i'd propose to switch to > PHP_VERSION as version everywhere. While this can be complicated for > extensions which are maintained in both (oci8 for instance) That sounds reasonable, but is it possible that someone does this for all core ext (if it's not done yet, sorry I don't follow the commits list)? Then I'll happily nag pecl maintainers if I find offenders :) BTW I checked all the core exts I have on my machine, and none of them has a version above 5, so changing them all to 5.4.2 should not mess up any >=X.Y.Z constraint. Cheers -- Jordi Boggiano @seldaek - http://nelm.io/jordi