Debian Bug report logs - #655071
please fix /etc/bash.bashrc to point to new bash-completion location

version graph

Package: bash; Maintainer for bash is Matthias Klose <doko@debian.org>; Source for bash is src:bash (PTS, buildd, popcon).

Reported by: Simon Chopin <chopin.simon@gmail.com>

Date: Thu, 10 Nov 2011 15:03:08 UTC

Severity: wishlist

Tags: patch

Merged with 655208

Found in version bash/4.2-1

Fixed in version bash/4.2-3

Done: Matthias Klose <doko@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#648319; Package bash-completion. (Thu, 10 Nov 2011 15:03:11 GMT) (full text, mbox, link).


Acknowledgement sent to Simon Chopin <chopin.simon@gmail.com>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Thu, 10 Nov 2011 15:03:12 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Simon Chopin <chopin.simon@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bash-completion: /etc/bash_completion script doesn't do the job.
Date: Thu, 10 Nov 2011 16:01:54 +0100
Package: bash-completion
Version: 1:1.90-1
Severity: normal

Hi !

When using the experimental bash-completion package, I noticed that the
completion wouldn't work anymore when using the code snippet found in
the default /etc/bash.bashrc, which refers to /etc/bash_completion.

I assume that at some point, the bash package will update this location
to point to /usr/share/bash-completion/bash_completion, but in the mean
time, I think it would be better if the /etc file would be dropped, or
at least be changed into a symlink to the /usr/share. This way, the
point of break would be more evident.

Since the package doing the breaking is in experimental, I did not file
a bug report for the bash package itself, I hope it is OK ?

Best regards,

Simon

-- System Information:
Debian Release: wheezy/sid
  APT prefers experimental
  APT policy: (990, 'experimental'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii  bash  4.2-1~exp1

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information




Severity set to 'important' from 'normal' Request was from Josh Triplett <josh@joshtriplett.org> to control@bugs.debian.org. (Sun, 08 Jan 2012 00:18:09 GMT) (full text, mbox, link).


Severity set to 'grave' from 'important' Request was from Josh Triplett <josh@joshtriplett.org> to control@bugs.debian.org. (Sun, 08 Jan 2012 00:39:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#648319; Package bash-completion. (Sun, 08 Jan 2012 10:39:32 GMT) (full text, mbox, link).


Acknowledgement sent to dapal@debian.org:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Sun, 08 Jan 2012 10:39:34 GMT) (full text, mbox, link).


Message #14 received at 648319@bugs.debian.org (full text, mbox, reply):

From: David Paleino <dapal@debian.org>
To: 648319@bugs.debian.org
Cc: Simon Chopin <chopin.simon@gmail.com>, Josh Triplett <josh@joshtriplett.org>, bash@packages.debian.org
Subject: Re: Bug#648319: bash-completion: /etc/bash_completion script doesn't do the job.
Date: Sun, 8 Jan 2012 11:37:47 +0100
[Message part 1 (text/plain, inline)]
clone 648319 -1
retitle -1 please fix /etc/bash.bashrc to point to new bash-completion location
severity -1 important
reassign -1 bash
thanks

On Thu, 10 Nov 2011 16:01:54 +0100, Simon Chopin wrote:

> Hi !
> 
> When using the experimental bash-completion package, I noticed that the
> completion wouldn't work anymore when using the code snippet found in
> the default /etc/bash.bashrc, which refers to /etc/bash_completion.
> 
> I assume that at some point, the bash package will update this location
> to point to /usr/share/bash-completion/bash_completion, but in the mean
> time, I think it would be better if the /etc file would be dropped, or
> at least be changed into a symlink to the /usr/share. This way, the
> point of break would be more evident.

Ok, I'll use a symlink. I totally forgot to drop /etc/bash_completion. Sorry
for the noise.

Bash maintainers: the new bash-completion location is
at /usr/share/bash-completion/bash_completion . Please update the files of your
package (bash.bashrc, but there may be others) to reflect the new location. TIA!

Kindly,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, attachment)]

Bug 648319 cloned as bug 655071. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Sun, 08 Jan 2012 10:39:39 GMT) (full text, mbox, link).


Changed Bug title to 'please fix /etc/bash.bashrc to point to new bash-completion location' from 'bash-completion: /etc/bash_completion script doesn't do the job.' Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Sun, 08 Jan 2012 10:39:42 GMT) (full text, mbox, link).


Severity set to 'important' from 'grave' Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Sun, 08 Jan 2012 10:39:43 GMT) (full text, mbox, link).


Bug reassigned from package 'bash-completion' to 'bash'. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Sun, 08 Jan 2012 10:39:43 GMT) (full text, mbox, link).


Bug No longer marked as found in versions bash-completion/1:1.90-1. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Sun, 08 Jan 2012 10:39:44 GMT) (full text, mbox, link).


Forcibly Merged 655071 655208. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Mon, 09 Jan 2012 10:00:21 GMT) (full text, mbox, link).


Reply sent to Matthias Klose <doko@debian.org>:
You have taken responsibility. (Sun, 01 Jul 2012 13:03:50 GMT) (full text, mbox, link).


Notification sent to Simon Chopin <chopin.simon@gmail.com>:
Bug acknowledged by developer. (Sun, 01 Jul 2012 13:03:51 GMT) (full text, mbox, link).


Message #31 received at 655071-close@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: 655071-close@bugs.debian.org
Subject: Bug#655071: fixed in bash 4.2-3
Date: Sun, 01 Jul 2012 13:02:12 +0000
Source: bash
Source-Version: 4.2-3

We believe that the bug you reported is fixed in the latest version of
bash, which is due to be installed in the Debian FTP archive:

bash-builtins_4.2-3_amd64.deb
  to main/b/bash/bash-builtins_4.2-3_amd64.deb
