charm proof should display an Error for duplicate relation names.

Bug #1366663 reported by Matt Bruzek
8
This bug affects 1 person
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

Matt Bruzek (mbruzek)
Changed in charm-tools:
assignee: nobody → Tim Van Steenburgh (tvansteenburgh)
Marco Ceppi (marcoceppi)
Changed in charm-tools:
assignee: Tim Van Steenburgh (tvansteenburgh) → nobody
importance: Undecided → High
status: New → Triaged
milestone: none → 1.6.0
Marco Ceppi (marcoceppi)
summary: - charm proof should display an Error for duplicate interface names.
+ charm proof should display an Error for duplicate relation names.
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.