Ludovic Courtès 4e863eb35f
guix package: '--search' sorts by relevance.
* guix/scripts/package.scm (find-packages-by-description): Rewrite to
compute a score based on the number of regexps matched and the number of
matches for each regexp.  Sort according to this score and return it as
a second value.
(process-query) <'search>: Capture the two return values of
'find-packages-by-description'.  Pass #:extra-fields to
'package->recutils'.
* doc/guix.texi (Invoking guix package): Mention relevance, give an
example.
2017-06-13 23:22:19 +02:00
..
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-04 12:52:23 +02:00
2017-06-02 18:47:07 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-09 18:08:24 +02:00
2017-05-03 16:16:17 +02:00