Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107802 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 69194 invoked from network); 15 Nov 2019 19:13:28 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 15 Nov 2019 19:13:28 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id 414F02C0F11 for ; Fri, 15 Nov 2019 09:05:25 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Fri, 15 Nov 2019 09:05:24 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id e6so11793519wrw.1 for ; Fri, 15 Nov 2019 09:05:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GtttjgJxTNPPGe7wzxQIG19YNq0WrYZgdg08yKwK6Eo=; b=ktAErofMIjDKhkPcrI5tXfdZtgI8MlJSERhmNdXHYp8aWangBEsoH8l2jfXLchGPTL 2+3zvd594nfPWance40GCv0SFLbhx4KGZK4/6JpiZXs8u/goX/ECI1dawCiAPkBfVRoJ uE8bMAU++emZYx9JjzS/W3WojOHFoKdjmMnc4YSOa7evxA7uXWWx5DA1hDK8dG29R9Ji Ygw9cGBVIOhyWApQ9DZHAiWXlP6EDftcBkFWFF9h0Q4m6H66ugsVxp+NEv02RmnHAgbL g9ePATLkie7P1+eAVTPQwo6qVhwCSmGczNDhVJrat6TyqcZHvfAVD/wM4XltRz9q/e12 M9fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GtttjgJxTNPPGe7wzxQIG19YNq0WrYZgdg08yKwK6Eo=; b=bXf55mZ+1BDkJrbiBDLunujJ4Bm9f7iOLRJ8pKHS8PmuMF7HcQu2TrWjOegUk1TPYR hSRN1qtYRm+mEbJHmz+Pwkec1hXMvbpMjC5x8rvas1yM+aDd9E4khP5xx17c/eC48qow x9jXU6F9N3/2sPn3AYHBhQTaF37LAOCHM9/NXk/dkqhCWP6s+NyauBigyIrxNAnBXrCX 2GASJ0gpukNnvI442eG8G/TZ3dRj3rbVn5vLgg6KqKyYoxDRw0N4Rrv/eqm3KWMUMDzO JIIaR4ZZLTSsi53oLt04E1JIHRkozNL+4o6CUnRlcrcIx+7MdGINmvZbA418lStWSk4O SBmA== X-Gm-Message-State: APjAAAUHtxj4F7XVU5S3TLcChspZKRzu27DoTE80yXJAPwJ8VtkEiFZm 8ZgShamLknoDEs8eWg+mAOGj3fZa5hmLboe4O/gGTg== X-Google-Smtp-Source: APXvYqz31tEZhUKMOH/6rakGFH5tvfsU3YOFazAStE9fQop0Crc4V5iloUb5UUwvgg+b4hC5W2SiZayiJMOup+vI5cE= X-Received: by 2002:adf:df81:: with SMTP id z1mr16035936wrl.278.1573837523614; Fri, 15 Nov 2019 09:05:23 -0800 (PST) MIME-Version: 1.0 References: <31612431-2903-4E41-8636-C7903DA6083C@mnapoli.fr> In-Reply-To: Date: Fri, 15 Nov 2019 18:05:10 +0100 Message-ID: To: Matthieu Napoli Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000008784a80597659a70" X-Envelope-From: Subject: Re: [PHP-DEV] Using PECL without installing PEAR From: pierre.php@gmail.com (Pierre Joye) --0000000000008784a80597659a70 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Nov 15, 2019, 5:58 PM Matthieu Napoli wrote: > > > Le 15 nov. 2019 =C3=A0 16:03, Pierre Joye a =C3= =A9crit : > > > > On Fri, Nov 15, 2019, 3:41 PM Nikita Popov wrote= : > > On Wed, Nov 13, 2019 at 5:44 PM Matthieu Napoli > wrote: > > > > > Hi all, > > > > > > Following a discussion with Nikita, I understood that [installing PEA= R > > > with PHP is deprecated]( > > > https://github.com/php/php-src/blob/PHP-7.4/UPGRADING#L98-L101 < > > > https://github.com/php/php-src/blob/PHP-7.4/UPGRADING#L98-L101>). > > > However, installing PEAR is necessary for PECL to work (it uses PEAR)= . > > > > > > I started having a look at what could be done to use PECL without PEA= R. > > > This lead me to the following question: as a first step, would it mak= e > > > sense to provide PECL as a self-contained PHAR? > > > That way users can download the PHAR and avoid install PEAR. Followin= g > > > that we can have a look at trimming the PECL package, but the PHAR > would be > > > a first step. > > > > > > Thanks > > > > > > Matthieu > > > > > > I think that makes sense. The only thing we really want/need from PEAR = is > > the "pecl" command, and having a single self-contained phar for that > would > > be much better than requiring a global PEAR installation, and allow us = to > > change the underlying implementation more easily in the future. > > > > > > Also if there is an interest I can give back some love to Pickle ( > https://github.com/FriendsOfPHP/pickle) and ensure it works smoothly up > to php master or 7.4/7.4+1. The phar releases support pecl.php.net, > github or any git/directory install of extensions. > > > > Best, > > Pierre > > Hi Pierre, > I spent some time on Pickle as well. The thing isn't maintained, the test= s > do not pass, I had a hard time doing anything. I still tried to fix most = of > the tests here: https://github.com/FriendsOfPHP/pickle/pull/164 but I > didn't manage to make the CI green. Removing HHVM support did make the co= de > much cleaner, and I think I can help as well but I am afraid that nobody > will merge anything. Let me check the PR and merge them this weekend :) If you get the project going again that could be great. > I would be more than happy to see it running. I am lacking time but I can have some hours here and there to help. One main thing that could help is listing what's missing. In other words, I > don't know what to do. > See below, the big selling point is to get it to work together with composer. I did a PR back then but we decided it should be done another way, which we need to figure out :) If Pickle works already and just need a green test suite and a new version, > then maybe we can start with that and then advertise it as a viable > replacement to PEAR? > I created it and then a few took over most of the devs, and yes, it is thought to fully replace pear/pecl as well as a better together works with composer (need work on their side but Jordi and I need to sit down to get it done :) > Matthieu --0000000000008784a80597659a70--