Greetings,

The following webrev contains fixes for the following issues:

   5999 catalog.extract_matching_fmris - version filtering not correct
   6010 packages page should show only latest version of packages by default

webrev:
http://cr.opensolaris.org/~swalker/pkg-5999-6010/

Change Summary:
* Bumped server client api version to 2 due to extract_matching_fmri() 
changes that affected CatalogInterface.get_matching_version_fmris().

* Updated copyright year in changed files.

* Removed unused misc import from modules/catalog.py.

* Fixed pylint errors in changed files.

* Changed catalog.extract_matching_fmris() versions filtering to expect 
a list of version strings as such:

         'versions' should be a list of strings of the format:
             release,build_release-branch:datetime

         ...with a value of '*' provided for any component to be 
ignored. '*' or '?' may be used within each component value and will act 
as wildcard characters ('*' for one or more characters, '?' for a single 
character).

See the unit tests I added for examples and expected behaviour.

* Added unit tests to api/t_catalog.py for extract_matching_fmris() 
version filtering.

* Updated modules/server/api.py to reflect catalog changes.

* Updated depot pages to reflect catalog api changes.

* Changed packages page to only show latest versions of packages by 
default, and added a "Show all versions" checkbox (this cuts down the 
default page output size for build 101 from about 1670KB to 570KB).

Cheers,
-- 
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to