New Pepr link type detection is too strict

From: Date: Sun, 26 Jun 2005 21:32:11 +0000
Subject: New Pepr link type detection is too strict
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-38309@lists.php.net to get a copy of this message
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. What I can't understand is how linking to an index of phps files can be considered wrong. The package is not composed of one single file. To link correctly to the package source, I must link to the index of all sources, not to one specific file. Cheers, Sérgio

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