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 EIHSGV/wVF9GdwAA0tVLHw (envelope-from ) for ; Sun, 06 Sep 2020 14:21:19 +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 aNuhFV/wVF+4PAAA1q6Kng (envelope-from ) for ; Sun, 06 Sep 2020 14:21:19 +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 277B09402A2 for ; Sun, 6 Sep 2020 14:21:19 +0000 (UTC) Received: from localhost ([::1]:39580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEvXi-0006wl-4n for larch@yhetil.org; Sun, 06 Sep 2020 10:21:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEvXZ-0006v0-6d for guix-devel@gnu.org; Sun, 06 Sep 2020 10:21:09 -0400 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]:37512) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEvXX-0001CX-9X for guix-devel@gnu.org; Sun, 06 Sep 2020 10:21:08 -0400 Received: by mail-ej1-x635.google.com with SMTP id nw23so14513377ejb.4 for ; Sun, 06 Sep 2020 07:21:06 -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; bh=RhC7alofcPbWte7amnBcncjppFtzAxCNxifADI4+OGg=; b=PAw9zIR9XI3kkHV4vRTJa85z87Xe/cH82u4QhUd63BJjiMF8xRcmySrSpJKCONcvQO KULgRfEEir9Dd4WNkUmzCsUGmiexDRI+qvN2BEVJ/4fyi8woTGoc53DeWDhl4VRLMKJ3 qHKAXuAQmM67QTtEtZAnon2tXtEZzAnSdMYCGMo6M5VoWJXPeuV1toXq+ObUYaiotm9E mqWBsF5JIr7Ob/p5e1cN/epAYokvAWEtegytXciaJBXFJGaEfGAHgU1TKnHbViuiloBt Av/dY32W39I57ZnkxayJ3PFNhgJ1OyUeVAfdIJeHzsli4JZalD2tjhKAspUPhr98/4K7 9Pbw== 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; bh=RhC7alofcPbWte7amnBcncjppFtzAxCNxifADI4+OGg=; b=LfQMFcG/yzumtRpcI6GfZrT2H+0k68sevvsNV2dXEgA1zAjrgf65TVafto7opFvSHm TyPRbGQ5WMntta+/Z+QN2NOAPMjKcQjQq2npdC1jG2jBrwkNrrK4Ln9f0LPXjhWpxiE/ jgRDUrGKGGqd1tNwlfgKpZIGjDSdN9UbaDjIutUFSRWyLgFLh+NaO7DH1W5AjS4Qwop/ V0IGRAD4omTwm0pHBEYPDMo7tZruEZy66d2xABWcnnCA2NgvJpSSHOxpQnj7o+L1nHrl 7yhQG5zSDbAg2/O26VZGgbcaJNeY51dhi5SYE4dm+2SFGpaxcc1nodgmhnufJJDQsKD5 FITA== X-Gm-Message-State: AOAM531nLGn9SLDR56mFjR+M1vZUsxG0tGi7y6XdkYQdDGylvk3ZtrT5 WnNrL9O8eh9kI0y/HgKaIhf0ZOOvwxbwMkCuMPBx5dGDP+6hTA== X-Google-Smtp-Source: ABdhPJya3JhIBmhuDkr4L6PjkOpuu48Jw3xSebjWpzdNpqhHjZwRXKdw05Xt59SI7RujxU9G0BBveDVlnEYE1g/uwEQ= X-Received: by 2002:a17:906:6010:: with SMTP id o16mr16243486ejj.320.1599402064703; Sun, 06 Sep 2020 07:21:04 -0700 (PDT) MIME-Version: 1.0 References: <878sfnpl9j.fsf@gnu.org> <874kqbjhv0.fsf@cbaines.net> <87zh82kz5y.fsf@gnu.org> <87pn8xc20s.fsf@gnu.org> In-Reply-To: <87pn8xc20s.fsf@gnu.org> From: Daniela Lura Date: Sun, 6 Sep 2020 16:19:56 +0200 Message-ID: Subject: Re: [Guix Website] A Search Page for Packages To: guix-devel@gnu.org Content-Type: multipart/alternative; boundary="000000000000eb75b005aea5cfea" Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=danielaluraa@gmail.com; helo=mail-ej1-x635.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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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: , 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=PAw9zIR9; 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: 1iTMLzuYeZO3 --000000000000eb75b005aea5cfea Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Guix :), Sorry for the late followup :/ Hope your summer is going well! I'm sending this email to follow up on the search functionality for packages. With Chris's help I managed to make some changes that make the query for searching packages within the Guix Data Service faster. I don't know if the search is fast enough to be included on the Guix website, but I thought it would be good to share. Search packages page in the test version of the website that Chris deployed: guix-website-test.cbaines.net/packages/search If you'd want to have a look at the code changes: https://git.savannah.gnu.org/cgit/guix/data-service.git/commit/?id=3Dee613c= db305cc1e443135d311aead6c799902b8a this is the commit where the changes start. Looking forward to your feedback! Best regards, Danjela On Tue, 14 Jul 2020 at 21:47, Marius Bakke wrote: > Ludovic Court=C3=A8s writes: > > > On berlin we=E2=80=99ll have to keep using nginx I guess (there=E2=80= =99s too much > > config in there), but perhaps Varnish is an option for the Data Service= . > > To be clear, Varnish is not a replacement for nginx (it does not even > speak HTTPS), the typical deployment is nginx -> Varnish -> backend. It > introduces another "hop" though. > > I'm not sure if it's worth the added complexity here, just thought I'd > mention it. It's a programming language for caching/proxying logic. > --000000000000eb75b005aea5cfea Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Guix :),
Sorry for the late followup = :/

Hope your summer is going well!
=
I'm sending this email to follow up on the search functi= onality for packages.
With Chris's help I managed to mak= e some changes that make the query for searching packages within the Guix D= ata Service faster.
I don't know if the search is fast e= nough to be included on the Guix website, but I thought it would be good to= share.

Search packages page in the test vers= ion of the website that Chris deployed: guix-website-test.cbaines.n= et/packages/search

If you'd want to have a= look at the code changes: h= ttps://git.savannah.gnu.org/cgit/guix/data-service.git/commit/?id=3Dee613cd= b305cc1e443135d311aead6c799902b8a this is the commit where the changes = start.

Looking forward to your feedback!

Best regards,
Danjela

On Tue, 14 Jul 2020 at 21:47, Marius Bakke <marius@gnu.org> wrote:
Ludovic Court=C3=A8s <ludo@gnu.org> writes:
> On berlin we=E2=80=99ll have to keep using nginx I guess (there=E2=80= =99s too much
> config in there), but perhaps Varnish is an option for the Data Servic= e.

To be clear, Varnish is not a replacement for nginx (it does not even
speak HTTPS), the typical deployment is nginx -> Varnish -> backend.= =C2=A0 It
introduces another "hop" though.

I'm not sure if it's worth the added complexity here, just thought = I'd
mention it.=C2=A0 It's a programming language for caching/proxying logi= c.
--000000000000eb75b005aea5cfea--