Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 526272

Summary: dev-python/django-1.7: issues with bashcomp
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: jlec
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 521146    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-10-21 16:03:52 UTC
* Problems with installed bash completions were found:
 * 
 * 	django: incorrect name, no completions for 'django' command defined.
 * 	python3.4-config: missing alias (symlink) for completed command.
 * 	django-admin: missing alias (symlink) for completed command.
 * 	python2.6: missing alias (symlink) for completed command.
 * 	python2.7: missing alias (symlink) for completed command.
 * 	python2.7-config: missing alias (symlink) for completed command.
 * 	python3.3-config: missing alias (symlink) for completed command.
 * 	python.1.xz: missing alias (symlink) for completed command.
 * 	python3.4: missing alias (symlink) for completed command.
 * 	python3.3: missing alias (symlink) for completed command.
 * 	django-admin.py: missing alias (symlink) for completed command.
 * 	manage.py: missing alias (symlink) for completed command.
 * 	python: missing alias (symlink) for completed command.
 * 
 * For more details on installing bash-completions, please see:
 * https://wiki.gentoo.org/wiki/Bash/Installing_completion_files

More specifically:

1. it should be installed as 'django-admin' or alike,

2. it should have symlink (bashcomp_alias) to 'django-admin.py',

3. it should *not* define completion for 'manage.py' (since completions work on $PATH, not ./manage.py),

4. it should definitely not define completions for python*. At which it fails horribly too.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-02-28 12:59:33 UTC
+*django-1.7.5 (28 Feb 2015)
+
+  28 Feb 2015; Justin Lecher <jlec@gentoo.org> +django-1.7.5.ebuild,
+  +files/django-1.7.5-bashcomp.patch, metadata.xml:
+  Version Bump; fix bashcompletions, #526272
+