Your message dated Sat, 11 May 2013 17:47:56 +0000
with message-id <[email protected]>
and subject line Bug#697207: fixed in ack-grep 2.04-1
has caused the Debian Bug report #697207,
regarding ack-grep: Bash completion broken
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
697207: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697207
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ack-grep
Version: 1.96-2
Severity: normal
Tags: patch

The Bash completion for types doesn't work properly when the command is
called ack-grep rather than ack.

While the bug is upstream, it only affects Debian systems (since the
command is called ack-grep elsewhere). 

If the Bash failglob option is enabled, this bug causes Bash to display
an error message in every new shell (unless the current directory
happens to contain a file called O... or P... or similar).

There's a patch here:
https://github.com/Smylers/ack/commit/c0f8871ecb5baa533b8900d5b27b9eed041e660d

Hopefully an upstream release will be made including it, but since the
problem only crops up on Debian it would be nice to get the fix into
Debian ASAP anyway.

Cheers

Smylers

-- System Information:
Debian Release: wheezy/sid
  APT prefers quantal-updates
  APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 
'quantal-proposed'), (500, 'quantal'), (100, 'quantal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5.0-21-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ack-grep depends on:
ii  libfile-next-perl  1.10-1
ii  perl               5.14.2-13ubuntu0.1

ack-grep recommends no packages.

Versions of packages ack-grep suggests:
ii  bash-completion  1:2.0-1ubuntu2

-- Configuration Files:
/etc/bash_completion.d/ack-grep changed:
type ack &>/dev/null || type ack-grep &>/dev/null && {
__ack_types=$( (ack-grep --help=types 2>/dev/null || ack --help=types 
2>/dev/null) | \
  perl -ne 'print "$1 no$1 " if /^\s+--\[no\](\S+)\s+/' 2>/dev/null)
__ack_typeopts=""
for type in $__ack_types ; do
  __ack_typeopts="${__ack_typeopts} --${type}"
done
_ack() {
  local lngopt shtopt clropt
  local cur prev
  COMPREPLY=()
  cur=$(_get_cword "=")
  prev="${COMP_WORDS[COMP_CWORD-1]}"
  _expand || return 0
  # these options are final
  if [[ ${COMP_WORDS[@]} == 
*+([[:space:]])--@(help|man|th+([pt])+(t)|version)+([[:space:]])* ]] ; then
    return 0
  fi
  lngopt='
    --after-context=
    --all-types
    --before-context=
    --break
    --nobreak
    --color
    --nocolor
    --colour
    --nocolour
    --color-filename=
    --color-match=
    --column
    --context=
    --count
    --env
    --noenv
    --files-with-matches
    --files-without-matches
    --flush
    --follow
    --nofollow
    --group
    --nogroup
    --heading
    --noheading
    --ignore-case
    --ignore-dir=
    --noignore-dir=
    --invert-match
    --line=
    --literal
    --match
    --max-count=
    --no-filename
    --output=
    --pager=
    --nopager
    --passthru
    --print0
    --recurse
    --norecurse
    --rc=
    --smart-case
    --nosmart-case
    --sort-files
    --type=
    --type-add
    --type-set
    --unrestricted
    --with-filename
    --word-regexp
  '
  fnlopt='
    --help
    --man
    --thpppt
    --version
  '
  shtopt='
    -a -A -B -C -c
    -f -G -g -H -h
    -i -l -L -m -n
    -o -Q -r -R -u
    -v -w -1
  '
  clropt='
    clear
    reset
    dark
    bold
    underline
    underscore
    blink
    reverse
    concealed
    black
    red
    green
    yellow
    blue
    magenta
    on_black
    on_red
    on_green
    on_yellow
    on_blue
    on_magenta
    on_cyan
    on_white
  '
  # these options require an argument
  if [[ "${prev}" == -@(A|B|C|G|g|-match) ]] ; then
    return 0
  fi
  case "${cur}" in
    --?*=*)
          _split_longopt || return 0
          case "${prev}" in
            --?(no)ignore-dir) # directory completion
                      _filedir -d
                      return 0;;
            --pager) # command completion
                      COMPREPLY=( $(compgen -c -- "${cur}") )
                      return 0;;
                      --rc) # file completion
                      _filedir
                      return 0;;
            --color-@(filename|match)) # color completion
                      COMPREPLY=( $(compgen -W "${clropt}" -- "${cur}") )
                      return 0;;
            --type) # type completion
                      COMPREPLY=( $(compgen -W "${__ack_types}" -- "${cur}") )
                      return 0;;
          esac;;
    -*)
          # -a and -u negate the use of type options
          if [[ " ${COMP_WORDS[@]} " == *" -a "* || " ${COMP_WORDS[@]} " == *" 
-u "* ]] ; then
            if [[ "${COMP_CWORD}" -eq 1 ]] ; then
              COMPREPLY=( $(compgen -W \
                "${lngopt} ${shtopt} ${fnlopt}" -- "${cur}") )
            else
              COMPREPLY=( $(compgen -W \
                "${lngopt} ${shtopt}" -- "${cur}") )
            fi
          else
            if [[ "${COMP_CWORD}" -eq 1 ]] ; then
              COMPREPLY=( $(compgen -W \
                "${lngopt} ${shtopt} ${fnlopt} ${__ack_typeopts}" -- "${cur}") )
            else
              COMPREPLY=( $(compgen -W \
                "${lngopt} ${shtopt} ${__ack_typeopts}" -- "${cur}") )
            fi
          fi
          return 0;;
    *)
          if [[ " ${COMP_WORDS[@]} " == *" -f "* ]] ; then
            _filedir -d
          elif [[ "${prev}" != -* ]] ; then
            _filedir
          fi
          return 0;;
  esac
}
complete -F _ack ${nospace} ack
complete -F _ack ${nospace} ack-grep
}


