Arch Linux

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#29227 - [django] bash completion doesn't get loaded

Attached to Project: Arch Linux
Opened by Evangelos Foutras (foutrelis) - Sunday, 01 April 2012, 22:50 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 03 April 2012, 13:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Now that bash loads completion files based on the command name, the django package needs to include 2 new symlinks for the completion to work:

(The symlinks below were created by me and appear to do the trick.)

$ ls -l /usr/share/bash-completion/completions | grep django
-rw-r--r-- 1 root root 2280 Mar 24 23:57 django
lrwxrwxrwx 1 root root 6 Apr 2 01:42 django-admin.py -> django
lrwxrwxrwx 1 root root 6 Apr 2 01:43 manage.py -> django

Additional info:
* package version(s): django 1.4-2

Steps to reproduce:

Open up a terminal and try to auto-complete 'django-admin.py <tab><tab>' or './manage.py <tab><tab>' (the latter within a project.)
This task depends upon

Closed by  Dan McGee (toofishes)
Tuesday, 03 April 2012, 13:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in SVN; will rebuild eventually if no 1.4.1 release comes out soon.
Comment by Dan McGee (toofishes) - Monday, 02 April 2012, 15:47 GMT
Yeah, I need to rename it to manage.py and django-admin.py in this directory now that we've figured out the magic sauce the new location entails. I don't think we need the "django" name at all, actually.

Loading...