bash-doc_4.2-3_all.deb
  to main/b/bash/bash-doc_4.2-3_all.deb
bash-static_4.2-3_amd64.deb
  to main/b/bash/bash-static_4.2-3_amd64.deb
bash_4.2-3.diff.gz
  to main/b/bash/bash_4.2-3.diff.gz
bash_4.2-3.dsc
  to main/b/bash/bash_4.2-3.dsc
bash_4.2-3_amd64.deb
  to main/b/bash/bash_4.2-3_amd64.deb



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 655071@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated bash 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 01 Jul 2012 13:45:35 +0200
Source: bash
Binary: bash bash-static bash-builtins bash-doc
Architecture: source all amd64
Version: 4.2-3
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <doko@debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description: 
 bash       - GNU Bourne Again SHell
 bash-builtins - Bash loadable builtins - headers & examples
 bash-doc   - Documentation and examples for the The GNU Bourne Again SHell
 bash-static - GNU Bourne Again SHell (static version)
Closes: 482194 655071 655208 659940 661386 674120
Changes: 
 bash (4.2-3) unstable; urgency=low
 .
   * Apply upstream patches 025 - 029, fixes for
     - When used in a shell function, `declare -g -a array=(compound assignment)'
       creates a local variable instead of a global one.
     - The `lastpipe' option does not behave correctly on machines where the
       open file limit is less than 256.
     - When the `extglob' shell option is enabled, pattern substitution does not
       work correctly in the presence of multibyte characters.
     - When using a word expansion for which the right hand side is evaluated,
       certain expansions of quoted null strings include spurious ^? characters.
     - Bash-4.2 tries to leave completed directory names as the user typed them,
       without expanding them to a full pathname.  One effect of this is that
       shell variables used in pathnames being completed (e.g., $HOME) are left
       unchanged, but the `$' is quoted by readline because it is a special
       character to the shell. This patch introduces two things:
       - A new shell option, `direxpand', which, if set, attempts to emulate the
         bash-4.1 behavior of expanding words to full pathnames during
         completion;
       - A set of heuristics that reduce the number of times special characters
         such as `$' are quoted when the directory name is not expanded.
   * Mark bash and bash-static as Multi-Arch: foreign . Closes: #674120.
   * Avoid warning for unset debian_chroot with -u (Marko Mäkelä).
     Closes: #659940.
   * Fix string expansion: \u and \U for code points U+0080 to U+00FF (Darran
     Salt). Closes: #661386.
   * Search $- for `i' for the interactivity test. Closes: #482194.
   * Search for bash_completion in /usr/share/bash-completion too.
     Closes: #655071, #655208.
Checksums-Sha1: 
 04817440526edf6f8c38d69685aae0b226d7fda6 1475 bash_4.2-3.dsc
 972b5ef177980f06eb00bbc32ad90ceff3547d2d 82783 bash_4.2-3.diff.gz
 2ae2160ca0e0f688e91b2a1fd1718683b419a929 694682 bash-doc_4.2-3_all.deb
 10cdbec619723b0f47f5f1d885337d55694fa0c7 1495908 bash_4.2-3_amd64.deb
 61cc816a8051c115b1ec690d2f6f3d2dc5a6ee13 112392 bash-builtins_4.2-3_amd64.deb
 4b96a96a4263002a3f427823d0faa19cbe5aedc5 932176 bash-static_4.2-3_amd64.deb
Checksums-Sha256: 
 8a2685ae9d05be37d54f068bcf827282f2b8b81eec79c9bc15495578b24a8230 1475 bash_4.2-3.dsc
 4a8202e65c0ecf6540cb3756ac777e619c5d5a307fa46d74157b0cb354efece9 82783 bash_4.2-3.diff.gz
 1ac545b3837d07b48b5f581c86199eef95e742f19d8e836fafa45f467a7a266c 694682 bash-doc_4.2-3_all.deb
 12918bf9c5affa7508c3eedd7b7600098f146b6a91c94b15c1c964a1cea12cde 1495908 bash_4.2-3_amd64.deb
 51c227efbb2d5dc3c922661db84e4072741031466e547baaea3de17d1962ba34 112392 bash-builtins_4.2-3_amd64.deb
 aeeb9bb500c495673ef54fefcade8ebdafc9ceb5c35742bc2ed79a6764cfe5c4 932176 bash-static_4.2-3_amd64.deb
Files: 
 f86757ffc48aef4a848e6963e482f700 1475 base required bash_4.2-3.dsc
 0d45b3f3424fff11acbe95b4501e59ca 82783 base required bash_4.2-3.diff.gz
 548d9bdb4d7ba52cbb60e24c9f278d37 694682 doc optional bash-doc_4.2-3_all.deb
 fb0e24d79bd765752d724564ec2a8c42 1495908 shells required bash_4.2-3_amd64.deb
 8701b276d0103897b8005f20f4dcc873 112392 utils optional bash-builtins_4.2-3_amd64.deb
 cca2e6d101b16a3c7e3f9b1afee89004 932176 shells optional bash-static_4.2-3_amd64.deb

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

iEYEARECAAYFAk/wR0wACgkQStlRaw+TLJwqvACdF2JFl1wsT5egEM/Ac0fVML3A
hFAAnRdmY46VvBuTAajT+VpNibj9sDL+
=cV2B
-----END PGP SIGNATURE-----





Reply sent to Matthias Klose <doko@debian.org>:
You have taken responsibility. (Sun, 01 Jul 2012 13:03:57 GMT) (full text, mbox, link).


Notification sent to Jonathan Nieder <jrnieder@gmail.com>:
Bug acknowledged by developer. (Sun, 01 Jul 2012 13:04:01 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 31 Jul 2012 07:25:59 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 09:43:29 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.