-- no debconf information

--- End Message ---
--- Begin Message ---
Source: ack-grep
Source-Version: 2.04-1

We believe that the bug you reported is fixed in the latest version of
ack-grep, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <[email protected]> (supplier of updated ack-grep package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 11 May 2013 19:42:48 +0200
Source: ack-grep
Binary: ack-grep
Architecture: source all
Version: 2.04-1
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Description: 
 ack-grep   - grep-like program specifically for large source trees
Closes: 696466 697207 706125
Changes: 
 ack-grep (2.04-1) unstable; urgency=low
 .
   * Team upload.
 .
   [ gregor herrmann ]
   * debian/control: update {versioned,alternative} (build) dependencies.
 .
   [ Salvatore Bonaccorso ]
   * Change search.cpan.org based URIs to metacpan.org based URIs
 .
   [ Axel Beckert ]
   * Set homepage to http://betterthangrep.com/
 .
   [ gregor herrmann ]
   * New upstream release. Closes: #706125 ("new major upstream version")
   * bash-completion script is removed upstream. Drop patch, and bash-
     completion parts in debian/rules and debian/control.
     (Closes: #696466, #697207)
   * The split between ack and ack-base is gone.
     Drop patch, update debian/rules.
   * Refresh patch app-rename.
   * Remove debian/clean, simplify clean actions in debian/rules.
   * Drop patch remove-incorrect-documentation
     (hopefully not needed anymore).
   * Add new patch to fix some spelling mistakes in the POD.
   * Update upstream and packaging copyright/license information.
   * Bump debhelper compatibility level to 8.
   * Set Standards-Version to 3.9.4 (no changes).
   * Update Vcs-Git filed.
   * Add debian/NEWS pointing to major changes in ack2.
   * Update build/runtime dependencies.
Checksums-Sha1: 
 a42ee27ae24475265b39b196ee8c682d86a64164 2040 ack-grep_2.04-1.dsc
 9576a3d77fad1fd94e2b1ed1684779e3980646f8 209885 ack-grep_2.04.orig.tar.gz
 3bd6a8455bedfe35dadcacfd0652c78437b2e5ce 17524 ack-grep_2.04-1.debian.tar.gz
 bf351d8f0ca8bd9368d820f6b684eb37501b9991 65230 ack-grep_2.04-1_all.deb
Checksums-Sha256: 
 926057772165983dc4a79dd8cb3d53e9b7a634bb2650b8283f01c531c1e05756 2040 
ack-grep_2.04-1.dsc
 7c58d72f61eec4e6e57a418f3a63c6735eafad20d6c319279fe33edc41ef9ac4 209885 
ack-grep_2.04.orig.tar.gz
 6cfcf235152601023220ad929fada67537b9b54cfab4c16ed79e12a8fb28e443 17524 
ack-grep_2.04-1.debian.tar.gz
 c8fbcc0be230e7007659d145965f47fa0122eeb4efe45eafdb08b8c3a496f062 65230 
ack-grep_2.04-1_all.deb
Files: 
 bc6aefe0eb0f048e0ff1966ec1d09311 2040 utils optional ack-grep_2.04-1.dsc
 bfd1b9fc4e79b6cad1c410406e199fe5 209885 utils optional 
ack-grep_2.04.orig.tar.gz
 65d50ec0be99e18a6f3171cbfd3c5a00 17524 utils optional 
ack-grep_2.04-1.debian.tar.gz
 5c1efa906c7e4cf205558ef33c46694a 65230 utils optional ack-grep_2.04-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRjoNxAAoJELs6aAGGSaoGUAwP/i3dssUU29neeM7eYGCdJGoz
o0xDp8TrtPSLdLS0qV/lqRe6F8Sqxl41MyXb7koO0bbAGjTIArgbHaAWeLh4wlWW
s/0Po6ekVgftTX4nGa2l9mmzomYMcUlbHcwuMy067p1De2CJQQx5iOjPTP5iKh1c
8rS3sSqkvLutEKCDqzs+ySDizT20byaHjRC7U85e7JP2R7R6qbsZI/fdkOYFvy9r
hYTNZIafhvXRkDbwj6Ts1AwdaJIEmhGfEi3s70ZP7SR493x+rxOFVdOnn1EMtjYG
h1XM2/E9DfTpXiqAeC0Zygmuxmiun8J13xN+R1gv4ZVXK4Q3uj/mXWTIBW/kSsqw
fo6+OA7crtA5+cJGFUUJ2t+FlZ6OphrSyTtMtbDbZuWpglJEtt/WN8qZGVJorQPp
wTU1ZPh9Ac/kLqYbp5J61P8MI5+trIEAXAwlGQ7VTB8VhrdNN3olvmlxzfR4DxHZ
12ZbqLoq3Yakkz5A8Q3X4T8MmQsQMgESnaAw/le2q+cuPpo+iVMbYWHr90c5DgsE
1L4pq4gV78a9GlI3l1DiaUA9d0vIFbhBEl1GA7V4LNkRHM8xhPJjAuh8xYcnXo2x
DHphLQmSoZm6ZmsBl41/amN84v2jDEcoL6bEwqCyz76Hx6/TSHfn251rKhmz6r1m
Dj5nOUaZ6vQFPOkkPWY+
=7pby
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to