Proposal: display-name for charm metadata
Marco Ceppi
marco.ceppi at canonical.com
Sat Sep 24 13:50:40 UTC 2016
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160924/7ba561a4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2016-09-24 09-48-44.png
Type: image/png
Size: 36358 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160924/7ba561a4/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2016-09-24 09-47-45.png
Type: image/png
Size: 33949 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160924/7ba561a4/attachment-0001.png>
More information about the Juju
mailing list