Package: apt-file
Version: 3.2.2
Severity: wishlist

It would be nice to have an option to enable searching source packages
that is easier to remember & type than `-I dsc` or `--index-names dsc`
such as -s --src --source.

I think the full --source option would be good to have for use in
scripts. The -s option would be good for use on the command-line for
when you remember the short option. The --src option would be good for
use on the command-line when you forgot the -s option.

I'm currently working around this using a shell alias:

alias apt-file-src='apt-file -I dsc'

Please note that in apt-file 2.x from Debian jessie and earlier the -s
option existed and did something else, but apt-file 3.x has been around
for a while now, Debian jessie is now unsupported by the Debian
security/LTS teams and it seems unlikely that the old option would be
used by any scripts.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt-file depends on:
ii  apt                      2.1.8
ii  libapt-pkg-perl          0.1.36+b3
ii  liblist-moreutils-perl   0.416-1+b5
ii  libregexp-assemble-perl  0.36-1
ii  perl                     5.30.3-4

apt-file recommends no packages.

apt-file suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to