Greetings,

The following webrev contains fixes for the following issues:

  9123 client traceback during install for bad file mode
  5771 MalformedActionErrors always lead to stack trace

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

Change Summary
==============
* publication API and publication tools perform additional action validation (such as checking for mode on file and directory actions and verifying that it has a valid value).

* actions now perform this additional validation during install(). I did not do this additional validation during Action __init__ both for performance reasons, and so that merely accessing a package manifest with bad mode attributes wouldn't cause client operation failure.

* The client API now catches ActionError exceptions and re-raises them as an API exception.

* The client now gracefully handles packages that have invalid metadata in their manifests.

* Added lots of unit tests to verify the above.

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

Reply via email to