Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60320 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75638 invoked from network); 26 Apr 2012 13:50:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Apr 2012 13:50:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=christian.stocker@liip.ch; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=christian.stocker@liip.ch; sender-id=pass Received-SPF: pass (pb1.pair.com: domain liip.ch designates 207.126.144.143 as permitted sender) X-PHP-List-Original-Sender: christian.stocker@liip.ch X-Host-Fingerprint: 207.126.144.143 eu1sys200aog117.obsmtp.com Linux 2.5 (sometimes 2.4) (4) Received: from [207.126.144.143] ([207.126.144.143:35867] helo=eu1sys200aog117.obsmtp.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/B3-54822-792599F4 for ; Thu, 26 Apr 2012 09:50:16 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]) (using TLSv1) by eu1sys200aob117.postini.com ([207.126.147.11]) with SMTP ID DSNKT5lSlLsDaQjnovDkAISvA6C0JKR6NZT2@postini.com; Thu, 26 Apr 2012 13:50:16 UTC Received: by wejx9 with SMTP id x9so1063319wej.33 for ; Thu, 26 Apr 2012 06:50:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:x-enigmail-version:openpgp :content-type:content-transfer-encoding:x-gm-message-state; bh=2EC/7C67kgtjPpRwGdeghbO1appxoVMQtOcuQDP3gc0=; b=Be3cC3tEyXYyDH5f8QB4rM7IapCsmyV3Jo1c6B0zB1eWYy6nsPtJIt05fo/0dQvgge nxd9vvJdpX390OidufVWqcfIHGxZR+v45zp0WOB8S6LAz427f3ELOh2kwpPvpbX2lxY1 gu11w+pLadCpLIKfmq+pWsfBukVFm5yM0cpR9X/ydb6FFD4KMVx9sQziH0oZA0vJbnsX PhnOOc1/FvD/zLm3COo45BVWiiJNNbTwwAzMSDlSx4Zbr9jkbLI0SoG6J0V27Z3AKpZg 3WMov4FSYJDJfTpxIvvaWbxK55+4cE6NSX4Y+RmR8IeL38rUw6cVd3DtNs26R1Z3n1FG HeZg== Received: by 10.180.98.8 with SMTP id ee8mr16923113wib.14.1335448212343; Thu, 26 Apr 2012 06:50:12 -0700 (PDT) Received: from pri7.local (77-58-253-248.dclient.hispeed.ch. [77.58.253.248]) by mx.google.com with ESMTPS id n20sm11264586wiw.5.2012.04.26.06.50.10 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Apr 2012 06:50:11 -0700 (PDT) Message-ID: <4F995291.8040507@liip.ch> Date: Thu, 26 Apr 2012 15:50:09 +0200 Organization: Liip AG User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Jordi Boggiano CC: =?UTF-8?B?Sm9oYW5uZXMgU2NobMO8dGVy?= , "internals@lists.php.net" References: <4F956B74.4040104@seld.be> <1335197218.7272.109.camel@guybrush> <4F994F0A.4080001@seld.be> In-Reply-To: <4F994F0A.4080001@seld.be> X-Enigmail-Version: 1.4.1 OpenPGP: id=0748D5FE; url=http://gpg-keyserver.de/pks/lookup?op=get&search=0xC2BAFBC30748D5FE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQnGKUu/QbtLHGEYM5cJa5DcuFun88U5qZmu3HNmKqgY0HKBqGqQYn8N+C8nG2k+CR+7uhTv Subject: Re: [PHP-DEV] Extension versions From: christian.stocker@liip.ch (Christian Stocker) On 26.04.12 15:35, Jordi Boggiano wrote: > 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. dom has the version 20031129 which is greater than 5. Not sure if anyone really checks against that, since not much changed there since obviously 2003 ;) But the problem with extensions like dom is the used libxml version which actually causes problems, not the version of the extension itself. There's a bug in libxml < 2.7.0 which can hit you hard for certain namespaces. So getting just the version number won't help you here. But that's not something we have to take care of IMHO, one can get that information with LIBXML_VERSION or LIBXML_DOTTED_VERSION chregu > > Cheers > -- Liip AG // Feldstrasse 133 // CH-8004 Zurich Tel +41 43 500 39 81 // Mobile +41 76 561 88 60 www.liip.ch // blog.liip.ch // GnuPG 0x0748D5FE