Tom Mueller wrote:
Shawn,
Isn't the addition of the ProgressTracker methods that raise a
NotImplementedError an incompatible change to the API? A program that
extended ProgressTracker previously and worked without having an
exception raised will now have an exception raised when these methods
are called unless they do what you had to do in installupdate.py
(implement empty methods).
These are methods that subclasses need to implement, I'm not sure what
else I can do here.
As far as I know, we've never made the decision how the progresstracker
class ties to the public client API and how the API might be rev'd.
Also, as far as I know, the programs in the pkg(5) gate are the only
ones to implement progress trackers. As such, that particular aspect of
this change really isn't a concern for me.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss