Inconsistency with relation names?

me@brandonholtsclaw.com me at brandonholtsclaw.com
Sat Aug 18 14:58:09 UTC 2012


> Hey everyone,
>  
> I was going through the different charms, their relations, and ultimately the interfaces they provide/consume. One thing I noticed was an inconsistency of relation names (or what I think is called the "relation name"). I know there was chatter of eventually solidifying interface specs and names, but would that include (what I've been referring to as) relation names?
>  
> Here's a few examples:
>  
> We have a rockin' MySQL[1] charm which at it's core provides a db relation using the mysql interface (db being the relation name). There's another sweet charm, MongoDB[2], which provides a database relation using the mongodb interface. I'm under the impression that the relation names for these two charms _should_ be the same, right?
>  
> If so, there are some other common "relation names" that I think should be fixed or considered. I would assume that these would be bugs opened for each charm it affects but another example would be the nfs[3] charm which provides both an nfs relation and interface. This causes a bit of a conflict with a few of the up-and-coming shared filesystems (which nfs falls under that category). Those other charms are using a shared-fs[4] relation name and either nfs, mount, or another interface name.
>  
> UDS will probably be the best place to open discussions about how to handle this (if this is indeed an issue) but I wanted to start poking to see if what I'm thinking makes sense and how to handle this.
>  
> Thanks!
> Marco Ceppi
>  
> 1: http://jujucharms.com/charms/precise/mysql (http://jujucharms.com/charms/precise/mongodb)
> 2: http://jujucharms.com/charms/precise/mongodb
> 3: http://jujucharms.com/charms/precise/nfs (http://jujucharms.com/charms/precise/mongodb)
> 4: http://jujucharms.com/~marcoceppi/precise/gluster-client (http://jujucharms.com/%7Emarcoceppi/precise/gluster-client)  
>  
>  
>  


Yea, I've noticed it too in a few places but short of being draconian about it I had not thought of any good sugestions yet … but also here is a little diffrent view as well where we can see just how prevalent it has become.

http://jujucharms.com/interface-charm-map

--  
Brandon Holtsclaw
Voice: 1.816.974.6106
GTalk: me at brandonholtsclaw.com
Web: http://www.brandonholtsclaw.com

  
  
> --  
> Juju mailing list
> Juju at lists.ubuntu.com (mailto:Juju at lists.ubuntu.com)
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
>  
>  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20120818/5c9bc861/attachment.html>


More information about the Juju mailing list