GNU bug report logs - #36868
guix system build autocompletes with package list

Previous Next

Package: guix;

Reported by: Jesse Gibbons <jgibbons2357 <at> gmail.com>

Date: Wed, 31 Jul 2019 02:45:01 UTC

Severity: normal

Tags: easy

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#36868: closed (guix system build autocompletes with package list)
Date: Sun, 20 Jun 2021 21:11:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 20 Jun 2021 23:10:23 +0200
with message-id <87k0mo8cow.fsf <at> gnu.org>
and subject line Re: bug#36868: [PATCH] etc: completion: remove package list when using completion on guix system build
has caused the debbugs.gnu.org bug report #36868,
regarding guix system build autocompletes with package list
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
36868: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36868
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jesse Gibbons <jgibbons2357 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: guix system build autocompletes with package list
Date: Tue, 30 Jul 2019 20:44:41 -0600
In bash, when I type "guix system build" and press tab to autocomplete,
I get a list of packages. I would expect it to list scheme source files
like the "guix system {container,disk-image,docker-image,extension-graph,init,reconfigure,shepherd-graph,vm,vm-image}" autocompletes. 


[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Solene Rapenne <solene <at> perso.pw>
Cc: 36868-done <at> debbugs.gnu.org
Subject: Re: bug#36868: [PATCH] etc: completion: remove package list when
 using completion on guix system build
Date: Sun, 20 Jun 2021 23:10:23 +0200
Hi,

Solene Rapenne <solene <at> perso.pw> skribis:

> the file has been reworked in commits
>
> - dc3ba8c83602d69294e21d1b0c066f0d89890b56
> - 80a17aae7991c6df061a98bb71734485f4ca17e2
>
> now the code is entirely different and works as expected.

Heh, looks like Tobias & you felt the need to address this annoyance at
the same time.  :-)

> IIRC when I worked on this piece of code, _guix_is_command "foobar" was
> looking for foobar in all words of the command. So you could have
> _guix_is_command returning true for "build" and "system" at the same
> time when using "guix system build".

Ah OK.

Anyway, glad that it’s fixed now; thank you!

Ludo’.


This bug report was last modified 3 years and 339 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.