Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521144 - app-shells/bash-completion: QA issues with installed completion files
Summary: app-shells/bash-completion: QA issues with installed completion files
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools Herd Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: bashcomp2
  Show dependency tree
 
Reported: 2014-08-26 16:51 UTC by Michał Górny
Modified: 2017-07-02 22:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-08-26 16:51:51 UTC
My new QA tool for autoloaded bash-completions [1] finds a few problems with the bundled completions (false positives omitted):

arch: does not declare any completions (load error?)
c++: does not declare completion for c++
cc: does not declare completion for cc
mount.linux: does not declare completion for mount.linux
mount.linux: duplicate completion for mount (previously in /usr/share/bash-completion/completions/mount)
umount.linux: does not declare completion for umount.linux
umount.linux: duplicate completion for umount (previously in /usr/share/bash-completion/completions/umount)

Specifically:

1. arch is for some fancy mailman arch tool. While this is not a problem at the moment, it will prevent us from being able to install completion for coreutils' arch.

2. cc & cxx grep 'cc --version' for uppercase GCC. Our gcc is lowercase so it fails to actually export the completions.

3. mount.linux and umount.linux should probably end up in helpers or some other dir...

[1]:https://bitbucket.org/mgorny/bashcomp2/src