juju-* relations are reserved

Bug #1096148 reported by William Reade
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charms Collection
New
Undecided
Unassigned

Bug Description

Several charms have relations named "juju-*", which are disallowed in go (and inappropriate in python, anyway -- there's an implicit "juju-info" relation that *every* charm provides, and we can't have duplicate relation names).

`charm proof` should be fixed to warn about this (if not error immmediately); and any charms using juju-* relations should be fixed.

For reference, the restrictions are as follows:

1) no relation can be named "juju" or "juju-*"
2) no file in the hooks directory can be named "juju" or "juju-*"
3) no relation can *provide" an interface named "juju" or "juju-*"

(note that of course it is valid for a relation to *require* a "juju-*" interface, otherwise nothing can use the implicit "juju-*" interfaced relations)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.