Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95615 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43368 invoked from network); 4 Sep 2016 10:26:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Sep 2016 10:26:59 -0000 Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.163 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.163 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.163] ([81.169.146.163:15168] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4B/D8-32927-FE6FBC75 for ; Sun, 04 Sep 2016 06:26:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1472984812; l=10100; s=domk; d=kelunik.com; h=Content-Type:To:Subject:Date:From:In-Reply-To:References: MIME-Version; bh=8KAz6wIGWAa4hRG9wnezgJkYI011SFn26CwdxhvuwRs=; b=ql2G8wKXCdA6R6xw8GJ6u2C8Gi4uc+k4und1W8DCVLKwSzfIScPXLAt7v209v4oF6vc tlDVBT9iUe4KGI44ArE5VYN2vFhJcBdaD57bVXXJ5l5D+TcJaNuP8H40pJwAe3qVfVYbm s3+8p4rFnalYED4eJlLKmnFS/cocl+zj4xo= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLGvomb4bl9EfHtOnI6 X-RZG-CLASS-ID: mo00 Received: from mail-wm0-f51.google.com ([74.125.82.51]) by smtp.strato.de (RZmta 38.13 AUTH) with ESMTPSA id V07cdas84AQqXwW (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for ; Sun, 4 Sep 2016 12:26:52 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id v143so92909966wmv.0 for ; Sun, 04 Sep 2016 03:26:52 -0700 (PDT) X-Gm-Message-State: AE9vXwMOdJwYSGjezQlixH/ftrYNUxl2OSWdVMwmxZIHg8UwgnoIfrG6ln0GyPM5MjuzV0sxx01obnCXH3Ce+Q== X-Received: by 10.195.12.77 with SMTP id eo13mr26529647wjd.142.1472984812115; Sun, 04 Sep 2016 03:26:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 04 Sep 2016 10:26:41 +0000 X-Gmail-Original-Message-ID: Message-ID: To: Tony Marston , internals@lists.php.net Content-Type: multipart/alternative; boundary=047d7bd9172a7c933f053bac0030 Subject: Re: [PHP-DEV] [RFC] Deprecate PEAR/PECL & Replace with composer/pickle From: me@kelunik.com (Niklas Keller) --047d7bd9172a7c933f053bac0030 Content-Type: text/plain; charset=UTF-8 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? 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. 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, ... I do NOT want the replacement PEAR library to be mixed in with my > application code. > It's not mixed. Every depenendy has it's very own directory within the vendor directory. Pear instead mixes everything together by installing libraries globally. 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. 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. The only one I know of that uses Pear is bugs.php.net. of developers out there who think that composer > is the best thing since sliced bread, but I'm not one of them, and I > strongly object to a small number of developers having the ability to > impose > their personal preferences on the rest of the community. > > -- > Tony Marston > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --047d7bd9172a7c933f053bac0030--