<div dir="ltr">The main issue I see is that Provider is all about interfacing upstream (maas/ec2/etc) with the Juju abstraction. Which means that "<a href="http://github.com/lxc/lxd">github.com/lxc/lxd</a>" would end up importing "<a href="http://github.com/juju/juju">github.com/juju/juju</a>". Which from a layering perspective isn't right.<div><br></div><div>Gomaasapi is a bit unique as we're probably the only consumer. Unless you actually pushed it all the way into the MaaS upstream, it isn't going to be actively maintained and stay up-to-date. And since MaaS guys are python developers, they're unlikely to put the time in maintaining the go bindings for them, much less the Juju provider using the Go bindings. </div><div><br></div><div>I guess my point is, either the upstream guys are actively maintaining the bindings, in which case they'll do it where the bindings live, or they aren't. While it might be slightly easier, I'd rather they tracked the go bindings more than the Provider. It fits more with what they are doing, and shouldn't have Juju-isms in their code base.</div><div><br>John</div><div>=:-><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 25, 2016 at 1:12 AM, Eric Snow <span dir="ltr"><<a href="mailto:eric.snow@canonical.com" target="_blank">eric.snow@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Perhaps we should move the implementation of some providers over to<br>
the repos for the projects with which the providers interact (and then<br>
just import them in providers/all). Then those providers would be<br>
more likely to stay up-to-date in the face of changes in the project,<br>
particularly backward-incompatible ones. For example:<br>
<br>
* provider/maas -> <a href="http://github.com/juju/gomaasapi/maasprovider" rel="noreferrer" target="_blank">github.com/juju/gomaasapi/maasprovider</a><br>
* provider/lxd -> <a href="http://github.com/lxc/lxd/lxdprovider" rel="noreferrer" target="_blank">github.com/lxc/lxd/lxdprovider</a><br>
* ...<br>
<br>
or something like that. It's not a perfect solution nor a complete<br>
one, but it should help.<br>
<span class="HOEnZb"><font color="#888888"><br>
-eric<br>
<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>
</font></span></blockquote></div><br></div>