Newsgroups: php.internals,php.pecl.dev Path: news.php.net Xref: news.php.net php.internals:36428 php.pecl.dev:5269 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25139 invoked from network); 24 Mar 2008 14:08:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Mar 2008 14:08:00 -0000 Authentication-Results: pb1.pair.com header.from=steph@zend.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=steph@zend.com; spf=permerror; sender-id=softfail Received-SPF: error (pb1.pair.com: domain zend.com from 64.97.136.174 cause and error) X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 64.97.136.174 smtpout0174.sc1.he.tucows.com Solaris 8 (1) Received: from [64.97.136.174] ([64.97.136.174:52695] helo=n068.sc1.he.tucows.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 86/24-04656-FB5B7E74 for ; Mon, 24 Mar 2008 09:08:00 -0500 Received: from sc1-out02.emaildefenseservice.com (64.97.139.2) by n068.sc1.he.tucows.com (7.2.069.1) id 4769316E00F9BC54; Mon, 24 Mar 2008 14:07:55 +0000 X-SpamScore: 50 X-Spamcatcher-Summary: 50,0,0,2729acdabf15846d,03b5634cdd4bfaa1,steph@zend.com,-,RULES_HIT:355:379:539:540:541:542:543:567:599:601:945:967:973:980:988:989:1155:1156:1260:1277:1311:1313:1314:1345:1437:1515:1516:1518:1535:1543:1587:1593:1594:1605:1711:1730:1747:1766:1792:2073:2075:2078:2110:2198:2199:2393:2525:2553:2561:2566:2682:2685:2691:2736:2828:2829:2857:2859:2892:2920:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3622:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:3934: 3936:3938:3941:3944:4250:4387:4886:5007:6119:6261:7653:7679:7875:7903,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:none,DNSBL:none X-Spamcatcher-Explanation: Received: from foxbox (62-31-252-198.cable.ubr07.shef.blueyonder.co.uk [62.31.252.198]) (Authenticated sender: steph.fox) by sc1-out02.emaildefenseservice.com (Postfix) with ESMTP; Mon, 24 Mar 2008 14:07:54 +0000 (UTC) Message-ID: <003701c88db8$915a4410$c6fc1f3e@foxbox> Reply-To: "Steph Fox" To: "Pierre Joye" Cc: "internals" , References: <00dc01c88c90$c34c5cc0$c6fc1f3e@foxbox> Date: Mon, 24 Mar 2008 14:08:41 -0000 Organization: Zend Technologies MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PHP-DEV] Re: [PECL-DEV] About that PECL versioning thing From: steph@zend.com ("Steph Fox") Hello Pierre, >> Aside from Pierre's arguments in favour of using package.xml to set the >> extension version (which 3 PECL extensions - two of them Pierre's - do >> at >> present), does anyone have any objection to the proposal at >> http://wiki.php.net/rfc/peclversioning? > > I'm not in favour of using package.xml to set the version. I'm in > favour of allowing package.xml usage. Nobody's attempting to prevent package.xml usage, least of all me! I actually want to extend package.xml to give more information (QA related) so that people have more of a clue about what they're dealing with. E.g. code coverage %, maintenance status, whether the package is of general/special interest (this last mostly for hosting companies) and some kind of grading system. But this is all open to discussion and probably won't happen for a long while. > Now, why cross posting, adding a random set of the pecl-dev > discussions as comments in the wiki? Because you told me to do that :) I stopped when it became clear nobody was going to put comments on there. > And the rules about what means a > version increment is missing. We already have three sets of rules for that (PEAR rules, php-src rules, version_compare() rules). Basically if version_compare() can deal with it, it's in - I don't see how any other approach can be justified, since it may mean messing up someone's long-adopted system. > As far as I remember, php-src did not want to have per extension > versions. php-src needs to decide what's core (and takes the PHP version) and what's not. This isn't going to happen overnight, so I've compromised by not using the -dev tag for symlinked extensions and by applying the RC data to PECL builds only. There are a few other packages that won't get a -dev tag because they haven't been touched since the last (often first) package release, ie they're not under active development. These aren't necessarily stable, but that's a whole separate issue... we need a way to clearly mark orphaned packages, both for pear/pyrus and for pecl.php.net. > However, It is fine to add an information about its version > to help the users to know if the pecl releases is newer than the > bundled version. Can we please keep the discussions in on list? It is > already hard enough to follow everything. There haven't been any off-list discussions about this... unless you count my asking permission from various individuals to add versioning to their packages? >> I discovered tonight that I have full PECL karma, so the secondary >> question >> is: does anyone have any objection to my making all (or most... I'd >> leave >> the package.xml ones for now) PECL modules fit this versioning model? > > Many extensions use branches, I would go with a patch posted to > pecl-dev and let the respective maintainers apply it to the active > branches. (zip has two branches + php-src). This affects 27 symlinked extensions in 5_2 and 21 in 5_3, all of which I have checked out locally. It's a relative non-issue, for the reasons given above. I started work yesterday on extensions where the maintainer has given explicit permission or where I know for sure they're no longer involved in PHP development (Sterling, Tal). Amazingly, fribidi still works after five years of zero interference :) I'll post patches for the rest on a per-maintainer basis over the coming weeks, but I have to say there are a number of PECL packages I believe are long-time orphans. - Steph > > Cheers, > -- > Pierre > http://blog.thepimp.net | http://www.libgd.org > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >