Reserved actions

José Antonio Rey jose at ubuntu.com
Tue Mar 29 02:08:34 UTC 2016


I believe that reserving the juju- prefix would be good. I, personally,
haven't seen any charms using them.

--
José Antonio Rey

On Mon, Mar 28, 2016, 21:04 Marco Ceppi <marco.ceppi at canonical.com> wrote:

> On Mon, Mar 28, 2016 at 9:49 PM Andrew Wilkins <
> andrew.wilkins at canonical.com> wrote:
>
>> Hi,
>>
>> There's a code review in progress (http://reviews.vapour.ws/r/4286/)
>> that will introduce a predefined action, "juju-run", which is part of the
>> replacement for the current SSH-based juju-run.
>>
>
> This is interesting. What's the semantics for this? How does juju-run
> action work for machine level items?
>
> This means that "juju-run" will no longer be a valid action name for use
>> in a charm. This may come up again in the future, so we think it would be
>> prudent to reserve a namespace for additional predefined actions. The most
>> straightforward thing to do would be to reserve the "juju-" prefix, like we
>> do for relations.
>>
>
> This seems fine, we'll add "juju-run" as a blacklist in charm proof.
>
> Any objections? Does anyone have any actions using the "juju-" prefix
>> already?
>>
>
> I don't believe so, I'l do a quick search in the charm store though to
> verify
>
>
>> Cheers,
>> Andrew
>>
> --
>> Juju-dev mailing list
>> Juju-dev at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160329/53a025bb/attachment.html>


More information about the Juju mailing list