[Pkg-rust-maintainers] Bug#1029096: bat: please rename batcat to bat

Andrea Pappacoda andrea at pappacoda.it
Tue Jan 17 16:44:22 GMT 2023


Package: bat
Version: 0.22.1-1+b1
Severity: wishlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi, could you please consider renaming back the batcat binary to bat? This used
to be necessary because /usr/bin/bat was also used by the bareos-bat package,
but it has been removed[1] a while back and the /usr/bin/bat file has remained
free since the release of bullseye.

Since the batcat name might be already in use, I suggest installing a symlink
or a compatibility script in /usr/bin/batcat that redirects to /usr/bin/bat,
like this:

    #!/bin/sh
    >&2 printf 'Invoking bat as %s is deprecated, please use bat instead\n'
"$0"
    exec bat "$@"

[1]: https://bugs.debian.org/1000906


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

Kernel: Linux 6.0.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bat depends on:
ii  libc6        2.36-8
ii  libgcc-s1    12.2.0-13
ii  libgit2-1.5  1.5.0+ds-6

bat recommends no packages.

bat suggests no packages.

- -- no debconf information

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

iIoEARYIADIWIQS6VuNIvZRFHt7JcAdKkgiiRVB3pwUCY8bQVhQcYW5kcmVhQHBh
cHBhY29kYS5pdAAKCRBKkgiiRVB3pwYjAP0UqtlMyIsVzVioyglJh8MpNPwZV1mn
/gAoPV5u1oaheQEA5P5OpbPTCvidBbd/u5Uij+hGMkBeQdIrVugQFmX78Qc=
=IDdx
-----END PGP SIGNATURE-----



More information about the Pkg-rust-maintainers mailing list