[et-mgmt-tools] [PATCH] Port utility functions to Solaris

John Levon john.levon at sun.com
Tue Dec 9 12:33:51 UTC 2008


On Mon, Dec 08, 2008 at 09:20:23PM -0500, Cole Robinson wrote:

> Unfortunately, 'util' is part of the public API, so removing dead
> functions isn't a good idea. Granted, we probably have a grand total
> of 3 API users (virt cli tools, virt-manager, koan), but I think it's
> better to just play by the rules. I'm certainly not opposed to moving

OK.

> It might be a good idea to make an internal util file, so we have an
> alternate place to dump utility methods without them automatically
> entering the public API.

How are we supposed to know what's in the public API and what isn't? Is
it automatically any file ever used by virt-manager?

It seems to me like everything should be moved wholesale into a new
directory, and anything legacy left in place (forwarded on to the new
implementation if needed). It doesn't seem feasible to maintain code
to provide an unspecified API forever!

What name do you want for the internal util file?

regards
john




More information about the et-mgmt-tools mailing list