Re: making the pearweb kitchen cooler
| From: | Pierre-Alain Joye | Date: | Fri, 04 Mar 2005 18:38:10 +0000 |
| Subject: | Re: making the pearweb kitchen cooler | ||
| References: | 1 2 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-3935@lists.php.net to get a copy of this message | ||
On Fri, 04 Mar 2005 12:04:12 -0500
Greg Beaver <cellog@php.net> wrote:
> Pierre-Alain Joye wrote:
>
> > My next step is to make the pkg downloads static. At least the
> > first try. That may require some changes in the installer.
> > Mostly all cases can be manage using static files or links on
> > the server. If one fails, the installer will use a rpc query to
> > get a a download url or an error.
>
> This is a terrible way to implement this - what we need to do is
> provide a bunch of static information in xml format about each
> package and release, and use hyperlinks in the xml so that the
> installer can follow them to do dynamic stuff client-side.
> Guesswork was the hallmark of what stinks about 1.3.x and its
> error messages.
>
> I've got a nearly finished working concept of a REST-based
> interface that is currently dynamic, but could easily be modified
> to be static. I will see what I can do to staticize the stuff I
> already have. It would require a few scripts to process existing
> releases, but I already have practice doing this, so that
> shouldn't be a problem.
It's not a terrible way to implement things. This is the safest way
to download data that _never_ changes.
It's almost working now, I have ran tests using the current
packages, no error. I will run another battery of tests this
weekend.
And it may require some installer changes only to cool down more the
server, that's all. It's not a requirement. The server is one thing,
the client another. If this solution works, it will work now and can
be in production quickly. Do not get me wrong, REST is fine, but I'm
not going to agree about another non stable change in pearweb,
regardless of the quality of your codes and tests. It's not about
your quality but about being in production.
The current situation is nothing else than the result of months
without taking care of basic things like that. As I can see, it's
not going to be better sooner if we do not act.
Regards,
--Pierre