guix-devel/guix/scripts
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
..
container ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
import ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
archive.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
authenticate.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
build.scm derivations: Introduce 'read-derivation-from-file'. 2017-06-12 17:53:51 +02:00
challenge.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
container.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
copy.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
download.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
edit.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
environment.scm environment: Correct typo. 2017-05-04 12:52:23 +02:00
gc.scm syscalls: Provide 'free-disk-space'. 2017-06-02 18:47:07 +02:00
graph.scm derivations: Introduce 'read-derivation-from-file'. 2017-06-12 17:53:51 +02:00
hash.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
import.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
lint.scm guix: lint: Slightly simplify `check-source-file-name'. 2017-05-23 04:35:06 +05:30
offload.scm derivations: Introduce 'read-derivation-from-file'. 2017-06-12 17:53:51 +02:00
pack.scm pack: Use 'guile2.0-json' when building with Guile 2.0. 2017-05-20 14:39:50 +02:00
package.scm guix package: '--search' sorts by relevance. 2017-06-13 23:22:19 +02:00
perform-download.scm derivations: Introduce 'read-derivation-from-file'. 2017-06-12 17:53:51 +02:00
publish.scm derivations: Introduce 'read-derivation-from-file'. 2017-06-12 17:53:51 +02:00
pull.scm pull: Use 'with-store'. 2017-05-09 18:08:24 +02:00
refresh.scm scripts: refresh: Add -m manifest option. 2017-06-04 09:07:43 +02:00
size.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
substitute.scm substitute: Do not display the installed size. 2017-06-02 18:47:07 +02:00
system.scm bootloader: Rename boot-name to bootloader-name. 2017-06-10 18:32:11 +02:00