<div dir="ltr">out of curiosity is there any public explanation on the reason for the change? environments map fairly naturally to various service topology stages, ie my prod, qa, dev environments. while model is a rather opaque term that doesn't convey much.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 14, 2016 at 7:16 PM, Menno Smits <span dir="ltr"><<a href="mailto:menno.smits@canonical.com" target="_blank">menno.smits@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi all,<br><br></div>We've committed to renaming "environment" to "model" in Juju's CLI and API but what do we want to do in Juju's internals? I'm currently adding significant new model/environment related functionality to the state package which includes adding new database collections, structs and functions which could include either "env/environment" or "model" in their names.<br><br></div>One approach could be that we only use the word "model" at the edges - the CLI, API and GUI - and continue to use "environment" internally. That way the naming of environment related things in most of Juju's code and database stays consistent. <br><br></div>Another approach is to use "model" for new work[1] with a hope that it'll eventually become the dominant name for the concept. This will however result in a long period of widespread inconsistency, and it's unlikely that things we'll ever completely get rid of all uses of "environment".<br><br>I think we need arrive at some sort of consensus on the way to tackle this. FWIW, I prefer the former approach. Having good, consistent names for things is important[2].<br></div><br></div>Thoughts?<br><br></div>- Menno<br><br></div>[1] - but what defines "new" and what do we do when making significant changes to existing code?<br><div><div><div><div>[2] - <a href="http://martinfowler.com/bliki/TwoHardThings.html" target="_blank">http://martinfowler.com/bliki/TwoHardThings.html</a><br></div></div></div></div></div>
<br>--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
<br></blockquote></div><br></div>