Re: New Pepr link type detection is too strict

From: Date: Sun, 26 Jun 2005 21:39:11 +0000
Subject: Re: New Pepr link type detection is too strict
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-38310@lists.php.net to get a copy of this message
On Sun, 26 Jun 2005 22:32:11 +0100 sergio.carvalho@portugalmail.com (Sergio Carvalho) wrote: > Hi, > > I was changing the XML_RPC2 status to 'Call for votes' and was > greeted with errors in the link types for the tgz and phps links: > "The required link type and the URL do not match!". > > Pepr validation code is being too strict. The respective links > are: http://pear.sergiocarvalho.com/XML_RPC2 (tgz file) > and > http://pear.sergiocarvalho.com/source/XML_RPC2-0.0.3/XML/RPC2 > (phps) > > I can understand the check on the tgz file, as my webserver is > returning a text/plain mime-type (erroneusly). I'd prefer linking > the the package name only, so people can install with: > pear install http://pear.sergiocarvalho.com/XML_RPC2 > as there is no reason pear must use only tgz as the package > format; even if it does use tgz, the URL can and should be > agnostic to the format. The resource being pointed to is the > XML_RPC2 package. Pepr has nothing to do with the installer, this is Tobias' choices (and the patch provider). I said that I did not like such strict rules (making usages of mod-rewrite or other interesting tools pretty useless). I like to ask him to revert, but doubt that will be done. Reporting a bug sounds the best way... --Pierre

« previous php.pear.dev (#38310) next »