From mboxrd@z Thu Jan 1 00:00:00 1970 From: znavko@disroot.org Subject: bug#35551: guix search Date: Mon, 13 May 2019 15:39:29 +0000 Message-ID: References: <877eauvla9.fsf@gnu.org> <1666426.mZ6LCf6Yd0@omega> <8736lmypsm.fsf@gnu.org> <87sgtm0xuw.fsf@netris.org> <1724203.DhVHnQV9by@omega> <874l6026sx.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:53591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQD3b-0001ZC-FI for bug-guix@gnu.org; Mon, 13 May 2019 11:40:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQD3a-0003ap-Aw for bug-guix@gnu.org; Mon, 13 May 2019 11:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60663) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQD3a-0003af-7b for bug-guix@gnu.org; Mon, 13 May 2019 11:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hQD3a-0007Wm-0s for bug-guix@gnu.org; Mon, 13 May 2019 11:40:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <877eauvla9.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mark H Weaver Cc: Bruno Haible , 35551-done@debbugs.gnu.org Thank you, Ludovic. It will be nice to have some additional fields comput= ed with Internet databases like:=0A=0ATag->name=0ATag->Relevance=0APurpos= e: editor, viewer, library, development tool=0AInterface: gui app, consol= e-only, console and gui, system calls=0A=0AFor every tag needs to determi= ne relevance.=0AFor example, package VLC:=0ATag->name: video=0ATag->relev= ance: 100=0ATag->name: view=0ATag->relevance: 90=0Aand other tags=0APurpo= se: viewer=0AInterface: gui app=0A=0AThis can give additional options for= search or just improve sorting when user type f.e. ' guix search video v= iewer'=0A=0A=0AMay 13, 2019 7:58 AM, "Ludovic Court=C3=A8s" wrote:=0A=0A> Hi Mark,=0A> =0A> Mark H Weaver skribis:= =0A> =0A>> Bruno Haible writes:=0A>> =0A>>> Mark H Weav= er wrote:=0A>> =0A>> If we add functionality that calls out to the networ= k in response to a=0A>> package search, e.g. to query popularity ratings = or package file=0A>> listings, we should make sure the user knows it's ha= ppening, and provide=0A>> a way to disable it. Some users may not want in= formation about their=0A>> package searches to be leaked to the outside w= orld.=0A>>> Good point.=0A>>> =0A>>> Would it be more acceptable, upon 'g= uix search', to download an incremental=0A>>> update of a package popular= ity database, and do the search locally? This=0A>>> way, only the fact th= at the user has been doing a 'guix search' would be=0A>>> leaked to the o= utside world, not the search term.=0A>> =0A>> Yes, that would address my = concerns, although popularity ratings might=0A>> be compact enough and ch= ange slowly enough that it might be sufficient=0A>> to simply have them e= mbedded in the Guix source code and manually=0A>> updated periodically.= =0A>> =0A>> Popularity ratings would also be useful to set build prioriti= es on our=0A>> build farms.=0A>> =0A>> The package file listings, on the = other hand, are likely to be so large=0A>> that it's not practical to dow= nload an incremental update of all of=0A>> them.=0A> =0A> FWIW, I like th= at there=E2=80=99s a purely off-line mode for =E2=80=98guix search=E2=80= =99, as=0A> is currently the case (after all, none of Guix relies on any = single=0A> service so far, and I think that=E2=80=99s a nice property.)= =0A> =0A> However, I think it=E2=80=99d be nice to have the option to enh= ance search=0A> results by resorting to external services=E2=80=94just li= ke using a substitute=0A> service =E2=80=9Cenhances=E2=80=9D the user exp= erience.=0A> =0A> I agree that the approach should rather be to download = a complete=0A> database and operate locally on it, rather than give the e= xact query to=0A> the server.=0A> =0A> Thanks,=0A> Ludo=E2=80=99.