PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » PEAR » PEAR » Bug #1249

wrong preferred state warning using -f option

Details

Submitted2004-04-21 08:46 UTC
Fromjeroen at terena dot nl
Assignedpajoye
StatusClosed
PackagePEAR
PHP VersionIrrelevant
OSlinux
Roadmaps(Not assigned)

Comments

[2004-04-21 08:46 UTC] jeroen at terena dot nl

Description:
------------
I upgraded to HTTP_Download (but this affects any package I think) using -f because my preferred state is stable and I got a message saying this package is Alpha. But it's not Alpha, it's Beta. At least that's what http://pear.php.net/package/HTTP_Download says.

pear upgrade -f HTTP_Download
Warning: HTTP_Download is state 'alpha' which is less stable than state 'stable'
downloading HTTP_Download-0.6.2.tgz ...
Starting to download HTTP_Download-0.6.2.tgz (6,236 bytes)
.....done: 6,236 bytes
upgrade ok: HTTP_Download 0.6.2

I have PEAR-1.3.1 installed.

Reproduce code:
---------------
pear upgrade -f HTTP_Download (with preferred state set to stable)

Expected result:
----------------
warning that HTTP_Download is Beta not Stable

Actual result:
--------------
warning that HTTP_Download is Alpha

[2004-05-16 15:27 UTC] paj at pearfr 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.