What would you like to see in the virtual Charm School hangouts?

Stuart Bishop stuart.bishop at canonical.com
Fri May 24 15:47:49 UTC 2013


On Fri, May 24, 2013 at 4:25 PM,  <franck.dehay at orange.com> wrote:
> Couldn’t we get a “pre-install” hook somewhere?

I would certainly like to see some sort of a pre-install hook or list
of dependencies- perhaps just a list of packages in one of the top
level yaml files that are installed before the install hook is
invoked.

A few times I've seen problems where the install hook fails because
the module the hook is in or one of its helper modules is attempting
to import from a library that isn't yet installed. There are numerous
examples in the charm store of charms with imports being done inside a
function's scope instead of in the module's scope to avoid this.

This could also provide a nicer mechanism for distributing common
libraries of charm helpers that is better than the current process of
just making a copy of the helpers into your charm.


-- 
Stuart Bishop <stuart.bishop at canonical.com>



More information about the Juju mailing list