From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8DD9BI+/NGPXhQEAbAwnHQ (envelope-from ) for ; Wed, 28 Sep 2022 23:41:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UG0aBY+/NGOlwwAA9RJhRA (envelope-from ) for ; Wed, 28 Sep 2022 23:41:35 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A1AA935A37 for ; Wed, 28 Sep 2022 23:41:34 +0200 (CEST) Received: from localhost ([::1]:34020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odeo9-0002mq-Ln for larch@yhetil.org; Wed, 28 Sep 2022 17:41:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odene-0002jz-0z for guix-patches@gnu.org; Wed, 28 Sep 2022 17:41:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35991) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odend-0002Ra-P3 for guix-patches@gnu.org; Wed, 28 Sep 2022 17:41:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1odend-0007Yz-Kc for guix-patches@gnu.org; Wed, 28 Sep 2022 17:41:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58136] [PATCH] ui: Improve sort order when searching package names. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 28 Sep 2022 21:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58136 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , Lars-Dominik Braun , 58136@debbugs.gnu.org Cc: ludo@gnu.org Received: via spool by 58136-submit@debbugs.gnu.org id=B58136.166440121828986 (code B ref 58136); Wed, 28 Sep 2022 21:41:01 +0000 Received: (at 58136) by debbugs.gnu.org; 28 Sep 2022 21:40:18 +0000 Received: from localhost ([127.0.0.1]:35066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odemv-0007XR-GL for submit@debbugs.gnu.org; Wed, 28 Sep 2022 17:40:17 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:43529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odemr-0007X8-6h for 58136@debbugs.gnu.org; Wed, 28 Sep 2022 17:40:15 -0400 Received: by mail-wm1-f50.google.com with SMTP id r3-20020a05600c35c300b003b4b5f6c6bdso1702104wmq.2 for <58136@debbugs.gnu.org>; Wed, 28 Sep 2022 14:40:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=wIeAGmfme+/k658scHTgXTUyTswPpM9bJyZcCoJ9I/c=; b=DIx5LV64dhK2yfFg7FcO18SsAajr1RVR0iL9Fp/bB/tWsRcOpI1t50w0+wJBkEfi0r bImfuDvYAW4vnL7lvN57DrBYwBtnjhY/zsFJR2ev4Isoh3H/O5tUcxAgQGEm03jr6GFZ KWX/K32+olzsh3meugcDnykX5Ms0DihQ91XCKFHddIx7ittgJeQ15VDgCo6aurDIEUOf BRHX66e1JpyhLoN6Sl6v5rqVQRWBSOeM0Ixn4tpgR03poaMOI1V+6vvm76RbZ+QhvBG3 /+14K8QjfZ2t6A2znkK6CvaA15gPOcuHwpHYJBG5ReU4Y3X8HdIDnN5/ck2L4uW8xqwQ 9zEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=wIeAGmfme+/k658scHTgXTUyTswPpM9bJyZcCoJ9I/c=; b=GX9X6zQRI3Gipwfgeq7iS54++fDb3wOnIMMJ4YX6KFfcYsIvMutFyNKkdn7QpxXt1b PS8Y+re5LUZiFsXJI/irLWdzcy0FUSnU7HBAYBzXoOm8gsYpoQyjbGCKcfDT3XNd2dCB Wk2ax5p+WWhA5ATEZA5zFOHOVVKQnujtLYT1xihncbJnso22OYv2FcwlGe7r8tMlm2nG fGvOGIgsvXIXn5Xy8RZyx+vP/8I0vwZJNhy+lO9jfOTyhyuF44LITaJD0Gb1J7fHYIuI PvghV4gOzrsnDKx3fusW05E6aXoWOEsiOygQIMAY/HArNxR2II9wgAKobS1wr/GQzIoA t+Cw== X-Gm-Message-State: ACrzQf09FdAoYVWemXx0WbHrGlEkE7MLgPuDJ7lye1Mj7o6EuDsYlAlM 4c2fCyes7qqr9Bwf5Un4weU= X-Google-Smtp-Source: AMsMyM5AX4xCIPBuTdd+w9Lwe/ZCHN3+GKe4NJifzKI4KRRTvQEj1tqzHvWb3lM1HWL1x7Qvq7Ks1Q== X-Received: by 2002:a7b:cc96:0:b0:3b4:ffb5:6366 with SMTP id p22-20020a7bcc96000000b003b4ffb56366mr36600wma.48.1664401207169; Wed, 28 Sep 2022 14:40:07 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id q4-20020adf9dc4000000b0022cce7689d3sm765243wre.36.2022.09.28.14.40.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 14:40:06 -0700 (PDT) From: zimoun In-Reply-To: <47edd297-92ec-d8a1-5999-813f4b9644db@telenet.be> References: <86wn9na82p.fsf@gmail.com> <47edd297-92ec-d8a1-5999-813f4b9644db@telenet.be> Date: Wed, 28 Sep 2022 23:40:02 +0200 Message-ID: <87v8p7b2kt.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664401294; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wIeAGmfme+/k658scHTgXTUyTswPpM9bJyZcCoJ9I/c=; b=OPI70i244FZtjs9vjoHYOaVpR35c/jp/vWJRBIWBbiPTJHTJodH7UHghre7uM4WgSYsDaU MnjS2mPO09Rte6Y+9FxClz3kFsMPY+yKyK96/0YGnxjaCMW/PQW+bVqFbOBLT/pux3VPYm OlVxdCrB7XnmLRPVi39jfb/nsI9ke/w+akJcobrcB4ogSt9DpsGAWZCv0QIVCLEIgIYPd9 uOSubo3zz3sid1OCGLWnYxpLV7qC3URBFI8zYKdSjvwopcCWns+jFY+LoCK53n1kbcXIg7 ZxKbphwqsHY7a68lXS4u16QPGely+SJbCmgeqCRHbYCs0vPb8hpRRO5sCUrAJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664401294; a=rsa-sha256; cv=none; b=gY/9TQya/bkdQTimp6/GTmSeHHbbGlFKs8OaqEPPa08/4PQu2uBw5qyjMuxVLuuPT2tr8n nPi4t9AyMkerFeKwqPKYsAyjygmiF6yxZIyqQgmZgOkhI2vvdg7LQOSMj2fl6Hmk4SF3P9 T9F/Yk1i8cYCf8S5oGQRJl5ScLMjAfr1RbLUN1UbxtQGPFVd2QaVvQAUEwy6i1/nCSkgpn vC0DyqkFHollRi2bPUmcNTVraG4EwuHMvRq4+xBHgsQfifOXIvod1W3sDFBTCHY/rqyc+F Xf3z6vavowh95xM5EPK8n1Pyjqt43qd0hYN9Pmze9SJg3LurHX9+xpYCZZt+iQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=DIx5LV64; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.15 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=DIx5LV64; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A1AA935A37 X-Spam-Score: 6.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1WA2nlQ2MVUI Hi, On mer., 28 sept. 2022 at 22:23, Maxime Devos wrot= e: > On 28-09-2022 16:26, zimoun wrote: >> 3. use upstream-name if provided > > For the Minetest mods (which have upstream-names like "Jeija/mesecons"),= =20 > I don't think think the upstream-name is useful as-is Using the change I am proposing, just knowing =E2=80=99jeija=E2=80=99 retur= ns a match: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix search jeija name: minetest-mesecons version: 1.2.1-63.27c3c51 outputs: + out: everything else systems: x86_64-linux dependencies:=20 location: gnu/packages/minetest.scm:367:4 homepage: https://mesecons.net license: LGPL 3, CC-BY-SA 3.0 synopsis: Digital circuitry for Minetest, including wires, buttons and ligh= ts=20=20 description: Mesecons is a mod for Minetest implementing various items + related to digital circuitry, such as wires, buttons, lights and programm= able + controllers. Among other things, there are also pistons, solar panels, + pressure plates and note blocks. +=20 + Mesecons has a similar goal to Redstone in Minecraft, but works in its own + way, with different rules and mechanics. relevance: 4 --8<---------------cut here---------------end--------------->8--- which is better than nothing. Well, upstream-name is not so much useful as-is but it can help for some cases. Cheers, simon