Skip to content
Snippets Groups Projects
  • Ludovic Courtès's avatar
    4e863eb3
    guix package: '--search' sorts by relevance. · 4e863eb3
    Ludovic Courtès authored
    * 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.
    guix package: '--search' sorts by relevance.
    Ludovic Courtès authored
    * 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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.