Bug#677989: Where is mainstream for bash-completion?

Oleksandr Gavenko gavenkoa at gmail.com
Thu Jan 8 01:06:47 UTC 2015


> When I type "mvn dependency:resolve -D" and
> press tab, I get an error message "bash: -D: command not found".

I already provide fix for that:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=yes&bug=688696

But I debug only one case.

Just grep:

  $ grep -C 1 '^[[:blank:]]*"-D"' /etc/bash_completion.d/maven

  551-    __mvncomp "archetypeArtifactId= archetypeCatalog= archetypeGroupId= archetypeRepository= archetypeVersion= basedir= goals= interactiveMode=" \
  552:            "-D" "${cur}"
  553-}
  --
  581-                    overWriteReleases=true overWriteSnapshots=true silent=true type=" 
  582:                    "-D" "${cur}"
  583-            ;;
  --
  598-                    $(__mvnlist_prefix 'resolutionFuzziness=' ${fuzziness})" 
  599:                    "-D" "${cur}"
  600-            ;;
  --
  629-                    $(__mvnlist_prefix 'tokens=' ${tokens})" 
  630:                    "-D" "${cur}"
  631-            ;;

All those lines incorrect except first (which is my fix - continuation of
command by escaping "\" new-line).

Header say that script author is:

  # Copyright (C) 2009, Ludovic Claude <ludovic.claude at laposte.net>

Where is origin/mainstream of this bash-completion script?

I already do some local improvements based on Debian variant like adding new
options and handling completion based on pom.xml content.

Do package maintainer have interest in improvements and fixed?

Fill free to contact me - gavenkoa at gmail.com

-- 
Best regards!



More information about the pkg-java-maintainers mailing list