Debian Bug report logs - #747094
bash-completion: [patch] add support for the new "apt" command

version graph

Package: apt; Maintainer for apt is APT Development Team <deity@lists.debian.org>; Source for apt is src:apt (PTS, buildd, popcon).

Reported by: Michael Vogt <mvo@debian.org>

Date: Mon, 5 May 2014 14:51:02 UTC

Severity: wishlist

Tags: patch

Fixed in version apt/1.2~exp1

Done: Julian Andres Klode <jak@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://alioth.debian.org/tracker/index.php?func=detail&aid=314652&group_id=100114&atid=413095

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#747094; Package bash-completion. (Mon, 05 May 2014 14:51:06 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Vogt <mvo@debian.org>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Mon, 05 May 2014 14:51:06 GMT) (full text, mbox, link).


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

From: Michael Vogt <mvo@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bash-completion: [patch] add support for the new "apt" command
Date: Mon, 05 May 2014 16:49:19 +0200
Package: bash-completion
Version: 1:2.1-4
Severity: wishlist
Tags: patch

Hi,

please consider adding bash completion support for the new "apt" command.
I filed a bug upstream with a patch some days ago:
https://alioth.debian.org/tracker/index.php?func=detail&aid=314652&group_id=100114&atid=413095

The diff itself is here
https://alioth.debian.org/tracker/download.php/100114/413095/314652/6460/0001-add-bash-completions-for-the-new-apt-command.patch

Maybe we can add it as a distro patch until its merged upstream? I'm
happy to provide a debdiff if that helps.

Thanks,
 Michael


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

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

Versions of packages bash-completion depends on:
ii  bash  4.3-6ubuntu1
ii  dpkg  1.17.5ubuntu5.2

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#747094; Package bash-completion. (Tue, 24 Feb 2015 14:36:06 GMT) (full text, mbox, link).


Acknowledgement sent to Sebastian Schulze <me@bstr.eu>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Tue, 24 Feb 2015 14:36:06 GMT) (full text, mbox, link).


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

From: Sebastian Schulze <me@bstr.eu>
To: Debian Bug Tracking System <747094@bugs.debian.org>
Subject: bash-completion: No response?
Date: Tue, 24 Feb 2015 14:50:19 +0100
Package: bash-completion
Version: 1:2.1-4
Followup-For: Bug #747094

Dear Maintainer,

i see that there is a patch for this but no reply.
Unfortunately, i cannot access the links to the patch.
Is it possible to either include this fix or make the patch available somewhere?
I'd really like to switch away from apt-*/aptitued to apt..


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (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.3-11+b1
ii  dpkg  1.17.23

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#747094; Package bash-completion. (Tue, 24 Feb 2015 16:33:15 GMT) (full text, mbox, link).


Acknowledgement sent to Dmitry Shachnev <mitya57@debian.org>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Tue, 24 Feb 2015 16:33:15 GMT) (full text, mbox, link).


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

From: Dmitry Shachnev <mitya57@debian.org>
To: Sebastian Schulze <me@bstr.eu>
Cc: 747094@bugs.debian.org
Subject: Re: bash-completion: No response?
Date: Tue, 24 Feb 2015 19:31:49 +0300
[Message part 1 (text/plain, inline)]
Hi,

On Tue, 24 Feb 2015 14:50:19 +0100, Sebastian Schulze wrote:
> Unfortunately, i cannot access the links to the patch.
> Is it possible to either include this fix or make the patch available somewhere?

I am attaching Michael's original patch here.

--
Dmitry Shachnev
[0001-add-bash-completions-for-the-new-apt-command.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#747094; Package bash-completion. (Thu, 13 Aug 2015 16:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Brian Murray <brian@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Thu, 13 Aug 2015 16:45:04 GMT) (full text, mbox, link).


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

From: Brian Murray <brian@ubuntu.com>
To: 747094@bugs.debian.org
Subject: Updated Patch
Date: Thu, 13 Aug 2015 09:31:57 -0700
[Message part 1 (text/plain, inline)]
Michael's patch was actually incomplete, I'm attaching an updated
version which completely adds apt support and is now in Ubuntu.

--
Brian Murray
[14-add-apt-bts747094.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Set Bug forwarded-to-address to 'https://alioth.debian.org/tracker/index.php?func=detail&aid=314652&group_id=100114&atid=413095'. Request was from Stefano Zacchiroli <zack@debian.org> to control@bugs.debian.org. (Wed, 09 Sep 2015 08:33:06 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#747094; Package bash-completion. (Wed, 09 Sep 2015 08:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Stefano Zacchiroli <zack@debian.org>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Wed, 09 Sep 2015 08:57:04 GMT) (full text, mbox, link).


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

From: Stefano Zacchiroli <zack@debian.org>
To: Brian Murray <brian@ubuntu.com>
Cc: 747094@bugs.debian.org
Subject: Re: Bug#747094: Updated Patch
Date: Wed, 9 Sep 2015 10:56:21 +0200
[Message part 1 (text/plain, inline)]
On Thu, Aug 13, 2015 at 09:31:57AM -0700, Brian Murray wrote:
> Michael's patch was actually incomplete, I'm attaching an updated
> version which completely adds apt support and is now in Ubuntu.

Thanks for your patch! I've now rebuilt a local bash-completion that
uses it, and it's just great.

Small feature request: "apt install" can now (with the version of apt in
experimental, at least) install local .deb packages, and resolve
dependencies as needed. So it'd be nice if "apt install <TAB>" would
also complete with local *.deb files on the filesystem. Do you think you
can add that?

FWIW, I'm considering NMU-ing to DELAYED/XX bash-completion to fix this
specific bug, as I think it'd help quite a bit with the adoption of the
new apt command. (But, anyone, feel free to beat me at it!)

Cheers.
-- 
Stefano Zacchiroli  . . . . . . .  zack@upsilon.cc . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Former Debian Project Leader . . . . . @zacchiro . . . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#747094; Package bash-completion. (Wed, 09 Sep 2015 09:03:07 GMT) (full text, mbox, link).


Acknowledgement sent to Stefano Zacchiroli <zack@debian.org>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Wed, 09 Sep 2015 09:03:07 GMT) (full text, mbox, link).


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

From: Stefano Zacchiroli <zack@debian.org>
To: Brian Murray <brian@ubuntu.com>
Cc: 747094@bugs.debian.org
Subject: Re: Bug#747094: Updated Patch
Date: Wed, 9 Sep 2015 10:58:37 +0200
[Message part 1 (text/plain, inline)]
On Wed, Sep 09, 2015 at 10:56:21AM +0200, Stefano Zacchiroli wrote:
> Thanks for your patch! I've now rebuilt a local bash-completion that
> uses it, and it's just great.

BTW, why is this patch number 14 in the series rather than 13?

I thought that was because another patch numbered 13 was in the series
on the Ubuntu side, but according to
https://patches.ubuntu.com/b/bash-completion/bash-completion_1:2.1-4.1ubuntu2.patch
that doesn't seem to be the case.

Not that I care *that* much :), I'm just trying to figure out whether
some other patches from Ubuntu should be integrated or not.

TIA,
Cheers.
-- 
Stefano Zacchiroli  . . . . . . .  zack@upsilon.cc . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Former Debian Project Leader . . . . . @zacchiro . . . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#747094; Package bash-completion. (Wed, 09 Sep 2015 17:18:03 GMT) (full text, mbox, link).


Acknowledgement sent to Brian Murray <brian@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Wed, 09 Sep 2015 17:18:03 GMT) (full text, mbox, link).


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

From: Brian Murray <brian@ubuntu.com>
To: Stefano Zacchiroli <zack@debian.org>
Cc: 747094@bugs.debian.org
Subject: Re: Bug#747094: Updated Patch
Date: Wed, 9 Sep 2015 10:14:15 -0700
[Message part 1 (text/plain, inline)]
On Wed, Sep 09, 2015 at 10:58:37AM +0200, Stefano Zacchiroli wrote:
> On Wed, Sep 09, 2015 at 10:56:21AM +0200, Stefano Zacchiroli wrote:
> > Thanks for your patch! I've now rebuilt a local bash-completion that
> > uses it, and it's just great.
> 
> BTW, why is this patch number 14 in the series rather than 13?

I just kept the same patch number Michael had used when he created the
initial fix.

https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/wily/bash-completion/wily/revision/48

> I thought that was because another patch numbered 13 was in the series
> on the Ubuntu side, but according to
> https://patches.ubuntu.com/b/bash-completion/bash-completion_1:2.1-4.1ubuntu2.patch
> that doesn't seem to be the case.
> 
> Not that I care *that* much :), I'm just trying to figure out whether
> some other patches from Ubuntu should be integrated or not.

There is not a number 13 patch.

--
Brian Murray
[signature.asc (application/pgp-signature, inline)]

Message sent on to Michael Vogt <mvo@debian.org>:
Bug#747094. (Sat, 02 Jan 2016 21:21:08 GMT) (full text, mbox, link).


Message #40 received at 747094-submitter@bugs.debian.org (full text, mbox, reply):

From: Michael Vogt <mvo@ubuntu.com>
To: 747094-submitter@bugs.debian.org
Subject: Bug#747094 in apt marked as pending
Date: Sat, 02 Jan 2016 21:19:59 +0000
Control: tag 747094 pending

Hello,

Bug #747094 in apt reported by you has been fixed in the Git repository. You can
see the commit message below, and you can check the diff of the fix at:

    https://anonscm.debian.org/cgit/apt/apt.git/diff/?id=bd82743

(this message was generated automatically based on the git commit message)
---
commit bd8274311db48fdcc78456c17c2d59497b96cc2f
Author: Michael Vogt <mvo@ubuntu.com>
Date:   Sat Jan 2 21:18:47 2016 +0100

    Add bash-completion support for the "apt" command
    
    The apt bash-completion support was submited to the bash-completion
    package as a patch in May 2014. It is still not included to this
    date and because it is an important feature for many users it is
    now part of apt until the bash-completion package is mantained
    more actively again.
    
    Note that the "Relaces" line is only required for Ubuntu it will
    have no effect on Debian.
    
    Closes: #747094



Added tag(s) pending. Request was from Michael Vogt <mvo@ubuntu.com> to 747094-submitter@bugs.debian.org. (Sat, 02 Jan 2016 21:21:08 GMT) (full text, mbox, link).


Reply sent to Julian Andres Klode <jak@debian.org>:
You have taken responsibility. (Fri, 08 Jan 2016 21:51:17 GMT) (full text, mbox, link).


Notification sent to Michael Vogt <mvo@debian.org>:
Bug acknowledged by developer. (Fri, 08 Jan 2016 21:51:18 GMT) (full text, mbox, link).


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

From: Julian Andres Klode <jak@debian.org>
To: 747094-close@bugs.debian.org
Subject: Bug#747094: fixed in apt 1.2~exp1
Date: Fri, 08 Jan 2016 21:49:36 +0000
Source: apt
Source-Version: 1.2~exp1

We believe that the bug you reported is fixed in the latest version of
apt, 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 747094@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated apt 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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 08 Jan 2016 21:41:10 +0100
Source: apt
Binary: apt libapt-pkg5.0 libapt-inst2.0 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source
Version: 1.2~exp1
Distribution: experimental
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Description:
 apt        - commandline package manager
 apt-doc    - documentation for APT
 apt-transport-https - https download transport for APT
 apt-utils  - package management related utility programs
 libapt-inst2.0 - deb package format runtime library
 libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - documentation for APT development
 libapt-pkg5.0 - package management runtime library
Closes: 160743 747094 806775 809522 809726
Changes:
 apt (1.2~exp1) experimental; urgency=medium
 .
   [ Beatrice Torracca ]
   * Italian manpages translation update (Closes: 809522)
 .
   [ David Kalnischkies ]
   * add optional support for comments in pkgTagFile
   * support comments in debian/control parsing (Closes: 806775)
   * properly parse comments in apt_preferences and deb822-style sources
   * include all compressed Packages/Sources files in Release file
   * use one 'store' method to rule all (de)compressors
   * ensure compression cleanup even without lists-cleanup
   * allow pdiff bootstrap from all supported compressors
   * keep compressed indexes in a low-cost format
   * support '-' and no parameter for stdin in apt-helper cat-file
   * tests: limit autotest-functionname generation to sane characters
   * use filesize of compressed pdiffs for the limit if possible
   * remove uncompressed leftover partial file before pdiff bootstrap
 .
   [ Michael Vogt ]
   * Add support for APT::Periodic::CleanInterval.
     Thanks to Martin-Éric Racine
   * Add bash-completion support for the "apt" command (Closes: #747094)
   * Add new APT::Keep-Downloaded-Packages option (Closes: #160743)
 .
   [ Julian Andres Klode ]
   * Change compressor costs to be 100 apart
   * apt-cache: stats: Average is over used, not all, buckets
   * Increase APT::Cache-HashTableSize default to 50503
   * travis: pull liblz4-dev from wily
   * FileFd: (native) LZ4 support
   * apt-helper: cat-file: Add -C/--compress option
   * CopyFile: Use 64 * 1024 instead of 64000 as buffer size
   * acquire: Allow parallelizing methods without hosts
   * rred: Run in parallel
   * Introduce internal APT::StringView class
   * Switch performance critical code to use APT::StringView
   * pkgCacheGenerator::StoreString: Get rid of std::string
   * pkgCacheGenerator: CurMd5.Value() cannot be empty
   * AvailableDescriptionLanguages: Use one string for all iterations
   * NEWS: Document recompression of indices
   * Store the size of strings in the cache
   * libapt-pkg5.0: Add Breaks appstream (<< 0.9.0-3~)
 .
   [ Helmut Grohne ]
   * Allow building without libgtest-dev under <nocheck> build profile
     (Closes: #809726)
Checksums-Sha1:
 22e87947e9869105fbf22b60d55cdb7689a60256 2332 apt_1.2~exp1.dsc
 38ebcd3628da58b8bcd28e937468986840727f75 2012668 apt_1.2~exp1.tar.xz
Checksums-Sha256:
 f85f0b8f02043f6413b80a00899ecc5801a079a98af480db797a9958b1f7cc29 2332 apt_1.2~exp1.dsc
 2d511c4ea24943d6f1ba27100a38f83dbebbcdf82dd341d73021a68c411a8813 2012668 apt_1.2~exp1.tar.xz
Files:
 8172190561577d767e2b13dd23b1118c 2332 admin important apt_1.2~exp1.dsc
 42257cb92ca1f04d14ebc198a190bed4 2012668 admin important apt_1.2~exp1.tar.xz

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

iQIcBAEBCgAGBQJWkCAwAAoJENc8OeVlgLOG6NwQALWIRsTiqu1/UVafNHOdQ8x/
35T7sbODZ0Wo2aKHdlr9GGaCRlAQdH6SnrDC/BFzSVEfaAEAP0vzg70QKEINiPMb
2oi0TxZ7AcFmuvn6hceqh//fD+EBJKD5BAevh5+0mIoISoKbqW+YTMkn4PzNzfXm
mB8C6wklGG8gE5qDonD4cJmWO4C9uKPqFKlanxFMQYjuKPj2x5Ld/PqfxacKSiWF
6Tumi+QpCdEW48UThkYaFumoEi97ATCtfnCcUgvD9+dvVT4cuKecg1bEJukBP+7/
DjHJIhzkryVQMmoTpuHCHWVrs61TmshteEjMdUuUvUIP3Dp2l4QfwVBpEx2yfK1/
9pAEGrikXE54fu4ppf3a4MaNrFOYGJNHbGhqnvfxb4xf49xuc/Rrp4jNfavpSF1x
YaxontgG6ecYo0JmX6ij9URGgeVzMpt2nOjPXYll5/DvI+AKV7YK+SwJQsspGfly
mYDfkvuC5Wp2TKYhxnsx3tkgY0PoZpd1tHmoZaHGIu4mBot1I6skztWlq0ivRBaw
0uNrrZ/tgRWpTi06clh6FdOlo9DGsyIAapOlFIYMAPAoNzYnupjEFjjtrUhxa/hj
ZvkZlISE4L8ay379scHaVqZ+vDR/D0+NRCmyJze7OjffqAE/W3a9zHiBx4L7CKyg
r1pyQrg5ZO9zuzRGGqBo
=H8WT
-----END PGP SIGNATURE-----




Bug reassigned from package 'bash-completion' to 'apt'. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sat, 20 Feb 2016 13:57:30 GMT) (full text, mbox, link).


No longer marked as found in versions bash-completion/1:2.1-4. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sat, 20 Feb 2016 13:57:31 GMT) (full text, mbox, link).


No longer marked as fixed in versions apt/1.2~exp1. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sat, 20 Feb 2016 13:57:32 GMT) (full text, mbox, link).


Marked as fixed in versions apt/1.2~exp1. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sat, 20 Feb 2016 13:57:33 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 20 Mar 2016 07:44:26 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 01:21:52 2023; Machine Name: buxtehude

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.