Your message dated Wed, 06 Dec 2017 11:34:16 +0000
with message-id <[email protected]>
and subject line Bug#879613: fixed in modules 4.0.0-2
has caused the Debian Bug report #879613,
regarding environment-modules: bash autocompletion does not work for modules 
4.0.0
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.)


-- 
879613: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879613
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: environment-modules
Version: 4.0.0-1
Severity: normal

Dear Maintainer,

Somehow the bash autocompletion did not work. I updatetd from 3.2 to 4.0.

To fix the autocompletion I had to move /usr/share/modules/init/bash_completion 
to /etc/bash_completion.d/modules and overwrite the old config to make it work.

Best,

Andreas

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (900, 'stable'), (500, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE= (charmap=ANSI_X3.4-1968) (ignored: LC_ALL 
set to C)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages environment-modules depends on:
ii  debhelper  10.9.2
ii  libc6      2.24-17
ii  libtcl8.6  8.6.7+dfsg-1
ii  tcl        8.6.0+9
ii  tcl8.6     8.6.7+dfsg-1

environment-modules recommends no packages.

environment-modules suggests no packages.

-- Configuration Files:
/etc/bash_completion.d/modules changed:
_module_avail() {
    echo "test"
    module avail -t 2>&1 | sed '
        /^-\+/d; /^\s*$/d;
        /->.*$/d;
        /:$/d;
        /:ERROR:/d;
        s#^\(.*\)/\(.\+\)(.*default.*)#\1\n\1\/\2#;
        s#(.*)$##g;
        s#\s*$##g;
        s#/*$##g;'
}
_module_savelist() {
    module savelist -t 2>&1 | sed '
        /Named collection list$/d;
        /:$/d;
        /:ERROR:/d;'
}
_module_not_yet_loaded() {
    _module_avail | sort | sed -r "\%^(${LOADEDMODULES//:/|})$%d"
}
_module_long_arg_list() {
    local cur="$1" i
    if [[ ${COMP_WORDS[COMP_CWORD-2]} == sw* ]]
    then
        COMPREPLY=( $(compgen -W "$(_module_not_yet_loaded)" -- "$cur") )
        return
    fi
    for ((i = COMP_CWORD - 1; i > 0; i--))
        do case ${COMP_WORDS[$i]} in
        add|load)
            COMPREPLY=( $(compgen -W "$(_module_not_yet_loaded)" -- "$cur") )
            break;;
        rm|remove|unload|switch|swap)
            COMPREPLY=( $(IFS=: compgen -W "${LOADEDMODULES}" -- "$cur") )
            break;;
        esac
    done
}
if [ "$MODULES_USE_COMPAT_VERSION" = '1' ]; then
_module() {
   local cur="$2" prev="$3" cmds opts
   COMPREPLY=()
   cmds="add apropos avail clear display help\
      initadd initclear initlist initprepend initrm initswitch\
      keyword list load purge refresh rm show swap switch\
      unload unuse update use whatis"
   opts="-c -f -h -i -l -s -t -u -v -H -V\
      --create --force  --help  --human   --icase\
      --long   --silent --terse --userlvl --verbose --version"
   case "$prev" in
   add|load)   COMPREPLY=( $(compgen -W "$(_module_not_yet_loaded)" -- "$cur") 
);;
   rm|remove|unload|switch|swap)
      COMPREPLY=( $(IFS=: compgen -W "${LOADEDMODULES}" -- "$cur") );;
   unuse)      COMPREPLY=( $(IFS=: compgen -W "${MODULEPATH}" -- "$cur") );;
   use|*-a*)   ;;       # let readline handle the completion
   -u|--userlvl)  COMPREPLY=( $(compgen -W "novice expert advanced" -- "$cur") 
);;
   av*|disp*|help|show|whatis)
      COMPREPLY=( $(compgen -W "$(_module_avail)" -- "$cur") );;
   *) if test $COMP_CWORD -gt 2
      then
      _module_long_arg_list "$cur"
      else
      case "$cur" in
      # The mappings below are optional abbreviations for convenience
      ls)   COMPREPLY="list";;   # map ls -> list
      r*)   COMPREPLY="rm";;  # also covers 'remove'
      sw*)  COMPREPLY="switch";;
      -*)   COMPREPLY=( $(compgen -W "$opts" -- "$cur") );;
      *) COMPREPLY=( $(compgen -W "$cmds" -- "$cur") );;
      esac
      fi;;
   esac
}
else
_module() {
    local cur="$2" prev="$3" cmds opts
    COMPREPLY=()
    cmds="add apropos aliases avail display help\
        initadd initclear initlist initprepend initrm\
        keyword list load path paths purge refresh reload restore\
        rm save savelist saveshow saverm search show source swap\
        switch test unload unuse use whatis"
    opts="-D -h -V --debug --help --version"
    list_opts="-l -t --long --terse"
    avail_opts="-d -L -l -t --default --latest --long --terse"
    case "$prev" in
    add|load)       COMPREPLY=( $(compgen -W "$(_module_not_yet_loaded)" -- 
"$cur") );;
    avail)          COMPREPLY=( $(compgen -W "$avail_opts $(_module_avail)" -- 
"$cur") );;
    list|savelist)  COMPREPLY=( $(compgen -W "$list_opts" -- "$cur") );;
    restore|save|saveshow|saverm)
                    COMPREPLY=( $(compgen -W "$(_module_savelist)" -- "$cur") 
);;
    rm|remove|unload|switch|swap)
                    COMPREPLY=( $(IFS=: compgen -W "${LOADEDMODULES}" -- 
"$cur") );;
    unuse)          COMPREPLY=( $(IFS=: compgen -W "${MODULEPATH}" -- "$cur") 
);;
    use|*-a*)   ;;                      # let readline handle the completion
    display|help|show|test|whatis)
                    COMPREPLY=( $(compgen -W "$(_module_avail)" -- "$cur") );;
    
