From post at ralfj.de Thu Dec 1 18:26:31 2016 From: post at ralfj.de (Ralf Jung) Date: Thu, 01 Dec 2016 19:26:31 +0100 Subject: [Bash-completion-devel] Bug#846510: bash-completion: Completion for apt-get, apt-cache no longer working Message-ID: <148061679110.6550.4912269263840288983.reportbug@r-schnelltop> Package: bash-completion Version: 1:2.1-4.3 Severity: normal Dear Maintainer, completion of package names for apt-get, apt-cache is no longer working: apt-cache show bash [Nothing happens] This is possibly related to Apt 1.4 landing in testing today. Kind regards, Rals -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (100, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages bash-completion depends on: ii bash 4.4-2 ii dpkg 1.18.15 bash-completion recommends no packages. bash-completion suggests no packages. -- no debconf information From vincent.debian at free.fr Mon Dec 12 17:14:27 2016 From: vincent.debian at free.fr (Vincent Blut) Date: Mon, 12 Dec 2016 18:14:27 +0100 Subject: [Bash-completion-devel] Bug#847971: bash-completion: New upstream release Message-ID: <148156286707.21877.13550170338083872500.reportbug@lamella> Package: bash-completion Version: 1:2.1-4.3 Severity: wishlist -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi, It would be great to have a new upstream release for Stretch. I?m especially concerned because chrony, which I maintain in Debian, would benefit? from it. Cheers, Vincent ?https://github.com/scop/bash-completion/commit/bc03de502c3d8391ee220a3a28ed964db8c5e73a - -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages bash-completion depends on: ii bash 4.4-2 ii dpkg 1.18.15 bash-completion recommends no packages. bash-completion suggests no packages. - -- no debconf information -----BEGIN PGP SIGNATURE----- iQJLBAEBCgA1FiEE/VQBlxWoTJPh4vI5ipzudlpxp4AFAlhO2usXHHZpbmNlbnQu ZGViaWFuQGZyZWUuZnIACgkQipzudlpxp4CMHQ/+JtaBIVQ4RRJbN0yGDALsNJvS sfX6VPEI9DmywAO+6/JZ6uZICK27IHuhvEo/mJD/pIYekeGOGGth3Kf2mH7GC/uH BTb49tMB+cSiGui30yxXwT8W7jBZyNu+SE9iVY67DaGAbwF2D/FAV48YWzjUH6rh HFGeGMxL+ZKujIHybM1Dk4R4Vuk+rBvfAK4uWVzovwuQbhStryOukCeqeC8yaZuR jcXkFFU04yUdeGZk1jTQZeQuy+PcPrdoVTwyeA/Gome38hfXdaEuTt3SojCHW/KC ICGPYhNNVtRM9Jz332j4E+ciUhy5hkeDxw6rdTtJosGEEFrVLGwhlK2ENAomhyB/ vxn7c+V+nOjVYr53xPDif8nltOt2qhfybabIqNuQWiBThhkfXxU8JKjgJzUPFEAk Zb6rA40g1jfSNtcXCs5PCBkJeIc0+Op8EuLHJfa7byUq8ezl8qw4G7zEafY6CFuy wyOdZ2erRhXnojWRt/EYxX9lH+ImbWczYIalwICrH1l6Rk3AWQWorTTQE7hvrmtC t52uIXxt/XCiX5WDEd3554mCz+z3oLKb4IloJ5oNBdCYWH654euWFEhq2zML4OJY 0AxUs5ugl27nuXFw2yR+9A0QZqSR4SldTHTar89S6CfWi4TZAvuFpOVLNYMU3Vxa DwW3G1Me6c+yReFGP5A= =woGe -----END PGP SIGNATURE----- From vdanjean at debian.org Wed Dec 14 10:46:57 2016 From: vdanjean at debian.org (Vincent Danjean) Date: Wed, 14 Dec 2016 11:46:57 +0100 Subject: [Bash-completion-devel] Bug#848125: bash-completion: Patch to allow '+' in (ssh/know_hosts) hostnames Message-ID: <148171241742.6535.3361035951220246797.reportbug@eyak.inrialpes.fr> Package: bash-completion Version: 1:2.1-4.3 Severity: normal Tags: patch Hi, I'm using automatic gateway with ssh (and ProxyCommand) so that ssh gw1+gw2+host will correctly setup a connection first to gw1, then to gw2 (via gw1 and ProxyCommand) and eventually with host (via gw2 and ProxyCommand) whatever gw1, gw2 and host are. To do that, I need the '+' character in ssh hostname. It works perfectly with ssh, scp, rsync, ... but not with bash-completion. The reason is that the '+' is not escaped when a regexp for awk is built in _known_hosts_real. The patch is really simple: ======= diff --git a/bash_completion b/bash_completion index 6d3ba76..c640278 100644 --- a/bash_completion +++ b/bash_completion @@ -1484,6 +1496,7 @@ _known_hosts_real() # Escape slashes and dots in paths for awk awkcur=${cur//\//\\\/} awkcur=${awkcur//\./\\\.} + awkcur=${awkcur//\+/\\\+} curd=$awkcur if [[ "$awkcur" == [0-9]*[.:]* ]]; then ======= Note that the line number to apply this patch can be a bit changed (all Debian quilt patch are currently applied in my source tree, so git show lots of other unrelated changes) I also tried to apply my one-liner patch directly to /usr/share/bash-completion/bash-completion on my system. I can now autocomplete hostnames with '+' in them. Regards, Vincent -- System Information: Debian Release: stretch/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (200, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, armel, mipsel Kernel: Linux 4.8.0-2-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages bash-completion depends on: ii bash 4.4-2 ii dpkg 1.18.15 bash-completion recommends no packages. bash-completion suggests no packages. -- no debconf information From miel.donkers at codecentric.nl Wed Dec 21 12:02:09 2016 From: miel.donkers at codecentric.nl (Miel Donkers) Date: Wed, 21 Dec 2016 13:02:09 +0100 Subject: [Bash-completion-devel] Bug#848975: bash-completion: Fails to auto-complete /etc/hosts hostnames after ~/.ssh/config file created Message-ID: <148232172969.29126.11165276913356848319.reportbug@codepaper> Package: bash-completion Version: 1:2.1-4.3 Severity: normal Dear Maintainer, Initially, auto-completion of hosts was working as expected, auto-completing hosts defined in /etc/hosts. After adding a ~/.ssh/config file, auto-completion of hosts defined in /etc/hosts no longer works. When moving the config file out of the way, auto-completion works normally again. Auto-completion of hosts defined in ~/.ssh/config _does_ work, but only those defined there. As my /etc/hosts file is quite extensive, and I only need the ssh config file for one small setting, I don't want to include all hosts in the ssh config file. I would expect to auto-complete hostnames from /etc/hosts even when a ~/.ssh/config file is present. BR, Miel -- System Information: Debian Release: stretch/sid Architecture: amd64 (x86_64) Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages bash-completion depends on: ii bash 4.4-2 ii dpkg 1.18.15 bash-completion recommends no packages. bash-completion suggests no packages. -- no debconf information From ville.skytta at iki.fi Thu Dec 22 09:35:03 2016 From: ville.skytta at iki.fi (Ville =?UTF-8?Q?Skytt=C3=A4?=) Date: Thu, 22 Dec 2016 11:35:03 +0200 Subject: [Bash-completion-devel] Bug#848975: Bug#848975: bash-completion: Fails to auto-complete /etc/hosts hostnames after ~/.ssh/config file created In-Reply-To: <148232172969.29126.11165276913356848319.reportbug@codepaper> References: <148232172969.29126.11165276913356848319.reportbug@codepaper> Message-ID: FWIW, I (upstream) cannot reproduce using upstream bash-completion development code directly on Fedora, haven't tried with Debian. From miel.donkers at codecentric.nl Fri Dec 23 21:44:44 2016 From: miel.donkers at codecentric.nl (Miel Donkers) Date: Fri, 23 Dec 2016 22:44:44 +0100 Subject: [Bash-completion-devel] Bug#848975: Bug#848975: bash-completion: Fails to auto-complete /etc/hosts hostnames after ~/.ssh/config file created In-Reply-To: References: <148232172969.29126.11165276913356848319.reportbug@codepaper> Message-ID: I've been trying to look at the source, to find what the problem is. But with my limited knowledge I could use some assistance. Looking at the "ssh" completion, it seems hosts are coming from the "hostcomplete" variable / parameter. But I haven't found where this one is coming from. I tried disabling loading the "~/.ssh/config" file in the "bash-completion" script, but this didn't make a difference. Could someone perhaps explain where the "hostcomplete" is coming from, so I might be able to debug this further? Thx, Miel On 22 December 2016 at 10:35, Ville Skytt? wrote: > FWIW, I (upstream) cannot reproduce using upstream bash-completion > development code directly on Fedora, haven't tried with Debian. > -- *Miel Donkers | Agile Solution Developer* *codecentric Nederland BVtel: +31 (0) 85.400.0011 | mobiel: +31 (0) 6.511.977.38 | miel.donkers at codecentric.nl * *Breda office (postal address) | Reduitlaan 33 | 4814DC Breda | Netherlands* *Amsterdam office | Johan Huizingalaan 763a | 1066VH Amsterdam | Netherlands* *www.codecentric.nl | blog.codecentric.nl | @codecentric_nl * Volg ons op LinkedIn Tweet met ons op Twitter Lees mee op onze blog Like ons op Facebook Volg ons op Github Meer over ons: codecentric Nederland BV is een Java Software Craftsmen projecten en consultancy organisatie, met focus op Continuous Delivery, Agile development en Applicatie Performance Management (AppDynamics Pro ). codecentric is kennis gedreven met ruim 350 medewerkers in Nederland, Duitsland, Bosni? en Herzegovina en Servi?. -------------- next part -------------- An HTML attachment was scrubbed... URL: From owner at bugs.debian.org Sat Dec 24 20:12:04 2016 From: owner at bugs.debian.org (Debian Bug Tracking System) Date: Sat, 24 Dec 2016 20:12:04 +0000 Subject: [Bash-completion-devel] Bug#848975: marked as done (bash-completion: Fails to auto-complete /etc/hosts hostnames after ~/.ssh/config file created) References: <148232172969.29126.11165276913356848319.reportbug@codepaper> Message-ID: Your message dated Sat, 24 Dec 2016 21:08:55 +0100 with message-id and subject line Re: [Bash-completion-devel] Bug#848975: bash-completion: Fails to auto-complete /etc/hosts hostnames after ~/.ssh/config file created has caused the Debian Bug report #848975, regarding bash-completion: Fails to auto-complete /etc/hosts hostnames after ~/.ssh/config file created 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 owner at bugs.debian.org immediately.) -- 848975: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848975 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Miel Donkers Subject: bash-completion: Fails to auto-complete /etc/hosts hostnames after ~/.ssh/config file created Date: Wed, 21 Dec 2016 13:02:09 +0100 Size: 2785 URL: -------------- next part -------------- An embedded message was scrubbed... From: Miel Donkers Subject: Re: [Bash-completion-devel] Bug#848975: bash-completion: Fails to auto-complete /etc/hosts hostnames after ~/.ssh/config file created Date: Sat, 24 Dec 2016 21:08:55 +0100 Size: 20534 URL: From owner at bugs.debian.org Sun Dec 25 03:09:04 2016 From: owner at bugs.debian.org (Debian Bug Tracking System) Date: Sun, 25 Dec 2016 03:09:04 +0000 Subject: [Bash-completion-devel] Processed: affects 811496 References: <1482634989-1782-bts-pabs@debian.org> Message-ID: Processing commands for control at bugs.debian.org: > affects 811496 + openvpn Bug #811496 [bash-completion] bash-completion: causes every package to have obsolete conffiles in /etc/bash_completion.d/ and no migration Bug #815563 [bash-completion] bash-completion: causes every package to have obsolete conffiles in /etc/bash_completion.d/ and no migration Added indication that 811496 affects openvpn Added indication that 815563 affects openvpn > thanks Stopping processing here. Please contact me if you need assistance. -- 811496: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811496 815563: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815563 Debian Bug Tracking System Contact owner at bugs.debian.org with problems