Yeah sounds reasonable but I would be wary of over engineering. Tom
On 24 Sep 2016 14:59, "José Antonio Rey" <j...@ubuntu.com> wrote: > As long as it's an optional field, I would say this is one worth having. > Makes it easy to follow naming guidelines. > > However, it would be nice for charm names to not be case sensitive. That > way, one would be able to deploy `juju deploy mysql` or `juju deploy MySQL` > without troubles, since when one sees the display name, its first intuition > would be to do the latter. > > Jose > > On Sat, Sep 24, 2016, 08:51 Marco Ceppi <marco.ce...@canonical.com> wrote: > >> Hey everyone, >> >> I know we're rocking towards 2.0 but this is a problem I've seen voiced a >> few times now. To date, the `name` field in charm has always been >> [a-z-0-9_-] where you can't end with `-#`. This makes sense, simple flat >> names that are all lowercase make it easy to do `juju deploy wordpress` >> instead of following branding guidelines of `juju deploy WordPress`. >> >> However, a lot of applications have very specific branding guidelines for >> how their display name should be represented. Just a few for example: >> >> - WordPress >> - NS1 >> - MySQL >> - PostgreSQL >> >> Today, in the charmstore each is rendered as: >> >> - Wordpress >> - Ns1 >> - Mysql >> - Postgresql >> >> Very rarely do the display names in the charm store and the intended >> branding of application align. I'd like to propose an optional field in the >> charm metadata, `display-name` which would allow slightly more control over >> charmstore display: >> >> ``` >> name: ns1 >> display-name: NS1 >> ``` >> >> ``` >> name: mysql >> display-name: MySQL >> ``` >> >> etc. This would lead to the store and other places across the Juju Charms >> properties which referenced the Application, instead of the deployment >> instructions, to use the display-name field (see attached). >> >> Curious opinions on this, repercussions of adding metadata fields, esp >> for older versions of Juju, and if this is worth pursing. >> -- >> Juju mailing list >> Juju@lists.ubuntu.com >> Modify settings or unsubscribe at: https://lists.ubuntu.com/ >> mailman/listinfo/juju >> > > -- > Juju mailing list > Juju@lists.ubuntu.com > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/juju > >
-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju