[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `guix search` feature or bug?
From: |
Ludovic Courtès |
Subject: |
Re: `guix search` feature or bug? |
Date: |
Wed, 17 Jul 2019 23:31:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hi,
zimoun <address@hidden> skribis:
> An example describes better than words. :-)
>
> guix package --show=tuxpaint
>
> And one can read the terms `software` in the synopsis and `tools` in
> the description.
> However, `guix search software tools` does not output the package `tuxpaint`.
>
> guix search software tools | recsel -C -P name | sort
>
> From the function `relevance` in `guix/ui.scm`, if I understand well,
> it seems expected. Each field deals with the regexp and the terms
> `software` and `tools` does not appear both in only one field.
>
> Is this behaviour expected?
Not really! It’s the result of commit
8874faaaac665100a095ef25e39c9a389f5a397f, but I agree that what you
expected would be nicer. We should fix it.
Do you want to give it a try? :-)
Thanks,
Ludo’.