Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: Alexander Tsoy <alexander@××××.me>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] bash-completion-2.1-r1 once again
Date: Tue, 26 Aug 2014 18:58:23
Message-Id: 20140826205801.79ae5785@pomiot.lan
In Reply to: Re: [gentoo-dev] bash-completion-2.1-r1 once again by Alexander Tsoy
1 Dnia 2014-08-26, o godz. 15:42:42
2 Alexander Tsoy <alexander@××××.me> napisał(a):
4 > Several packages install completions into compatdir
5 > (/etc/bash_completion.d) by default. And these completions are
6 > incompatible with autoloader, so they will not work if you simply
7 > install them into completionsdir and create necessary symlinks. One
8 > example is sys-boot/grub [1]. What do you plan to do with such packages?
9 >
10 > [1]
12 Are there any non-trivial issues like this? As far as I can see, this
13 particular issue is about using deprecated 'have' function. Fixing it
14 would be quite trivial, similarly fixing missing symlinks.
16 I'm aware of two non-trivial breakages with new scheme:
18 1. git-prompt that wasn't really a completion, so it couldn't work like
19 one :),
21 2. /etc/init.d/* completion can't work since it relies on absolute
22 paths and the autoloader works with relative only.
24 If we find a fair number of issues needing support for compatdir,
25 I guess we can end up with dual-mode 'eselect bashcomp'. Otherwise, I'd
26 rather focus on fixing offenders.
28 --
29 Best regards,
30 Michał Górny


File name MIME type
signature.asc application/pgp-signature