Bug 1504616 - add /usr/share/bash-completion{,/completions,/helpers}
Summary: add /usr/share/bash-completion{,/completions,/helpers}
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: filesystem
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-20 10:27 UTC by Michal Schmidt
Modified: 2017-11-20 17:37 UTC (History)
2 users (show)

Fixed In Version: filesystem-3.6-1.fc28
Clone Of:
Environment:
Last Closed: 2017-11-20 17:37:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 .


Note You need to log in before you can comment on or make changes to this bug.