breaking change: repository structure, deploy interface

William Reade william.reade at canonical.com
Thu Sep 29 22:07:25 UTC 2011


On Thu, 2011-09-29 at 17:21 -0300, Gustavo Niemeyer wrote:
> I'm not sure if William's email made it feel like otherwise for some
> reason, but FWIW, that's entirely the case.
> 
> The directories are based on the version that the given charm is
> targeting, rather than the version of the local machine.  If a charm
> works in oneiric, it should be under /oneiric/, both in the local
> deployment and in the remote deployment case.

As I understand it, the issue is purely that (from the spec):

> The default Ubuntu series is defined at bootstrap time.  If not
> explicitly specified, it will default to the Ubuntu series the
> current machine is running.

This won't affect a running deployment -- the default-series comes from
the machine that first launches the environment -- but it doesn't help
you if you're trying to duplicate a deployment from a different machine
(unless you do specify default-series in environments.yaml).

I think it's better to either make it required, or to default to some
hardcoded value if unspecified: it's just got less potential for
surprising our users.

Cheers
William


> 
> -- 
> Gustavo Niemeyer
> http://niemeyer.net
> http://niemeyer.net/plus
> http://niemeyer.net/twitter
> http://niemeyer.net/blog
> 
> -- I never filed a patent.
> 






More information about the Juju mailing list