Prashant Srinivasan wrote:
> Shawn Walker wrote:
>> Prashant Srinivasan wrote:
>>> Hello,
>>> Why aren't all available packages for 2008.11 displayed when one 
>>> accesses http://pkg.opensolaris.org/release through a browser, and 
>>> then selects "2008.11 (0.5.11-0.101)" for the "release and branch" 
>>> drop-down to browse the entire listing?
>>>
>>> Here's the page: 
>>> http://pkg.opensolaris.org/release/en/catalog.shtml?version=0.5.11%2C0.5.11-0.101&action=Browse
>>>  
>>>
>>>
>>>
>>> I cannot find "ruby", "redistributable", or "php" this way.  I know 
>>> that these packages are available in 2008.11.  And I can find them if 
>>> I use the search box from http://pkg.opensolaris.org/release
>>
>> Those are some bugs in the pkg.depotd software that were fixed a 
>> little while ago:
>>
>> 5999 catalog.extract_matching_fmris - version filtering not correct
>> 6010 packages page should show only latest version of packages by default
>>
>> ...these fixes haven't yet made it to pkg.opensolaris.org, but should 
>> in the near future (probably when build 109 is deployed).
>>
>> In short, the version filtering logic was wrong, and so only packages 
>> that had a release of "5.11" were showing.
> 
> hmmm - if that's the case, Ruby should show up.  Ruby has a "Build 
> Release" of "5.11" [1].  But doesn't show up in the browse mode for 
> 2008.11 [2]

http://pkg.opensolaris.org/release/info/0/SUNWruby18%401.8.6.287%2C5.11-0.101%3A20081113T183331Z
 

                                                        ^^^^^^^^^
*release*; not build_release. The fmri is composed of 
pkg_stem at release,build_release-branch:datetimestr.  So, using your 
example FMRI:

pkg_stem: SUNWruby18
release: 1.8.6.287
build_release: 5.11
branch: 101
datetimestr: 20081113T183331Z

Which is why it does show up here:

http://osol-re/en/catalog.shtml

SUNWruby18      1.8.7.72,5.11-0.109:20090305T200746Z    Manifest

osol-re is running the newer depot software.

Cheers,
-- 
Shawn Walker

Reply via email to