Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521162 - dev-ruby/rake: bash-completion uses deprecated 'have' command
Summary: dev-ruby/rake: bash-completion uses deprecated 'have' command
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: bashcomp2
  Show dependency tree
 
Reported: 2014-08-26 18:30 UTC by Michał Górny
Modified: 2014-10-13 08:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-08-26 18:30:56 UTC
# Backwards compatibility for compat completions that use have().
# @deprecated should no longer be used; generally not needed with dynamically
#             loaded completions, and _have is suitable for runtime use.
have()

To be more specific, it is unset after loading 'compat' completions. Therefore, completions using it can't be dynamically loaded with new bash-completion because there is no 'have' function at dynamic loading time.

As far as I understand, upstream suggests not using 'have' at all, and just letting completions load.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-10-13 08:46:40 UTC
+  13 Oct 2014; Michał Górny <mgorny@gentoo.org> files/rake.bash-completion:
+  Remove use of deprecated "have" command from bash-completion, bug #521162.

I didn't revbump since this is a trivial change.