Public bug reported:

[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.

[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.

[other info]

bash completion files appear to be managed inside the 'bash-completion'
pkg, and only rarely are managed directly by owning packages.  Those
that do should drop their scripts into /etc/bash_completion.d/, not
/usr/share/bash_completion.d/.

** Affects: nvme-cli (Ubuntu)
     Importance: Low
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Affects: nvme-cli (Ubuntu Xenial)
     Importance: Undecided
         Status: Invalid

** Affects: nvme-cli (Ubuntu Bionic)
     Importance: Low
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Affects: nvme-cli (Ubuntu Cosmic)
     Importance: Low
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Also affects: nvme-cli (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: nvme-cli (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: nvme-cli (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Changed in: nvme-cli (Ubuntu Xenial)
       Status: New => Invalid

** Changed in: nvme-cli (Ubuntu Bionic)
       Status: New => In Progress

** Changed in: nvme-cli (Ubuntu Cosmic)
       Status: New => In Progress

** Changed in: nvme-cli (Ubuntu Cosmic)
   Importance: Undecided => Low

** Changed in: nvme-cli (Ubuntu Bionic)
   Importance: Undecided => Low

** Changed in: nvme-cli (Ubuntu Bionic)
     Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: nvme-cli (Ubuntu Cosmic)
     Assignee: (unassigned) => Dan Streetman (ddstreet)

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1800544

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

Status in nvme-cli package in Ubuntu:
  In Progress
Status in nvme-cli source package in Xenial:
  Invalid
Status in nvme-cli source package in Bionic:
  In Progress
Status in nvme-cli source package in Cosmic:
  In Progress

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.

  [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.

  [other info]

  bash completion files appear to be managed inside the 'bash-
  completion' pkg, and only rarely are managed directly by owning
  packages.  Those that do should drop their scripts into
  /etc/bash_completion.d/, not /usr/share/bash_completion.d/.

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

_______________________________________________
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to     : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp

Reply via email to