Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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 Andreas Radke (AndyRTR) - Wednesday, 21 April 2021, 13:40 GMT
Task Type Feature Request
Category Packages
Status Assigned
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Description:

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

Comment by Max Gautier (VannTen) - Thursday, 18 February 2021, 11:44 GMT
Here is the patch

Loading...