<div dir="ltr">On Sat, May 25, 2013 at 12:55 PM, Gustavo Niemeyer <span dir="ltr"><<a href="mailto:gustavo@niemeyer.net" target="_blank">gustavo@niemeyer.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sat, May 25, 2013 at 1:45 PM, Kapil Thangavelu<br>
<<a href="mailto:kapil.thangavelu@canonical.com">kapil.thangavelu@canonical.com</a>> wrote:<br>
> Build in this context is charm assembly, ie turn network downloads from<br>
> deployment runtime activities into pre-deployment activities that flush out<br>
> charm contents.<br>
<br>
</div>"install" means "do whatever it takes to install the charm". If you<br>
want to download content as part of that, sounds fine.<br>
<div class="im"><br></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
> The goal being robust deployment of units minimizing<br>
> environment external dependencies.<br>
<br>
</div>I'm missing the connection between that and splitting a hook.<br></blockquote><div><br></div><div>I'm not sure i would even call it a hook as its pre-deployment (ie sans units or a service), but this usage of a build command is quite common already in ops deployed charms, ie. no runtime network install dependencies that are not under org control or available from the environment infrastructure (s3, swift, etc), bundling the dep in the charm as pre-deployment step is an easy solution that avoids issues of 3rd party resource availability affecting the service deployment. That's distinct perhaps from the usage in this thread as simple charm spec of package metadata which afaics is mostly syntactic sugar. Addressing the unreliability of 3rd party hosted deps is an important use case and why many favor image deploys, and one way that's being solved with juju today is a charm build command.<br>
<br></div></div><div class="gmail_quote">cheers,<br></div><div class="gmail_quote">Kapil<br></div></div></div>