Debian Bug report logs -
#799545
apt: bash command line completion missing for apt-mark
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#799545; Package apt.
(Sun, 20 Sep 2015 06:45:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Michail Bachmann <michail.bachmann@cms.hu-berlin.de>:
New Bug report received and forwarded. Copy sent to APT Development Team <deity@lists.debian.org>.
(Sun, 20 Sep 2015 06:45:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: apt
Version: 1.0.10.2
Severity: wishlist
Tags: patch
Dear Maintainer,
find attached a bash completion file for apt-mark.
Regards,
Michail Bachmann
-- Package-specific info:
-- (/etc/apt/preferences present, but not submitted) --
-- (/etc/apt/sources.list present, but not submitted) --
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 4.1.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages apt depends on:
ii debian-archive-keyring 2014.3
ii gnupg 1.4.19-5
ii libapt-pkg4.16 1.0.10.2
ii libc6 2.19-20
ii libgcc1 1:5.2.1-17
ii libstdc++6 5.2.1-17
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none>
ii aptitude 0.7.2-1
ii dpkg-dev 1.18.2
ii python-apt 1.0.0
-- no debconf information
[apt-mark (text/plain, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#799545; Package apt.
(Thu, 24 Sep 2015 16:48:12 GMT) (full text, mbox, link).
Acknowledgement sent
to David Kalnischkies <david@kalnischkies.de>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>.
(Thu, 24 Sep 2015 16:48:12 GMT) (full text, mbox, link).
Message #10 received at 799545@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: reassign -1 bash-completion 1:2.1-4
Hi,
On Sun, Sep 20, 2015 at 08:33:35AM +0200, Michail Bachmann wrote:
> find attached a bash completion file for apt-mark.
Thanks for the patch, but we don't maintain shell specific completion
files in src:apt ourselves but rely on the specific shell to implement
the completion (You can find a more complete reasoning from me in
#762286).
I am therefore reassigning to bash-completion.
As I noted in the mentioned bug, there are at the very least more apt related
completion bugs, so it looks like the maintainers (which are also upstream as
far as I know) need some help – you might wanna join…
Best regards
David Kalnischkies
[signature.asc (application/pgp-signature, inline)]
Bug reassigned from package 'apt' to 'bash-completion'.
Request was from David Kalnischkies <david@kalnischkies.de>
to 799545-submit@bugs.debian.org.
(Thu, 24 Sep 2015 16:48:12 GMT) (full text, mbox, link).
No longer marked as found in versions apt/1.0.10.2.
Request was from David Kalnischkies <david@kalnischkies.de>
to 799545-submit@bugs.debian.org.
(Thu, 24 Sep 2015 16:48:13 GMT) (full text, mbox, link).
Marked as found in versions bash-completion/1:2.1-4.
Request was from David Kalnischkies <david@kalnischkies.de>
to 799545-submit@bugs.debian.org.
(Thu, 24 Sep 2015 16:48:14 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#799545; Package bash-completion.
(Wed, 26 Oct 2016 23:03:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Jeremy Bicha <jbicha@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>.
(Wed, 26 Oct 2016 23:03:06 GMT) (full text, mbox, link).
Message #21 received at 799545@bugs.debian.org (full text, mbox, reply):
Control: reassign -1 apt 1.3.1
> Thanks for the patch, but we don't maintain shell specific completion
files in src:apt ourselves but rely on the specific shell to implement
the completion
I believe this is no longer true as of apt 1.3~exp2 so I'm
re-assigning this back to apt.
Thanks,
Jeremy Bicha
Bug reassigned from package 'bash-completion' to 'apt'.
Request was from Jeremy Bicha <jbicha@ubuntu.com>
to 799545-submit@bugs.debian.org.
(Wed, 26 Oct 2016 23:03:06 GMT) (full text, mbox, link).
No longer marked as found in versions bash-completion/1:2.1-4.
Request was from Jeremy Bicha <jbicha@ubuntu.com>
to 799545-submit@bugs.debian.org.
(Wed, 26 Oct 2016 23:03:07 GMT) (full text, mbox, link).
Marked as found in versions apt/1.3.1.
Request was from Jeremy Bicha <jbicha@ubuntu.com>
to 799545-submit@bugs.debian.org.
(Wed, 26 Oct 2016 23:03:07 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#799545; Package apt.
(Fri, 09 Jun 2017 06:54:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Ville Skyttä <ville.skytta@iki.fi>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>.
(Fri, 09 Jun 2017 06:54:03 GMT) (full text, mbox, link).
Message #32 received at 799545@bugs.debian.org (full text, mbox, reply):
The main apt completion seems to be shipped with the apt package, and
apt-get and apt-cache with bash-completion.
In my opinion it would be best to ship all apt related completions
with the apt package an deprecate/remove them from the bash-completion
package. Please feel free to grab the apt-get and apt-cache
completions from https://github.com/scop/bash-completion and let me
know if/when you do, and I'll remove them from upstream
bash-completion.
There's also completion for apt-build shipped with bash-completion, BTW.
Information forwarded
to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#799545; Package apt.
(Fri, 09 Jun 2017 16:57:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Julian Andres Klode <jak@debian.org>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>.
(Fri, 09 Jun 2017 16:57:02 GMT) (full text, mbox, link).
Message #37 received at 799545@bugs.debian.org (full text, mbox, reply):
On Fri, Jun 09, 2017 at 10:50:43AM +0400, Ville Skyttä wrote:
> The main apt completion seems to be shipped with the apt package, and
> apt-get and apt-cache with bash-completion.
We really only shipped the apt completion, because nobody at the
bash-completion side was merging it.
>
> In my opinion it would be best to ship all apt related completions
> with the apt package an deprecate/remove them from the bash-completion
> package. Please feel free to grab the apt-get and apt-cache
> completions from https://github.com/scop/bash-completion and let me
> know if/when you do, and I'll remove them from upstream
> bash-completion.
I'm not sure. This involves some coordination from both sides
with Replaces and Conflicts or stuff.
I don't particularly like merging bash completions, or any completions
for that matter. How many shells will we end up with? We did what we
had to do with apt(8), but I'm not yet convinced that doing this is
the right solution.
>
> There's also completion for apt-build shipped with bash-completion, BTW.
I suggest you talk to apt-build people about that.
--
Debian Developer - deb.li/jak | jak-linux.org - free software dev
| Ubuntu Core Developer |
When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to ('inline'). Thank you.
Information forwarded
to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#799545; Package apt.
(Sat, 10 Jun 2017 06:18:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Ville Skyttä <ville.skytta@iki.fi>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>.
(Sat, 10 Jun 2017 06:18:03 GMT) (full text, mbox, link).
Message #42 received at 799545@bugs.debian.org (full text, mbox, reply):
On Fri, Jun 9, 2017 at 8:55 PM, Julian Andres Klode <jak@debian.org> wrote:
> On Fri, Jun 09, 2017 at 10:50:43AM +0400, Ville Skyttä wrote:
>> The main apt completion seems to be shipped with the apt package, and
>> apt-get and apt-cache with bash-completion.
>
> We really only shipped the apt completion, because nobody at the
> bash-completion side was merging it.
That's not really too much of a surprise, as our general preference is
to encourage projects to ship their completions themselves, and to
take advantage of general purpose features, functions etc from
bash-completion. And besides, it's been a while since there has been a
Debian/Ubuntu user active in bash-completion upstream
development/maintenance. Nowadays it's basically just me, and I'm a
Fedora user, not a Debian/Ubuntu one, and I don't have that much time
for bash-completion in the first place.
> I don't particularly like merging bash completions, or any completions
> for that matter. How many shells will we end up with?
I'd say max two, bash and zsh. And I gather zsh can use bash
completions so I think you can get away with one.
Conversely, in bash-completion we don't have any active apt* users,
and we have no knowledge what options the tools actually support, and
should preferably support whatever version of apt* is installed on the
end user system. Whereas if the completions where shipped by you in
apt, you know exactly what the options available are and what they do.
I'm fairly certain that the hardcoded option and command lists we have
in bash-completions' apt* completion files are outdated or inaccurate.
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 09:45:57 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.