FS#69518 - [python-openstackclient] Add bash-completion to the package

Attached to Project: Community Packages
Opened by Max Gautier (VannTen) - Wednesday, 03 February 2021, 11:45 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:08 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No



Including the completions script into the package and adding bash-completions as an optional dependency would be nice

Needed lines in install()

install -dm 644 $pkgdir/usr/share/bash-completion/completions/
PYTHONPATH=$pkgdir/usr/lib/python`python --version | cut -d ' ' -f 2 | cut -d . -f 1,2`/site-packages \
$pkgdir/usr/bin/openstack complete > $pkgdir/usr/share/bash-completion/completions/openstack

This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:08 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/python-openstackclient /issues/1
Comment by Max Gautier (VannTen) - Thursday, 18 February 2021, 11:44 GMT
Here is the patch
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.