Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95651 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75757 invoked from network); 5 Sep 2016 15:43:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2016 15:43:35 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.46 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 74.125.82.46 mail-wm0-f46.google.com Received: from [74.125.82.46] ([74.125.82.46:36445] helo=mail-wm0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2D/A1-45301-3A29DC75 for ; Mon, 05 Sep 2016 11:43:33 -0400 Received: by mail-wm0-f46.google.com with SMTP id b187so25309550wme.1 for ; Mon, 05 Sep 2016 08:43:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jxqNkvJVz1LouHtlPNxvIsZmcDTe10aDt59cVAw84Ds=; b=TpvS6dcrJaSZySHvVSfl1t9PL77xLGrQVHJPiBaj3MG5Bar75NR12OIaVHnmvzq8tL Ybw5lA5LI1O5Np76XVo5wfxaxpkww3+Pt7/8+1s2UhMiJ8ASTCaLV4xUtnfUp1fD478J +TSsORqMss6jfbfax7Uj3dtbulmObi+C+Kas3rMBybtvSaNJ/KUJlTaG92O9OXWS6wVH dfOxbCgFMyDphXe6VA1lYf4WBtZDRIG7GNNVr972pzCjqoOV5JwOrTiSb0RghNrn/jaU bsuHRbtAc6fOKzv7htBvSR5tmaiQYzGwRmT7/1ECaLUxlbX8OSbXnFTfM6x2hGSjQYky 89rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jxqNkvJVz1LouHtlPNxvIsZmcDTe10aDt59cVAw84Ds=; b=FjfxH4Qh1RPGAfg8fqyMzDZH3QQmg8gL1cXbH9jQe04Wxkjx9XvGTCXYvfgY0aD9SL q0u6G8HF8kleM5l7rd9MZRXlz4qhOyWC009YSpZvpIUHuQbG6TIztW+HsU0QTTNdC2en B4lCTLs30xdCgvEmc76l89oxaRXVY4VM5i86w6mSoFQCejXVgFCAODiG34a4iNTEKCpw YoyFjeaRmEAWL53hlEqqAsSm0w8i/EueQVm2lJNCI/h50hsxCoww+NW0noB2ZNjQHEmV zqk12eeFoxr9rkAB386U7WRnKIUrLj7lCKjql/KLu3KzvfHpZZXaqxpAeBbFN7ED72h+ bYxg== X-Gm-Message-State: AE9vXwPcCRWCIjUJNMqmSSht1vn3zdivUpzbwY45mXP4ohyTlnKTfkhh69dGJgwQqACJTWJzDhKeqyvooVuyZg== X-Received: by 10.28.132.16 with SMTP id g16mr15329623wmd.97.1473090208335; Mon, 05 Sep 2016 08:43:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.42.165 with HTTP; Mon, 5 Sep 2016 08:43:26 -0700 (PDT) Received: by 10.194.42.165 with HTTP; Mon, 5 Sep 2016 08:43:26 -0700 (PDT) In-Reply-To: References: Date: Mon, 5 Sep 2016 17:43:26 +0200 Message-ID: To: Michael Morris Cc: PHP Internals , Davey Shafik Content-Type: multipart/alternative; boundary=001a114428b89713de053bc48a5b Subject: Re: [PHP-DEV] [RFC] Deprecate PEAR/PECL & Replace with composer/pickle From: tyra3l@gmail.com (Ferenc Kovacs) --001a114428b89713de053bc48a5b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2016. szept. 5. 17:32 ezt =C3=ADrta ("Michael Morris" )= : > > Please be cautious - composer isn't a complete replacement for PEAR because > it doesn't behave the same way. For the most part this is a good thing, but > please consider the following. > > On not one but two occasions I was tasked after being hired with upgradin= g > PHP versions from 4.x to 5.3. In both cases the programmers on staff who > had inherited the balls of mud in question swore up and down it couldn't be > done - on both occasions it was because they weren't copying the PEAR > libraries over to the new PHP install. > > PEAR is a global installer, and unfortunately I imagine there are a lot o= f > legacy sites that have been inherited by inexperienced coders who don''t > know what it is (cause it is used so rarely these days) that have pear libs > in use. If they need to build a new version of PHP they are at a complete > loss unless they know what they are doing because, more often than not, the > requirement of pear libraries in PHP apps that use them go undocumented. > > Composer is superior for several reasons, but one of them is that it > doesn't share this flaw. The requirements of a composer project are liste= d > explicitly in the composer.json file - often down to the version # of the > code in question. > > While abandoning PEAR seems sensible, abandoning its plugins, not so much= . > To say nothing of PECL extensions which are, if I recall correctly, written > in C++ and extend the PHP runtime directly. > > Also, as Tony Marston pointed out, there are CPanel systems that allow th= e > pear libraries to be managed from a web gui. Given time I'm sure the folks > at cpanel will build new interfaces for new systems if it's possible. > Composer however doesn't really allow for this since the dependencies > belong to the PHP application, not the server. Does it make sense for any > new system to allow for server wide installing? Composer does have globa= l > requiring, but it's usually for support tools meant for use at the comman= d > line like PHP Unit. > > Despite the misgivings above, I do support the aims of this RFC and hope > they are considered going forward. > > On Fri, Sep 2, 2016 at 3:32 PM, Davey Shafik wrote: > > > Hi internals, > > > > I'd like to introduce a new RFC to deprecate pear/pecl (in 7.2, and remove > > in 8.0), as well as add composer/pickle (optional in 7.2, default in 7.3+) > > in their place. > > > > https://wiki.php.net/rfc/deprecate-pear-include-composer > > > > I highly recommend reading the twitter poll and accompanying thread at > > https://twitter.com/dshafik/status/756337267547832320 > > > > I believe that pickle solves the issues with regards to pecl, and have run > > the idea passed Jordi and Pierre. Both are fine with this RFC. :) > > > > I understand that adding in composer/pickle is just setting us up for > > having a future "Deprecate composer/pickle & Replace with foo/bar" RFC, so > > I've proposed the voting reflect that some people will just want to > > deprecate/remove pear/pecl and not replace them at all. > > > > I'm also proposing voting choices around the optional/default introduction > > of composer/pickle. > > > > - Davey > > For the record pear support local install and composer also provides global installmethods but you are right that they use the opposite by default. --001a114428b89713de053bc48a5b--