juju charm-resources doesn't handle local charms

Bug #1710888 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

$ juju-2.2.3 charm resources ./dummy-resource
ERROR cannot parse URL "./dummy-resource": series name "." not valid
$ cd dummy-resource/
$ juju-2.2.3 charm resources .
ERROR cannot parse URL ".": name "." not valid
$ mkdir trusty
$ mv dummy-resource trusty
$ juju-2.2.3 charm resources ./trusty/dummy-resource
ERROR charm or bundle URL has invalid form: "./trusty/dummy-resource"
$ juju-2.2.3 charm resources trusty/dummy-resource
No resources to display.

Note that I tested all of this with 2.2, but I find the same behavior in develop:
$ juju-2.3b charm resources ./trusty/dummy-resource
WARNING This command is DEPRECATED since Juju 2.3.x, please use 'juju charm-resources' instead.
ERROR charm or bundle URL has invalid form: "./trusty/dummy-resource"
$ juju-2.3b charm-resources ./trusty/dummy-resource
ERROR charm or bundle URL has invalid form: "./trusty/dummy-resource"

Revision history for this message
Heather Lanigan (hmlanigan) wrote :

charm-resources is intended for charms in a repository, from the help message:

This command will report the resources and the current revision of each
resource for a charm in a repository.

Though the error messages are horrid for local charms.

Changed in juju:
importance: High → Medium
tags: added: papercut
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This Medium-priority bug has not been updated in 60 days, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Medium → Low
tags: added: expirebugs-bot
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.