Newsgroups: php.internals,php.pecl.dev Path: news.php.net Xref: news.php.net php.internals:85841 php.pecl.dev:12826 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96081 invoked from network); 16 Apr 2015 18:18:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Apr 2015 18:18:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.171 as permitted sender) X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.217.171 mail-lb0-f171.google.com Received: from [209.85.217.171] ([209.85.217.171:35465] helo=mail-lb0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7C/78-39957-70DFF255 for ; Thu, 16 Apr 2015 14:18:48 -0400 Received: by lbbuc2 with SMTP id uc2so65168278lbb.2; Thu, 16 Apr 2015 11:18:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=6p51vtmNRA6Z0CzTcAWrChfzXkmw9t7sr4Xo2dRUd1c=; b=c08Bs4vqoF2aVoF20i2ZcblTZQ9j0DDCDwYUZnMJnCXtiQUZfxjNj3FyAp0ZjUnYis IUcAs+wgudio+cHS6Z8vQ3h6oc/TljFUZRBKhsE7OjaAMBAkliz5XUSWCYXHNxOqx2aB hv1mpKiiRKhYON3RCXJZR+Jw6orExozYlYU9UD2QEQXAea8TNnP8PP4PaBDCdK3P76IY p84BePNrM2ZSAI/CTPgQ2HIz5dLtzYqGgNn6C60Ux0MKCoa4fHIp/fTe+NEgiJgeTCRC O9vfhcNvFIQw1X++NPu3ytJad00hS+mkIXqt4dLKw9d0yC92jJHwSnsXWZoczAdmW48U LeAg== MIME-Version: 1.0 X-Received: by 10.152.9.4 with SMTP id v4mr30169907laa.34.1429208325267; Thu, 16 Apr 2015 11:18:45 -0700 (PDT) Received: by 10.25.37.1 with HTTP; Thu, 16 Apr 2015 11:18:45 -0700 (PDT) In-Reply-To: References: <552D4FD4.7070005@divbyzero.net> Date: Thu, 16 Apr 2015 11:18:45 -0700 Message-ID: To: Ferenc Kovacs Cc: PHP Development , PECL Dev , Pierre Joye , Martin Jansen , PHP Systems Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: PECL install no longer works out of the box From: hannes.magnusson@gmail.com (Hannes Magnusson) On Thu, Apr 16, 2015 at 11:06 AM, Ferenc Kovacs wrote: > > > On Thu, Apr 16, 2015 at 8:02 PM, Ferenc Kovacs wrote: >> >> >> >> On Thu, Apr 16, 2015 at 7:43 PM, Hannes Magnusson >> wrote: >>> >>> On Thu, Apr 16, 2015 at 10:14 AM, Ferenc Kovacs wrot= e: >>> > >>> > >>> > On Thu, Apr 16, 2015 at 5:29 PM, Pierre Joye >>> > wrote: >>> >> >>> >> On Thu, Apr 16, 2015 at 10:02 PM, Ferenc Kovacs >>> >> wrote: >>> >> > >>> >> > >>> >> >> >>> >> >> As of the uncompressed data, I see something like less 0.01% of t= he >>> >> >> requests actually requesting non compressed archives, the box he >>> >> >> uses >>> >> >> must on of the 3-4. We are in the 21st century and compressed >>> >> >> output >>> >> >> is quite a standard. It makes the server serves faster too as we >>> >> >> rely >>> >> >> on X-SendFile, as I reportedly said on this list during the >>> >> >> migration, >>> >> >> and ask for tests. >>> >> > >>> >> > >>> >> > hi Pierre, >>> >> > >>> >> > where do you get this 0.01%? >>> >> > from a quick look: >>> >> > root@pecl:~# grep '.tar.gz ' >>> >> > /var/log/apache2/pecl.php.net-access.log|wc >>> >> > -l >>> >> > 242 >>> >> > root@pecl:~# grep '.tar ' >>> >> > /var/log/apache2/pecl.php.net-access.log|wc -l >>> >> > 1350 >>> >> > so the majority of the download requests are looking for the >>> >> > uncompressed >>> >> > tar file, which is doesn't work now thanks to your changes. >>> >> > is there another metric or something that I'm missing? >>> >> > it seems that this is something which we should fix/restore even i= f >>> >> > it >>> >> > costs >>> >> > us a bit more cpu. >>> >> >>> >> I check with the whole old log, was low. >>> >> >>> >> No need to change the download code. >>> >> >>> >> I will run a script to store both tgz and tar, easier and better. An= d >>> >> changing the release code to save the uncompressed archive as well. >>> >> Way better than what we had before. And if we like to be the only o= ne >>> >> to provide uncompressed download of our releases, why not, I do not >>> >> mind much ;-) >>> >> >>> >> But that's actually not a bug as of now, the SSL thing Hannes was >>> >> experiencing is what I was asking for, it is what I wonder what >>> >> happened to get the installer requesting SSL: in the 1st place and h= ow >>> >> it ends up like that and failed. But Hannes seems to do not care, so= I >>> >> will simply enable SSL again and that should be it. >>> >> >>> >> Cheers, >>> >> -- >>> >> Pierre >>> >> >>> >> @pierrejoye | http://www.libgd.org >>> > >>> > >>> > >>> > ok, after discussing with Pierre I gunzipped the release tarballs so >>> > now >>> > they are there, Pierre will update the release upload/delete code so >>> > that we >>> > also store/delete the .tar files so they can be also served via >>> > sendfile. >>> >>> $ sudo pecl install memcached >>> Could not download from "http://pecl.php.net/get/memcached-2.2.0.tar", >>> cannot download "pecl/memcached" (File >>> http://pecl.php.net:80/get/memcached-2.2.0.tar not valid (received: >>> HTTP/1.0 404 Not Found >>> )) >>> Error: cannot download "pecl/memcached" >>> Download failed >>> install failed >> >> >> it seems that the two commits (reverts) which should make that error go >> away still not make to the peclweb machine yet. >> I will wait an hour or so, if still not there I will check out the rsync >> box (as I verified that the update-peclweb is executed properly). >> >> -- >> Ferenc Kov=C3=A1cs >> @Tyr43l - http://tyrael.hu > > > > oops, I made a mistake, one of the two reverts was against the wrong hash= . > just fixed it now. Getting closer :) $ sudo pecl install memcached downloading memcached-2.2.0.tar ... Starting to download memcached-2.2.0.tar (70,449 bytes) .....done: 70,449 bytes could not extract the package.xml file from "/tmp/pear/download/memcached-2.2.0.tar" Download of "pecl/memcached" succeeded, but it is not a valid package archi= ve Error: cannot download "pecl/memcached" Download failed install failed $ file /tmp/pear/download/memcached-2.2.0.tar /tmp/pear/download/memcached-2.2.0.tar: gzip compressed data, from Unix, max compression It looks like it is actually gzipped? -Hannes