From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id AC+pG2HKyl6XWQAA0tVLHw (envelope-from ) for ; Sun, 24 May 2020 19:26:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YBVVF2HKyl6MZgAA1q6Kng (envelope-from ) for ; Sun, 24 May 2020 19:26:25 +0000 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 2946B94030A for ; Sun, 24 May 2020 19:26:25 +0000 (UTC) Received: from localhost ([::1]:52508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcwGO-0000DG-5G for larch@yhetil.org; Sun, 24 May 2020 15:26:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcwGE-0000DA-2C for guix-devel@gnu.org; Sun, 24 May 2020 15:26:14 -0400 Received: from mail-ua1-x92b.google.com ([2607:f8b0:4864:20::92b]:46024) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcwGB-0007tV-1Y for guix-devel@gnu.org; Sun, 24 May 2020 15:26:13 -0400 Received: by mail-ua1-x92b.google.com with SMTP id a11so5475563uah.12 for ; Sun, 24 May 2020 12:26:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=iPrnFCfMXR62FsnhKZ/kQkbbmtIZDwi7MAwftZCrzVA=; b=Kpn+ts4RyUxgsZ+NcRQMuRrLBNyddvSmEM0+40XNBVZOMRdZixOVgpB/pv9Yt3xI2v KPgkqEamdzu9dmCGFFGofP28n28FpYe5MqKSH/D9JQLE3r2LrdTgTntHv14VBb1zZGHT Yks78YLrJU5u8UZqBF4DW1h3ftm1wSEARKtlJlu70YeOEgHX8l31as4LTMaikQpSKxy9 Ps6gJ/0VauGBFFx0fdaRkXKKKt4REyOQElsmKAO9rPiPFCqq0dsaf+6zJ6jDuFxR9Ew5 f/GiqCZvcAyZyb6hZlK2yfjmcQcJ2U2USNWzQBgmTBE50fOvkqL6VWbOdKq62pqAjxJb X7jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=iPrnFCfMXR62FsnhKZ/kQkbbmtIZDwi7MAwftZCrzVA=; b=PGV1PgBMWXO1yRYlTB0N/gDheArsG8WNPVtbzEgfzfXn+ZsTz2bQlZk0G+/KtpAHzn abQTg0Ye49OzSI+Id3iuCakeuCkqjXC5krJ6Jp1d1yTX9CgEohdfmjAZReZXMnK+CM0i yJob1DtBjbY17YuXHezPeQdrSrGdswp60UTufmBzT2OL9EkRMjWpzuBk0WIZk0CMsNFR naSgvP4X3ZRcsK5Smo55tUAmuSWp0CP98FMUAkZCXAvKdwzjKyNHZqDKwRiQWBy3Lwxe LGK0HGCw8T629mNlMVj9FoS1zhw2oiwG5o0PuKb46A7EwZ5/V0Mt1c4YBLLpFwBlqov/ AIOA== X-Gm-Message-State: AOAM532BJdiOqI5DZszhxk/bmx6tZyLh3x4nJrn7CcyTcrqW0u14j/Fe ouRurqsjTMxX40x6rmA7AOkvKCVcxe5bJd6Cfh4= X-Google-Smtp-Source: ABdhPJxovRxfS5wufQw9SDF7RFuL/wbidGAl5gLLeGXBix7YDWhhf1PCLDdiMvLsbSnxvo9lIW4+LmDOg2ENuFIFXSY= X-Received: by 2002:ab0:b93:: with SMTP id c19mr17023063uak.69.1590348369632; Sun, 24 May 2020 12:26:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Josh Marshall Date: Sun, 24 May 2020 15:25:58 -0400 Message-ID: Subject: Re: Should guix track package aliases? To: zimoun Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::92b; envelope-from=joshua.r.marshall.1991@gmail.com; helo=mail-ua1-x92b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=Kpn+ts4R; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 1.09 X-TUID: sj/0EYjOV8Z7 Checking http://guix.gnu.org/packages.json again, it seems like the server changes to not misrepresent dates have not been applied yet. Can someone get in and do that? On Sun, May 10, 2020 at 2:16 PM Josh Marshall wrote: > > This back and forth is what I've been having going on in my head. We mig= ht be able to leverage repology.org for their work on mapping packages acro= ss distros. Yesterday, civodul entered a bug to remove the Etag and last-m= odified headers in the nginx config to fix a bug on our side so repology wi= ll update info on guix. That code is GPL'd so some of it could be incorpor= ated, and maybe even be leveraged to interpret foreign distro's packages to= create package prototypes which we could then use to more rapidly expand w= hat packages are available through guix. I could see this as a high-payoff= medium effort development for guix. > > On Sun, May 10, 2020 at 9:34 AM zimoun wrote: >> >> Hi Julien, >> >> On Sun, 10 May 2020 at 14:13, Julien Lepiller wrote= : >> >> > The proposal was about suggesting anotger nameqwhen no package was fou= nd, not to install something else. >> >> Sorry I misinterpreted. >> >> >> > >Well, do you have specific example in mind? >> > >> > $ guix install gcc >> > guix install: error: gcc: unknown package >> > Hint: did you mean `guix install gcc-toolchain`? >> > >> > Since not being able to install gcc is surprising, and you don't alway= s know about gcc-toolchain. >> >> I understand even if this one is the wrong example. :-) >> It even deserves an entry in the manual. >> Well, but I understand what you mean. >> >> >> > $ guix install gpg >> > Hint: did you mean `guix install gnupg`? >> >> The question is: why do you type 'gpg'? >> >> I mean, the upstream name is really GnuPG so it is not one "stupid" >> Guix devs arbitrary rename because in their infinite wisdom they >> decided to. ;-) >> >> Well, do you type 'gpg' because >> a) it is the name of the binary? >> or b) it is the name of the package in your previous favourite distro? >> >> If it is a), then a proposal by Pierre named "filesearch" is floating >> around. And this should improve the situation. >> >> If it is b), then I do not see how to improve the situation in the >> general case. But maybe there is some well-known cases. >> >> >> > Often a name is used to refer to a package, and it's annoying to go th= rough a search, especially when you have to filter a big output. >> >> I agree. From my point the issue is that "guix search" is not doing >> the job and the improvement should come from this. And your 'gpg' >> example is a good one, IMHO: >> >> --8<---------------cut here---------------start------------->8--- >> $ guix search gpg | recsel -C -p name,relevance >> name: signing-party >> relevance: 16 >> name: qgpgme >> relevance: 15 >> name: libgpg-error >> relevance: 14 >> name: python2-gpg >> relevance: 11 >> name: python-gpg >> relevance: 11 >> name: ledger-agent >> relevance: 9 >> name: python2-pygpgme >> relevance: 8 >> name: python-pygpgme >> relevance: 8 >> name: gpgme >> relevance: 8 >> name: kgpg >> relevance: 6 >> name: jetring >> relevance: 6 >> name: emacs-pinentry >> relevance: 6 >> name: trezor-agent >> relevance: 5 >> name: python-trezor-agent >> relevance: 5 >> name: keepkey-agent >> relevance: 5 >> name: qtpass >> relevance: 2 >> name: pinentry >> relevance: 2 >> name: pinentry-tty >> relevance: 2 >> name: pinentry-qt >> relevance: 2 >> name: pinentry-gtk2 >> relevance: 2 >> name: pinentry-gnome3 >> relevance: 2 >> name: pinentry-emacs >> relevance: 2 >> name: pinentry-efl >> relevance: 2 >> name: kleopatra >> relevance: 2 >> name: gnupg >> relevance: 2 >> name: gnupg >> relevance: 2 >> name: git-remote-gcrypt >> relevance: 2 >> name: gajim >> relevance: 2 >> name: emacs-extend-smime >> relevance: 2 >> name: assword >> relevance: 2 >> --8<---------------cut here---------------end--------------->8--- >> >> The expected package 'gnupg' appears... piouf! >> >> I fully agree that the experience with "guix search" is frustating. >> And maybe using both the 'upstream-name' and an extra 'properties' >> such as 'alternative-names' or 'extra-keywords' should help for >> discoverability. >> >> >> WDYT? >> >> All the best, >> simon