charm proof should display an Error for duplicate relation names.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Charm Tools |
Triaged
|
High
|
Unassigned |
Bug Description
The charm buildbot-slave has duplicate relation names which Juju does not like. The charm proof tool does not complain for this error and should throw an error.
charm get buildbot-slave
cd buildbot-slave
charm proof
E: Charm must have either a maintainer or maintainers field
W: Metadata is missing categories.
W: No icon.svg file.
I: missing recommended hook start
I: missing recommended hook stop
W: config.yaml: option script-args does not have the keys: default
W: config.yaml: option extra-packages does not have the keys: default
W: config.yaml: option script-path does not have the keys: default
W: config.yaml: option builders does not have the keys: default
W: config.yaml: option extra-repository does not have the keys: default
W: config.yaml: option script-url does not have the keys: default
more metadata.yaml
...
requires:
buildbot:
interface: master
provides:
buildbot:
interface: slave
Changed in charm-tools: | |
assignee: | nobody → Tim Van Steenburgh (tvansteenburgh) |
Changed in charm-tools: | |
assignee: | Tim Van Steenburgh (tvansteenburgh) → nobody |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → 1.6.0 |
summary: |
- charm proof should display an Error for duplicate interface names. + charm proof should display an Error for duplicate relation names. |