Summary: | app-shells/gentoo-bashcomp doesn't support completion of portage sets. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter Sterk <link> |
Component: | [OLD] Unspecified | Assignee: | Gentoo Shell Tools project <shell-tools> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | 1i5t5.duncan, fedeliallalinea, kingjon3377, Martin.vGagern, pacho, tristan |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo-bashcomp/pull/4 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
updated bash completion for ebuild
gentoo-bashcomp-sets.patch |
Description
Peter Sterk
2008-08-22 13:34:25 UTC
Just added --keep-going and --jobs= to the completion module. You will see this in the next day or so. Thanks for the report, changing the summary to reflect the last issue. Created attachment 235157 [details, diff]
updated bash completion for ebuild
Also ebuild is not up to date wrt portage 2.2 features and EAPI additions. Most important is completion for configure and prepare. Attached patch adds all possible commands for current stable portage.
(In reply to comment #2) > Created an attachment (id=235157) [details] > updated bash completion for ebuild > > Also ebuild is not up to date wrt portage 2.2 features and EAPI additions. Most > important is completion for configure and prepare. Attached patch adds all > possible commands for current stable portage. > I don't get this comment. http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-bashcomp/trunk/gentoo?r1=91&r2=94 I'll ignore it. (In reply to comment #3) > I don't get this comment. > http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-bashcomp/trunk/gentoo?r1=91&r2=94 > I'll ignore it. At this time my patch added all possible completions for ebuild actions and there were more then configure and prepare. Probably no one uses them so they are useless. Hm, the stable version which should include completion for configure and prepare does not work for me. Need to check this. (In reply to comment #4) > > Hm, the stable version which should include completion for configure and > prepare does not work for me. Need to check this. Probably an error on my side. Looks okay now. I could really use @sets completion. CCing. gentoo-bashcomp could call `emerge --list-sets` to get a list of available sets. *** Bug 626748 has been marked as a duplicate of this bug. *** Created attachment 489372 [details, diff]
gentoo-bashcomp-sets.patch
Patch for support set with emerge bash-completion
I've made a PR on GitHub based on Marco's patch. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/gentoo-bashcomp.git/commit/?id=48adce4356f46eda30265d2c5a6cb4055c16c5e3 commit 48adce4356f46eda30265d2c5a6cb4055c16c5e3 Author: Louis Sautier <sautier.louis@gmail.com> AuthorDate: 2018-06-10 16:26:46 +0000 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: 2018-06-23 22:23:00 +0000 emerge: add support for sets completion. Based on Marco Genasci's patch and slightly modified to get rid of the unnecessary call to xargs. Courtesy of Marco Genasci <fedeliallalinea@gmail.com>. Closes: https://bugs.gentoo.org/235454 Closes: https://github.com/gentoo/gentoo-bashcomp/pull/4 completions/emerge | 6 ++++++ 1 file changed, 6 insertions(+) |