Newsgroups: php.internals,php.pecl.dev Path: news.php.net Xref: news.php.net php.internals:85842 php.pecl.dev:12827 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98323 invoked from network); 16 Apr 2015 18:26:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Apr 2015 18:26:49 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.46 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.215.46 mail-la0-f46.google.com Received: from [209.85.215.46] ([209.85.215.46:36657] helo=mail-la0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 86/F8-39957-7EEFF255 for ; Thu, 16 Apr 2015 14:26:48 -0400 Received: by lagv1 with SMTP id v1so63300307lag.3; Thu, 16 Apr 2015 11:26: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; bh=3zcGJIJzjklv5XOo0Ma3tDs81BSc1jVfnnM/6Z3pm0k=; b=XqI56ZRgW0PZ9YyYLWEdppKztKidHQN17+ySdSTB6Iks8Xvj74m5ze8rrc33+a3ko0 J5YFoy3Xi+Yxht8YcDjlpTNOtzo7GG+Qxl51cgo+uHm+5wCySQjziRuv3Z/k4YuVijmu W47KNMz2iKrnkecvCZfazCTBncsqTK3vnfgR9CcMfPxnTF1r34WxHFxOg1IjpeoJeo/5 rfQQ7cIzsCepT+JA+DRURP3jVe3EpVKJ6j8rm0NmmmlpzdbYSeDSbfgIESGQxnLdKa6p /xTMgs77s4hSPt64AjVpCCW13hwb3qbMG2L2tMBcQGac5h+O14W5+KAY2mxHK6c9XnJQ t0Eg== MIME-Version: 1.0 X-Received: by 10.112.26.106 with SMTP id k10mr29505806lbg.23.1429208804916; Thu, 16 Apr 2015 11:26:44 -0700 (PDT) Received: by 10.152.18.115 with HTTP; Thu, 16 Apr 2015 11:26:44 -0700 (PDT) In-Reply-To: References: <552D4FD4.7070005@divbyzero.net> Date: Thu, 16 Apr 2015 20:26:44 +0200 Message-ID: To: Hannes Magnusson Cc: PHP Development , PECL Dev , Pierre Joye , Martin Jansen , PHP Systems Content-Type: multipart/alternative; boundary=001a1133a9ce2085030513db9b78 Subject: Re: PECL install no longer works out of the box From: tyra3l@gmail.com (Ferenc Kovacs) --001a1133a9ce2085030513db9b78 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Apr 16, 2015 at 8:18 PM, Hannes Magnusson < hannes.magnusson@gmail.com> wrote: > 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 > wrote: > >>> > > >>> > > >>> > 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 > the > >>> >> >> requests actually requesting non compressed archives, the box h= e > >>> >> >> 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 w= e > >>> >> >> 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 > if > >>> >> > 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. > And > >>> >> 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 > one > >>> >> to provide uncompressed download of our releases, why not, I do no= t > >>> >> 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 > how > >>> >> 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 s= o > >>> > now > >>> > they are there, Pierre will update the release upload/delete code s= o > >>> > 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 g= o > >> 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 rsy= nc > >> 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 > archive > 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 > hm, weird, created it via gunzip -c ing the tgz, so it should be a tar file= : root@pecl:~# file /var/lib/pear/memcached-2.2.0.tar /var/lib/pear/memcached-2.2.0.tar: POSIX tar archive (GNU) --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --001a1133a9ce2085030513db9b78--