Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526312 - net-misc/yandex-disk- issues with bash completions
Summary: net-misc/yandex-disk- issues with bash completions
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vladimir Romanov (RETIRED)
Depends on:
Blocks: bashcomp2
  Show dependency tree
Reported: 2014-10-21 17:47 UTC by Michał Górny
Modified: 2014-12-02 09:40 UTC (History)
2 users (show)

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


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-10-21 17:47:17 UTC
* Problems with installed bash completions were found:
 * 	yandex-disk: 'have' command is deprecated and must not be used.
 * 	nospace: missing alias (symlink) for completed command.
 * For more details on installing bash-completions, please see:

1. remove the 'have' call, just enable the completion unconditionally.

2. the other issue seems to be due to '+o nospace yandex-disk'. Either it is a typo or the author assumed that '+o nospace' would disable 'nospace' -- then no option should be given instead :).
Comment 1 Vladimir Romanov (RETIRED) gentoo-dev 2014-10-24 14:12:37 UTC
As bash-completion file is taken from Yandex company, we can do either

1) Contact with Yandex and ask to modify it
2) Modify it with two sed commands in place

sed -i '/have /d' /etc/bash_completion.d/yandex-disk
sed -i 's/+o nospace/-o nospace/' /etc/bash_completion.d/yandex-disk
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-10-24 14:28:21 UTC
It would be great if you could try to contact them.
Comment 3 Vladimir Romanov (RETIRED) gentoo-dev 2014-10-24 14:33:40 UTC
Contacted. Waiting for answer.
Comment 4 Vladimir Romanov (RETIRED) gentoo-dev 2014-11-28 10:49:07 UTC
Well, a month passed, and no answer from Yandex received. So, i think, we can add this two sed commands i mentioned earlier to ebuild.
Pinkbyte, only you have right to do that, as i'm proxy-committer
Comment 5 Sergey Popov gentoo-dev 2014-12-02 09:40:22 UTC
+*yandex-disk- (02 Dec 2014)
+  02 Dec 2014; Sergey Popov <>
+  +yandex-disk-
+  Version bump, fix bug #526312, thanks to Michał Górny and Vladimir Romanov