juju charm-resources doesn't handle local charms
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/
ERROR charm or bundle URL has invalid form: "./trusty/
$ juju-2.2.3 charm resources trusty/
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/
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/
$ juju-2.3b charm-resources ./trusty/
ERROR charm or bundle URL has invalid form: "./trusty/
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.