Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95695 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26164 invoked from network); 6 Sep 2016 11:25:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Sep 2016 11:25:34 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.42 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.218.42 mail-oi0-f42.google.com Received: from [209.85.218.42] ([209.85.218.42:34951] helo=mail-oi0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4C/90-14350-DA7AEC75 for ; Tue, 06 Sep 2016 07:25:33 -0400 Received: by mail-oi0-f42.google.com with SMTP id s131so27756398oie.2 for ; Tue, 06 Sep 2016 04:25:33 -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=coRUr+5hGdtOLXtU5xRjIVXfjQcWXtC6wr8s8YG8zGY=; b=j33hhX1HpRqWfr8AjCq1DJyj/nPdp+GvYfCYZFfYynBFG0v5bbcAP3uIUmA+xt/IOn MEqtCBF8dIblNfXkxJsTn3DCD0ot5ZyvX5omQIj4mclQ6s+fZq7Jauhly/MN9jAKcddq eV7spaXAJ+H3TP+Z3hWx8mkodouS4eUtcKffjNfblv+5OdVAt7UqehZulz73RfJEd+BU 3+KRO4b0GL+LmkuetLZ28qEMWILl4/sU5doDiusCf4o0/OBj+cRwfpKwhe504gefraay iAFYjflAgT6EPd5tNg/mfiH80m9iJRnoNLZtfzKS4lrkfd+KGX3v3a1J2S9DnHB++9KX 6JaQ== 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=coRUr+5hGdtOLXtU5xRjIVXfjQcWXtC6wr8s8YG8zGY=; b=QmR9T2M0fsxRAkjpBHbYh0TaoLTFTApWcftCg/e9fb548YJBcaXlH07rkSgl6GWYZM lba/sIecXJ1oPX3xslAUh8a/hRH5wfxGTDUKij8LtYFqEhNP8mgnY0smozhTD1XWkGVd SDnjRjmWsFtFZuiVlTUPRzP7XWzs8bVWfi7Ckpizt7I5qr87ns043Ia2PSSr03LQawUj Le9CD+egt6p8bphT9enP4OHUtE9D9w1btfTe42GtLO7e3r7GxZRhULTimaGO55N43a9C cR5py2ANSNKeHVbohoI49KK5gqBkepoA4QXct4rjKB71df067pWa3br0ffG4AOECG7iF srBA== X-Gm-Message-State: AE9vXwN4siMyvTMB4ImPhf+M2uC/8GicQuYdUFJpeS30wm3EX7V2camLhSSsuMWkPPhB1RauouCguuMU87kX8g== X-Received: by 10.157.54.235 with SMTP id s40mr6134534otd.181.1473161130161; Tue, 06 Sep 2016 04:25:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.51.85 with HTTP; Tue, 6 Sep 2016 04:25:28 -0700 (PDT) In-Reply-To: References: Date: Tue, 6 Sep 2016 18:25:28 +0700 Message-ID: To: Tony Marston Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Deprecate PEAR/PECL & Replace with composer/pickle From: pierre.php@gmail.com (Pierre Joye) Hi Tony, On Tue, Sep 6, 2016 at 2:17 PM, Tony Marston wrote: > "Niklas Keller" wrote in message > news:CANUQDCjeH45_2aEq74CCEOY4xc3xJ0o_+yRQ2NVy0K2VdOXFBQ@mail.gmail.com... > >> >> Tony Marston schrieb am So., 4. Sep. 2016, >> 10:38: >> >>> "Rowan Collins" wrote in message >>> news:b3bd7acf-a525-d921-1b1b-64ccf94b858b@gmail.com... >>> > >>> >On 02/09/2016 20:32, Davey Shafik wrote: >>> >> 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 >>> > >>> >Hi Davey, >>> > >>> >I think this is a sensible idea. It basically accepts the reality that >>> PEAR >>> >is no longer the main place new users of PHP should look for 3rd-party >>> >code. >>> > >>> >Thinking about the responses so far, I thought it would be useful to >>> >enumerate just what PEAR is, and what is being proposed for removal. It >>> >might even be worth adding a version of this to the RFC, in case it >>> reaches >>> >a wider audience who won't see this discussion. >>> > >>> >As I understand it, PEAR is: >>> > >>> >A1) A command-line package management tool for installing and updating >>> >packages of PHP code over the Internet. >>> >>> Incorrect. There is a web interface which I use EXCLUSIVELY to maintain >>> the >>> contents of my PEAR library. >> >> >> >> You only work in a web interface instead of an editor and version control >> system? > > > PEAR does not have a version control system. My software has an SVN > repository, but that is totally unconnected with PEAR. My choice of editor > has no bearing on the issue. It has, whether you need it or not is not really relevant to this discussion. > I use the web interface to maintain PEAR on my local machine, and my hosting > companies provide a web interface in their control panels. Happy to see there are still users for this tool, Christian and I had good fun writing it. Also you should know that this package is dead, it has no acttve maintainer (I was the last one) and has some limitations from to begin with, also was very handy at time especially for shared hosting without shell access. >> Packagist has a web interface to add new packages. New versions >> (maintenance) are published automatically once you push a new version tag. >> >> Any proposed replacement which does not have a >>> >>> web interface I'm afraid is totally unacceptable. Command line interfaces >>> went out of fashion when the Windows OS was first released, and anyone >>> who >>> still insists on using one has not joined the rest of the world in the >>> 21st >>> century. >>> >> >> The Windows OS doesn't even have a built-in SSH client to maintain remote >> systems. > > > Then use 3rd party software. There are several available. Your argument about GUI vs shell is totally irrelevant to this discussion. >> Using a command line interface is much better for mintaining a server. No >> web interface I'm aware of can compose different tasks as good as bash >> with >> using pipes to filter, sort, reformat, ... > > > That may be your personal opinion, but it is not shared by others. Again irrelevant and a wrong one. 95% of the web is run with systems with shell only access, if at all. And yes, even recent windows servers do that as well. However, whether you (I think it is fair to say you can speak for yourself) like it or not (or anyone else) is not relevant to this discussion. >> Global libraries work for Linux distributions as there's a team behind >> carefully watching that things are compatible. But PHP applications are >> from different vendors. There's nothing that prevents conflicts. >> >> I do NOT want the replacement PEAR library to update itself in the >>> >>> background. >> >> >> Composer doesn't do that. > > > Then how come I've seen several complaints in various forums about composer > updating libraries in the background and screwing things up. Composer does not update libraries in the background, your project dependencies being updated and you running composer update will update them. >> It has to be under MY control or I simply won't install it. >>> >>> >> >> You're in full control. There's even a lock file so everyone installing an >> app can install the same version of every depenendy. That way it's way >> easier to reproduce bugs locally. >> >> It has to be 100% stable, and I'm not sure that composer/pickle fit the >>> >>> bill. >>> >> >> I can't talk for pickle as I haven't used it as I usually do not use any >> additional extensions or compile them in directly. >> >> But I have never had any issues with the stability of Composer. >> >> There may be a small number >> >> >> I don't think it's a small number. Almost all projects I know use >> Composer. > > > Exactly. Only the projects that YOU know use composer, but what percentage > of all the PHP projects in the world does that cover? Saying that even Wordpress is starting to implement composer support says all I have to say about "usage". >> The only one I know of that uses Pear is bugs.php.net. > > That proves nothing except that your knowledge is very limited. I admire your enthusiasms but I strongly recommend to soften your tone. Cheers, -- Pierre @pierrejoye | http://www.libgd.org