Re: (Fwd) HTTP-1.3.0RC1 (beta) Released.
| From: | Daniel Convissor | Date: | Thu, 10 Jun 2004 21:20:01 +0000 |
| Subject: | Re: (Fwd) HTTP-1.3.0RC1 (beta) Released. | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30438@lists.php.net to get a copy of this message | ||
On Thu, Jun 10, 2004 at 04:18:36PM -0400, Daniel Convissor wrote:
>
> Mike, can you please send me the tarball of HTTP-1.3.0RC1.tgz? I'll pass
> it through my test server and see what happens.
Sure enough. The database query is dying when processing this tag:
<dep type="PHP" rel="ge" version="4.0.6"/>
Under the current system, "PHP" needs to be lower case.
So, Mike, remove the CVS tag, update the package.xml file to have the dep
say "php", put the CVS tag back and re-package, then upload the new
release.
Since RC1 never made it into the database or server, go ahead and reuse
RC1 as the release name.
Now, a question for everyone, how should we handle this validation in the
future? pearweb/include/pear-database.php line 1400 says:
if ($dep['type']=='php') {
So, the simplest validation process is to add the following before getting
to that if statement:
$dep['type'] = strtolower($dep['type']);
Or, should we catch this and raise an error? I'm thinking it's simplest
and not a big deal just to lowercase it.
Thanks,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409