Search sort order

  • Done
  • quality assurance status badge
Details
2 participants
  • Greg Hogan
  • Ludovic Courtès
Owner
unassigned
Submitted by
Greg Hogan
Severity
normal
G
G
Greg Hogan wrote on 17 May 2022 15:19
(address . bug-guix@gnu.org)
CA+3U0Zm5pj4zCQQr1Y7nrSwpeXFKYqxswWRk=DN4d9s2Cw1kcw@mail.gmail.com
'guix search' should sort by score, name, and version so that, for
example, 'guix search llvm' returns llvm@14.0.1 before llvm@9.0.1.
Currently the versions are sorted lexicographically rather than by
numerical value.

Greg
L
L
Ludovic Courtès wrote on 26 May 2022 14:22
(name . Greg Hogan)(address . code@greghogan.com)(address . 55480-done@debbugs.gnu.org)
87wne8fpqc.fsf@gnu.org
Hi Greg,

Greg Hogan <code@greghogan.com> skribis:

Toggle quote (5 lines)
> 'guix search' should sort by score, name, and version so that, for
> example, 'guix search llvm' returns llvm@14.0.1 before llvm@9.0.1.
> Currently the versions are sorted lexicographically rather than by
> numerical value.

Done in 4e13ee4b573f1829fbf41147febac9ca8b919034, thanks.

Ludo’.
Closed
?