Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95596 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96019 invoked from network); 3 Sep 2016 10:20:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Sep 2016 10:20:26 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.53 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.53 mail-wm0-f53.google.com Received: from [74.125.82.53] ([74.125.82.53:36879] helo=mail-wm0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/17-19490-9E3AAC75 for ; Sat, 03 Sep 2016 06:20:25 -0400 Received: by mail-wm0-f53.google.com with SMTP id v143so65368237wmv.0 for ; Sat, 03 Sep 2016 03:20:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:from:date:to:message-id; bh=XORCSdKozzdRmoXMuvBL86fiiE0txyutpPdxSbucLBU=; b=zy7QMla6+Z0/plIoGw7BIwOdjrvdYOniqcVyLYVuhtGltuDyYTjzAe0y2hCOxdE/sE Ux+sl1LV7Rf1CQg8Ol8jDlosFA2FhToYPqcAhklA6M5KIw4/fRuzU2ki3C2QQ5TXcAq+ 3R1QPXXvveAeqJfF4GeLR6hEmf33/XrsAFZ762DFqfNrFAae8LhaJ/CBDp31pd7czhYC fJgop+9NGeoT09ckIhBXbBhzupNizIThrjZmcr61CfL5JMntBZZyvJK8iv7egFMp60xn bfzbxhSRxAD2t3vXphd79KPNelcAbwsl4ey5231ebnPcmu+18xdJkh5k93tUXsFF/HA2 xU/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:from:date:to:message-id; bh=XORCSdKozzdRmoXMuvBL86fiiE0txyutpPdxSbucLBU=; b=LrGWSVE76HyBrhokYsVmCUFZ/MH9jg6fAuGeDzjycKT4eHIxcOJTrCu2clQijJTVrm U56p5aot2jMOfx5xCR7AOWt8YXFK1R08FULz6Ydf5VE+FF9vmGYsDK8o+Un6+Ku4jWlr 0Lrdhx6yddkReykDROBWTKgKw+YjfRibUsmqP5pdZu/beodTDzauiGhjgiuMMg58X574 ORlV5o8sXDvEYsiRYzvNl3a0Ag7TKKhMeZF70yu8QFNYcROLBi8QvDlpEP7ZBgxkdpRI Bsn2MDU4FL2XE1ECTL9bjr11iPIqZMRsMSRkbDs1uKuKa0mcmQuhSG9sTb7ftXDAbyC0 GDgA== X-Gm-Message-State: AE9vXwMz+ZIifypn8JGbaVwTAzMhrYrjuGCxkVRH5qKgtZ9FjwIAhmwqNvFMYz64DXmUsw== X-Received: by 10.194.21.200 with SMTP id x8mr25453636wje.129.1472898021409; Sat, 03 Sep 2016 03:20:21 -0700 (PDT) Received: from android-c07b90b023759a5a.default ([95.148.161.240]) by smtp.gmail.com with ESMTPSA id 3sm7918090wms.1.2016.09.03.03.20.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Sep 2016 03:20:20 -0700 (PDT) User-Agent: K-9 Mail for Android In-Reply-To: <23ef1cf8-b81e-661d-fdbe-3a4a19713652@lsces.co.uk> References: <23ef1cf8-b81e-661d-fdbe-3a4a19713652@lsces.co.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Date: Sat, 03 Sep 2016 11:20:18 +0100 To: PHP internals Message-ID: <03541CD8-0001-4CB7-A8C6-9B931C3C44EE@gmail.com> Subject: Re: [PHP-DEV] [RFC] Deprecate PEAR/PECL & Replace with composer/pickle From: rowan.collins@gmail.com (Rowan Collins) On 3 September 2016 09:18:48 BST, Lester Caine wrote: >Is Composer really all there is? >I'm looking at the problems projects like tiki have with trying to keep >composer working in an active project, and other projects have just as >many bug reports of composer having failed again! Keeping the right >combination of versions of third party libraries may be what it is >intended to do, but it does not seem to achieve it. Interesting, can you give any details of these problems? I've always found composer to do its job very well indeed, and have heard nothing but good things about it. I did a quick search for "tiki composer" and found a page with lots of teething problems from 3 years ago, but I suspect many of those are long since fixed. There's some interesting questions around how to use it for optional plugins, which I hadn't thought about before, but PEAR doesn't do anything to help there either, so not really relevant to this discussion. > warnings about "You are running composer with xdebug enabled. This >has a major impact on runtime performance." So you don't like that the tool defaults to giving you a warning, which can be suppressed, to explain why it might seem slow, due to a debugging tool documented as not being suitable for production because it may have a performance impact? I imagine PEAR runs slower as well, it just doesn't default to telling you so. > Trying to set up an >environment where composer only exists for PHP7 so it does not affect >the legacy systems seems equally problematic. Do you mean having a single codebase that can be installed with or without composer? Mostly that's just a case of creating alternative autoloader / bootstrap files, since all the code knows about composer at runtime is "require 'vendor/autoload.php';" > And Packagist has some >many cross competing packages that it does not make providing a set of >'supported' php libraries at all feasible? There is some truth in this, pear.php.net was a curated package library, whereas packagist.org is an open publishing platform. The problem is that for something to be curated somebody has to spend time curating; mostly, the people doing that right now are the big frameworks like Symfony, although there are a few projects like PHP League. The idea behind PHP-FIG is also relevant: rather than PEAR only allowing packages that follow a certain style, users can see on an open market which packages advertise their compatibility. >If composer is to replace PEAR then it needs to be properly supported >INSIDE PHP as PEAR is and give the sort of support that PEAR currently >provides to new users. What kind of support are we talking about here? My experience of PEAR is "pear install foo" and in composer that would be "composer require somebody/foo", so I'm interested which scenarios you think need extra work. Regards, -- Rowan Collins [IMSoP]