Shawn Walker wrote:
Shawn Walker wrote:
Greetings,
The following webrev contains fixes and changes for the following
RFEs/bugs:
11065 client v1 catalog support for v0 catalogs
11075 catalog should provide manifest signature data
11074 manifests need sha-1 signature
11072 client double instantiates image on startup
11071 pkg list -v doesn't show full FMRI for those from a preferred
publisher
10041 catalog attrs can be out of sync with catalog
9248 client traceback if preferred publisher not in catalog cache
8473 cached catalog data can be wrong if mixing client versions
8341 extract catalog cache from image
5562 catalog uses local time instead of UTC
3045 pkg list tracebacks when installed state directory is out of
sync with pkg directory
2763 pkg.catalog should have a function to split entries into
appropriate fields
318 Unify depot and client pkg format
269 Catalog should include package dependencies
updated webrev:
http://cr.opensolaris.org/~swalker/pkg-cat-p2-3/
diff from last webrev:
http://cr.opensolaris.org/~swalker/pkg-cat-p2-3/v2-v3.patch
Change Summary:
* changed image state constants to numeric values
* moved imports to top where possible (some of them could not be moved
due to circular dependencies)
* consolidated fmris() / entries() code in CatalogPart
* dumped unused ordered parameter and related code from catalog
* removed super() usage
* lstat -> stat
* changed catalog entry functions to always include BASE metadata
* lots of comments added
* comment cleanup
* progress tracking added for image init
* performance warning added when image hasn't been upgraded to new format
* fixes to packagemanager for catalog changes
* removal of get_matching_fmris
* fixed a bug in image format upgrade not removing old installed state
files (updated the test suite for this too)
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss