Bug#933936: (u)mount.linux redundant with own mount completion file?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#933936: (u)mount.linux redundant with own mount completion file?

Laurent Bigonville-5
Package: bash-completion
Version: 1:2.8-7
Severity: important
File: /usr/share/bash-completion/completions/umount.linux

Hi,

I see that the bash-completion package ships unmount.linux and
mount.linux. But the mount package also ships completion for these
executable, are these redundant?

I see the the changelog that they were once removed:

bash-completion (1:2.1-4.3) unstable; urgency=medium

  * Non-maintainer upload.
  * Stop shipping the mount/umount completions
    - will be provided by mount package itself. (See: #820247)

 -- Andreas Henriksson <[hidden email]>  Tue, 12 Apr 2016 16:03:50 +0200

Why were there readded?

Kind regards,

Laurent Bigonville

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information

Reply | Threaded
Open this post in threaded view
|

Bug#933936: (u)mount.linux redundant with own mount completion file?

Gabriel F. T. Gomes-4
On Mon, Aug 05 2019, Laurent Bigonville wrote:
>
> I see that the bash-completion package ships unmount.linux and
> mount.linux. But the mount package also ships completion for these
> executable, are these redundant?

The .linux files are supposed to be used in linux-based distros, as
opposed to other distros where bash-completion works (e.g. freebsd, I
suppose).  They have been added by upstream commit db8d3eeeebb7
<https://github.com/scop/bash-completion/commit/db8d3eeeebb7>.

Anyhow, since mount ships the completion, bash-completion should get rid
of their version and this is usually done upstream.

Luckily, bash-completion 2.9 already deprecated these files [1], and
since I'm already working on the upgrade for Debian, this problem will
be solved automatically.

Cheers,
Gabriel

[1] https://github.com/scop/bash-completion/commit/861be7590ed9

> I see the the changelog that they were once removed:
>
> bash-completion (1:2.1-4.3) unstable; urgency=medium
>
>   * Non-maintainer upload.
>   * Stop shipping the mount/umount completions
>     - will be provided by mount package itself. (See: #820247)

Only mount/umount have actually been removed. The .linux versions were
not.

> Why were there readded?

For completeness, the NMU has been integrated into the regular packaging
by downstream commit 7306a664e53c
<https://salsa.debian.org/debian/bash-completion/commit/7306a664e53c>.