Bug 1504616

Summary: add /usr/share/bash-completion{,/completions,/helpers}
Product: [Fedora] Fedora Reporter: Michal Schmidt <mschmidt>
Component: filesystemAssignee: Ondrej Vasik <ovasik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: ovasik, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: filesystem-3.6-1.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-20 17:37:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Schmidt 2017-10-20 10:27:26 UTC
Description of problem:
The filesystem package currently owns /etc/bash_completion.d/, but that location is no longer the preferred one for packaged bash completions. The current practice is to put completions in /usr/share/bash-completion/completions, helpers in /usr/share/bash-completion/helpers, and to co-own the directories:

On an F27 system:

$ sudo dnf repoquery -f /usr/share/bash-completion|wc -l
88
$ sudo dnf repoquery -f /usr/share/bash-completion/completions|wc -l
98

(Only gstreamer1 adds a helper into /usr/share/bash-completion/helpers, and it neither owns the directory nor requires bash-completion).

It would be nicer if filesystem owned /usr/share/bash-completion{,/completions,/helpers} and the packages could rely on it.

Comment 1 Ondrej Vasik 2017-10-24 06:04:28 UTC
Makes sense to me, thanks for suggestion!

Comment 2 Ondrej Vasik 2017-11-20 17:37:51 UTC
Fixed in filesystem-3.6-1.fc28 .