On Tue, Jun 09, 2009 at 03:38:46PM -0700, Bart Smaalders wrote:
> Nicolas Williams wrote:
>>
>> IPS could have it's own SMF-like actuator concept.  It'd be replicating
>> much of the same functionality that's already in SMF.  I think that'd be
>> cleaner, actually, but it'd also require lots more work.
>
> This would imply that anyone adding new stuff to be merged
> would have to add code to the packaging system, and the packaging system
> would have be upgraded often.

Not necessarily.  It should be possible to have a plugin
architecture for actions and have actions delivered as packages.
For example, pkgA needs to modify /etc/inet/services file and so
includes a dependency on pkg:/action/servi...@1 which provides the
services-file-modification action plugin.

This will allow actions to be versioned independently of the
packaging system.  Sure, it does also mean that the code becomes
more complex and the plugin API interface would need to be
reasonably stable.

Actions being part of the packaging system seems ugly, and ties each
version of the packaging system code to one particular operating
system.  Having them delivered as plugins seems much cleaner to me.

Venky.
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to