-h|--help|-V|--version|aliases|apropos|keyword|purge|refresh|reload|search|source)
                    ;;
    initadd|initclear|initlist|initprepend|initrm)
                    ;;
    *)  if test $COMP_CWORD -gt 2
        then
            _module_long_arg_list "$cur"
        else
            case "$cur" in
            # The mappings below are optional abbreviations for convenience
            ls)     COMPREPLY="list";;      # map ls -> list
            sw*)    COMPREPLY="switch";;
            -*)     COMPREPLY=( $(compgen -W "$opts" -- "$cur") );;
            *)      COMPREPLY=( $(compgen -W "$opts $cmds" -- "$cur") );;
            esac
        fi;;
    esac
}
fi
complete -o default -F _module module


-- no debconf information

--- End Message ---
--- Begin Message ---
Source: modules
Source-Version: 4.0.0-2

We believe that the bug you reported is fixed in the latest version of
modules, 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.
Alastair McKinstry <[email protected]> (supplier of updated modules 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: Tue, 05 Dec 2017 12:37:11 +0000
Source: modules
Binary: environment-modules
Architecture: source amd64
Version: 4.0.0-2
Distribution: unstable
Urgency: medium
Maintainer: Alastair McKinstry <[email protected]>
Changed-By: Alastair McKinstry <[email protected]>
Description:
 environment-modules - Modular system for handling environment variables
Closes: 879613 883169
Changes:
 modules (4.0.0-2) unstable; urgency=medium
 .
   * Fix symlink for bash completion. Closes: #879613
   * Fix paths.patch for sh that broke sudo , su use. Closes: #883169
Checksums-Sha1:
 feaaff24ef623a563c7c5caf51e8e8e1179c2775 1772 modules_4.0.0-2.dsc
 77d0bebddaed357ce7c45f91816a177b0088a1fa 8556 modules_4.0.0-2.debian.tar.xz
 f688c1627880f65aeef0b4ba607c17790c2f1c35 545756 
environment-modules-dbgsym_4.0.0-2_amd64.deb
 a6dff5cbd30191b5935e3c110f53cd52d35f6e19 299076 
environment-modules_4.0.0-2_amd64.deb
 6f82dfe3b6a0067d713d5471f9ae67f10de0d40f 5885 modules_4.0.0-2_amd64.buildinfo
Checksums-Sha256:
 46ab5691b9fc37d8fe5086c39f684bcdc967b579247c7f460468dbd74434a11d 1772 
modules_4.0.0-2.dsc
 1a5cb886305949df8ec73c7fe9041f495a876d325142cdc652508b58497d8f63 8556 
modules_4.0.0-2.debian.tar.xz
 7c66443e3dce82f1701ddfa495ba2185d40fee89c40840d0eaa59d30c6693850 545756 
environment-modules-dbgsym_4.0.0-2_amd64.deb
 1f21fac7a42ea2e3dcc75bdb9a7fc8f8d9565e8528ef1217397d5f55dbbc74b5 299076 
environment-modules_4.0.0-2_amd64.deb
 ccf051c298d78ad4d1fcde915a76cbcd7109fc405a229a21752515b89db755f8 5885 
modules_4.0.0-2_amd64.buildinfo
Files:
 89c6d766125475579db220ac48fa93c7 1772 devel optional modules_4.0.0-2.dsc
 cdb5cff018785cf92c53934017c50143 8556 devel optional 
modules_4.0.0-2.debian.tar.xz
 5a0c1ab70337614d7c7617f2cec49022 545756 debug optional 
environment-modules-dbgsym_4.0.0-2_amd64.deb
 d894c8a22658e24171ff036cf3b7bc24 299076 devel optional 
environment-modules_4.0.0-2_amd64.deb
 c90c320767d85d09353a2d06c117d02f 5885 devel optional 
modules_4.0.0-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAlon0LAACgkQy+a7Tl2a
06X8Jw//f/9tVhH8JDpVDuXP8Gx2UMIPCIvQuBvR9PklNotBEUqRy9YE6MwLxy1u
5f5rYpGv3+dcAyn62hLX4GjidjMS1Z7DylNcxlj6kKeOc3lEPRLHUMduIaPb/lfg
fumAR0CrsFs7nX/SnpBxgZXRm0JzDOk3f7Gth7xOnVkWVNS7PSQlye9TbvDq5jb5
dm13AtCuwBKYu2uaOKDCsvF0kUmK53f8rQG6ZgU+h1M5yczkv8PL4nfpJkcb32/g
SJvDD5qtsI2A+Md+ZP0RUdSM9h8gBMf1zvYjyGyn6vOrH4K94Q0JfWgqALPOtSRj
GLbdw6RxatRj43dutojRxkF7i9/imlCYPtJDhrhFy1aneT/uF2vv6rlpjBQ/gfIp
mAGx/sX9xIqN685RCiyXOjb9VPY7EGK6yVHwbLGGjB465RFcHGe7WmsrofHZWUUp
1WF8h2L+UxCVFxcF5eMe0oq4ImWkotCrPtfMUv/dh5AFEum3Ju+rvHIm53pJl9qm
U9Lkj5/5EaukGWOKMs9xUFkTBuy0bOO1M4vRKjxsZeOwiyJWXr0N2F/PtupK5x1I
VYrXbqFfsMMKb7RwrXQANZxQx6fzOVBu0j9UEaddt4FAm40U/QD2KYe1xpPRh5YZ
MTOVHLe9kJkmGmX0RE4TUh7grTV+o9gjMMOxZwgXrKfX7qDM71U=
=puGE
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to