juju help plugins produces duplicate entries if multiple executables exist on the path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Expired
|
Medium
|
Unassigned | ||
juju-core |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
$ PATH=1.
ERROR 'juju-run --description': exit status 2
ERROR 'juju-backup --description': exit status 255
ERROR 'juju-backup --description': exit status 255
Juju Plugins
Plugins are implemented as stand-alone executable files somewhere in the user's PATH.
The executable command must be of the format juju-<plugin name>.
backup error occurred running 'juju-backup --description'
backup error occurred running 'juju-backup --description'
bundle Tools for managing bundles
charm Tools for authoring and maintaining charms
deployer Tool for declarative management of complex deployments.
metadata tools for generating and validating image and tools metadata
metadata tools for generating and validating image and tools metadata
restore Restore a backup made with juju backup
restore Restore a backup made with juju backup
retry re-execute failed hooks
run error occurred running 'juju-run --description'
test Execute a charms functional tests
When searching the path, shells stop at the first binary that matches the name. I presume juju does the same. Therefore, any subsequent matches with the same name are irrelevant and should be omitted from the help output.
description: | updated |
summary: |
- juju help plugins produces duplicate entries if multiple binaries exist - on the path + juju help plugins produces duplicate entries if multiple executables + exist on the path |
tags: | added: ui |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → 2.1.0 |
Changed in juju-core: | |
status: | Triaged → Won't Fix |
Changed in juju: | |
milestone: | 2.1-rc2 → none |
This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.