On Tue, 2011-07-26 at 16:14 -0700, Danek Duvall wrote:
> If this is actually necessary, then we'll have to implement this mightly
> quickly, or at least catch UnknownActionErrors in the code that would be
> presented with unknown actions (which is probably a good idea anyway).

pkgsend catches unknown actions, as does pkglint:

publish.py:

403                             basedirs=basedirs, bundles=bundles)[0]
404                 elif a.name in nopub_actions:
405                         error(_("invalid action for publication: %
s") % action,
406                             cmd="publish")
407                         t.close(abandon=True)

pkglint:

ERROR pkglint.action004           unknown action found in
pkg://opensolaris.org/[email protected],1.0

        cheers,
                        tim

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

Reply via email to