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 +NmRHstpDF/RKQAA0tVLHw (envelope-from ) for ; Mon, 13 Jul 2020 14:03:55 +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 +At4GstpDF8zUQAA1q6Kng (envelope-from ) for ; Mon, 13 Jul 2020 14:03:55 +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 CE83594030A for ; Mon, 13 Jul 2020 14:03:52 +0000 (UTC) Received: from localhost ([::1]:40366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juz3f-0001vo-J1 for larch@yhetil.org; Mon, 13 Jul 2020 10:03:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juz0s-00072U-VD for guix-devel@gnu.org; Mon, 13 Jul 2020 10:00:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36283) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juz0s-00053Q-KW; Mon, 13 Jul 2020 10:00:58 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=34962 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1juz0r-0006OY-Li; Mon, 13 Jul 2020 10:00:58 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Daniela Lura Subject: Re: [Guix Website] A Search Page for Packages References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 Messidor an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 13 Jul 2020 16:00:56 +0200 In-Reply-To: (Daniela Lura's message of "Wed, 8 Jul 2020 20:49:35 +0200") Message-ID: <878sfnpl9j.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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.01 X-TUID: 3/MLXKOEZe0S Heya Danjela, Daniela Lura skribis: > Taking into consideration the suggestion made in this thread: > https://lists.gnu.org/archive/html/guix-devel/2020-05/msg00096.html, my > mentor, Christopher Baines suggested me to write a script that serves a > search page for packages using the search functionality within the Guix > Data Service, > https://data.guix.gnu.org/repository/1/branch/master/latest-processed-rev= ision/packages?search_query=3Dgit&field=3Dversion&field=3Dsynopsis&after_na= me=3D&limit_results=3D100 > . > > The prototype page can be accessed through a test version of the Guix > website that Chris deployed: > http://guix-website-test.cbaines.net/packages/search Cool! To be clear, guix-website-test actually makes a search query on a Data Service instance, right? I guess that explains part of the slowness, but maybe we could tweak nginx to keep search results in cache for a few hours. Florian raised an important issue regarding the possibility of denial of service. Ideas on how to mitigate that, either in the Data Service, or nginx at guix.gnu.org? > I'd like to know if you find the page useful so that I can hopefully start > working on incorporating the search functionality into this page: > https://guix.gnu.org/packages/. I=E2=80=99d be happy to see that happen! We would need the changes against guix-artwork.git as well as (maybe) changes to the nginx config in maintenance.git. How should we proceed? Thanks! Ludo=E2=80=99.