Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35176 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26633 invoked by uid 1010); 5 Feb 2008 07:10:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 26618 invoked from network); 5 Feb 2008 07:10:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2008 07:10:29 -0000 Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 38.99.98.18 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 38.99.98.18 beast.bluga.net Linux 2.6 Received: from [38.99.98.18] ([38.99.98.18:60044] helo=mail.bluga.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 87/A0-14268-3EB08A74 for ; Tue, 05 Feb 2008 02:10:28 -0500 Received: from mail.bluga.net (localhost.localdomain [127.0.0.1]) by mail.bluga.net (Postfix) with ESMTP id 79B68C0F2EB; Tue, 5 Feb 2008 00:10:25 -0700 (MST) Received: from [192.168.0.106] (CPE-76-84-4-101.neb.res.rr.com [76.84.4.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bluga.net (Postfix) with ESMTP id D3BDEC0F2EA; Tue, 5 Feb 2008 00:10:24 -0700 (MST) Message-ID: <47A80BE0.4010303@chiaraquartet.net> Date: Tue, 05 Feb 2008 01:10:24 -0600 User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Steph Fox CC: Derick Rethans , Marcus Boerger , internals References: <01c801c865d8$2e837e90$c6fc1f3e@foxbox> <14581063.20080203002104@marcus-boerger.de> <005201c8660f$66a2b160$c6fc1f3e@foxbox> <00f501c86743$e5122320$c6fc1f3e@foxbox> In-Reply-To: <00f501c86743$e5122320$c6fc1f3e@foxbox> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [PHP-DEV] Splitting the subject: the PECL/PHP relationship From: greg@chiaraquartet.net (Gregory Beaver) Steph Fox wrote: > Hi Derick, > >> I see another issue after reading this, and that is that it makes it >> much harder for users to depend on specific extensions just being always >> available by default. It's important for application distributers to >> have this core set of extensions to rely on. It's annoying enough that >> some distributions (gentoo, freebsd) already use --disable-all and their >> users then bugging us (or me) with "you should check that SPL is enabled >> in your code". > > Well, you should, while it's possible to disable it! > > Consider a distribution that has _only_ the essentials. Consider also a > relatively small bundle of PECL extensions that ships alongside it. Say > we classify them: everything that currently ships with core would be > class A1 or whatever, as would anything else in PECL that is stable and > considered likely to be useful to a wide range of users. Anything in > that bundle is "recommended", and we make it very plain to sysadmins > that they should install any of that bundle supported by their system. > It includes things like (most) PDO drivers, SOAP, sqlite, zip, curl, > json... all things that are currently shipped with the core but not > necessarily (under doze at least) enabled by default. We educate PHP > users to insist on 'the A1 pack'. We also make it _possible_ to operate > PHP without 'the A1 pack', but I do just mean 'possible'. (In other > words it should be possible to write a basic website using PHP as it > comes, without adding or enabling anything.) > > If everything in PECL were classified, it'd be much easier for people to > figure out what to load and when. A simple 'justification' line > alongside the classification would be immensely helpful, assuming the > info in package.xml is made obvious via the installer. You'd need a few > extra sections in package.xml, e.g: > > 2.0 > stable > > A2 > specialist interest > > > active > 10/01/08 > 5 > As a side note, Pyrus development is continuing (will be restarting once the phar work slows a bit). There are several things I want to do for pecl that we don't do now. Here's the "off the top of my head" list: 1) build_dir - instead of using a random temporary directory for building, so those temp files hang around, making it easier to debug/patch (providing "pyrus make-clean" to clean up would be a piece of cake as well. 2) any changes you all work out like Steph's proposal for additions to package.xml, although I would recommend instead putting those in a special file within package.xml that is human-readable and machine parseable that pyrus would look for, so that the exts can still be installed by the PEAR installer. Greg