php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56334 Pearweb won't let me release a *beta* < 1.0.0 version
Submitted: 2005-02-28 00:34 UTC Modified: 2005-04-01 12:24 UTC
From: justinpatrin@php.net Assigned: pajoye (profile)
Status: Closed Package: PECL website (PECL)
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: justinpatrin@php.net
New email:
PHP Version: OS:

 

 [2005-02-28 00:34 UTC] justinpatrin@php.net
Description:
------------
I'm trying to upload DB_DataObject_FormBuilder 0.11.4 beta and pearweb is choking. Under "Release State" it sate "beta" but up on top I get this error:

You must correct your package.xml file:
    * Versions < 1.0.0 may not be 'stable'

Reproduce code:
---------------
Here's the file I'm uploading. This is right from "pear package package.xml" from CVS.
http://www.reversefold.com/PEAR/DB_DataObject_FormBuilder-0.11.4.tgz


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-28 17:09 UTC] danielc at analysisandsolutions dot com
Pierre:  Thanks for offering to look at this.  Here's some feedback from Greg...

This bug is particularly vexing because it was working fine.  The place to look is in public_html/release-upload.php right after the "if (class_exists('PEAR_PackageFile')) {" line.

Here, you will find the version validation that is not working properly.  Some possibilities that come to mind are that the stability being retrieved is the full stability, as in array('release' => 'stable', 'api' => 'stable').  To check this, look for a ->getStability() call.  This should be ->getState() if it is in there.
 [2005-02-28 18:50 UTC] pierre at dotgeek dot org
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PEAR better.

The fix will be only in the next hour.

--Pierre
 [2005-02-28 20:09 UTC] justinpatrin@php.net
Still not working at 5:08PM PST. In addition, the fix in CVS is for package.xml 2.0 and I'm using 1.0.
 [2005-02-28 20:27 UTC] danielc at analysisandsolutions dot com
If the prior commit changed the behavior for package2.xml files, it might have wound up introducing a bug.  Perhaps revert it and find/test a fix for package.xml files.
 [2005-04-01 09:32 UTC] cellog@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PEAR better.

this is fixed, no?
 [2005-04-01 12:24 UTC] justinpatrin@php.net
Yes, I've been able to release for a while now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 19:01:32 2024 UTC