[Bug 1800544] Re: nvme-cli drops bash completion file in wrong location

Dan Streetman 1800544 at bugs.launchpad.net
Wed Jun 2 14:52:36 UTC 2021


** Description changed:

  [impact]
  
  The nvme-cli tool includes a bash completion script, but it drops it in
  the wrong location.  This prevents it from actually being sourced and so
  the nvme tool doesn't do param autocompletion.
  
  [test case]
  
  install the nvme-cli package and try to auto-complete any of its params.
  They do not auto-complete.
  
  check if the bash auto-completion script is correctly located at:
  /usr/share/bash-completion/completions/nvme
  
  [regression potential]
  
  moving where this bash autocompletion file is only has the potential to
- break nvme's autocompletion.  As that does not currently work at all,
- the regression potential seems low.
+ break nvme's autocompletion.
  
  [scope]
  
  fixed upstream in commit df3a06243da0433d8737cdbfa0e3ac101a3a330e
  
  that is included starting in version 1.7, so Eoan and later are already
  fixed.  This package does not provide any bash completion script in
  Xenial.  So only Bionic needs fixing.
  
  [other info]

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nvme-cli in Ubuntu.
https://bugs.launchpad.net/bugs/1800544

Title:
  nvme-cli drops bash completion file in wrong location

Status in nvme-cli package in Ubuntu:
  Fix Released
Status in nvme-cli source package in Bionic:
  New
Status in nvme-cli source package in Cosmic:
  Won't Fix

Bug description:
  [impact]

  The nvme-cli tool includes a bash completion script, but it drops it
  in the wrong location.  This prevents it from actually being sourced
  and so the nvme tool doesn't do param autocompletion.

  [test case]

  install the nvme-cli package and try to auto-complete any of its
  params.  They do not auto-complete.

  check if the bash auto-completion script is correctly located at:
  /usr/share/bash-completion/completions/nvme

  [regression potential]

  moving where this bash autocompletion file is only has the potential
  to break nvme's autocompletion.

  [scope]

  fixed upstream in commit df3a06243da0433d8737cdbfa0e3ac101a3a330e

  that is included starting in version 1.7, so Eoan and later are
  already fixed.  This package does not provide any bash completion
  script in Xenial.  So only Bionic needs fixing.

  [other info]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvme-cli/+bug/1800544/+subscriptions



More information about the foundations-bugs mailing list