dots in charm names (shelr.tv)

Gustavo Niemeyer gustavo.niemeyer at canonical.com
Tue Mar 26 18:44:17 UTC 2013


On Tue, Mar 26, 2013 at 3:32 PM, Kapil Thangavelu
<kapil.thangavelu at canonical.com> wrote:
> afaics the best way to ensure this divergence doesn't happen is to use the
> go charm definition for validation of a charm and incorporate that into
> charm-lint/charm browser, or alternatively to put an interface on the charm
> store to collect the errors for a given charm branch there.

No, the best way to ensure this divergence doesn't happen is to check
the store to see if a charm exists. This is very trivial to do, and
very effective too. Anything else will open the door for headaches.

> incidentally the mongodb issue is a pymongo driver thing, previous versions
> of the driver where able to handle '.' in values without issue.

There's more to it than that. The dot is used in several places in
MongoDB to define sub-document access.


gustavo @ http://niemeyer.net



More information about the Juju mailing list