From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6KlgHK9be2O7fgAAbAwnHQ (envelope-from ) for ; Mon, 21 Nov 2022 12:06:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2FhnHK9be2Oe/QAAauVa8A (envelope-from ) for ; Mon, 21 Nov 2022 12:06:23 +0100 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 119561DA57 for ; Mon, 21 Nov 2022 12:06:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ox4cm-0005N5-KQ; Mon, 21 Nov 2022 06:06:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ox4ck-0005LD-VV for guix-patches@gnu.org; Mon, 21 Nov 2022 06:06:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ox4ck-00087G-MM for guix-patches@gnu.org; Mon, 21 Nov 2022 06:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ox4ck-0000ox-4R for guix-patches@gnu.org; Mon, 21 Nov 2022 06:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59385] [PATCH] website: Link to the new packages browser Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Nov 2022 11:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59385 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Luis Felipe Cc: 59385@debbugs.gnu.org Received: via spool by 59385-submit@debbugs.gnu.org id=B59385.16690287383121 (code B ref 59385); Mon, 21 Nov 2022 11:06:02 +0000 Received: (at 59385) by debbugs.gnu.org; 21 Nov 2022 11:05:38 +0000 Received: from localhost ([127.0.0.1]:45553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ox4cJ-0000oE-FI for submit@debbugs.gnu.org; Mon, 21 Nov 2022 06:05:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ox4cE-0000nt-5V for 59385@debbugs.gnu.org; Mon, 21 Nov 2022 06:05:34 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ox4c7-0007rj-6E; Mon, 21 Nov 2022 06:05:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=+nkOlwF9PemK56SFGjU3nzEk4nrepblgCuRQvk1Zdto=; b=C84uFjJ/8jgRJDzRrNqz 6H6X1STBhgkP/mRKVlkH5R8gR2Y7ODoX6YpoEBLALgsWBidROCwvkOzrftHNq252hkHvPUSB14mcs bva+pmTmaHZvMh0sTGsFY2pXCpNovZk107GO7n123xFA8bCXw8txd32/JZG63U2IgDaiPPdWxIczb 9vECChTVBPXKWhswLlL79oEqmVxubv0DHCralrN7Ru6j7tAqPVo3reqamk9V935RcTLNdTJdSySrx RXWlnM4mRdPwQEDWOROkTMqkbfhE3maMmXVcWW350nFti0MYX7h2le8Aiyhw/Rqe+sKbR66eErOGi LAi0ejenN+MYww==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ox4c6-0000e7-Pd; Mon, 21 Nov 2022 06:05:22 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Mon, 21 Nov 2022 12:05:20 +0100 In-Reply-To: (Luis Felipe's message of "Sat, 19 Nov 2022 13:47:40 +0000") Message-ID: <87pmdglg9b.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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-bounces+larch=yhetil.org@gnu.org 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=1669028783; 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: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=+nkOlwF9PemK56SFGjU3nzEk4nrepblgCuRQvk1Zdto=; b=HwBRhllitq7hI8BAK3rl29GWZL2EZEHeSvcGJESGaHWhk/iaFokzAG9hHJuSR7eXRGEVDc UbmMJ9w3Vjw61huImN9f7qSOMTuf9xWsSC3xvgktlPHOWn7IJteVaCHdWcNTea6gl0ZXuz WLhNT9tSuElROyAeB95hwogtUy9RHPSRngTS9YXtAgqnIZQxTHLxSWEScm7r8Fcm0jkG7c tIfnb5fGMPF8LuqNWC0DwO61VmevXQxNytO9DsCcRGRD6ptmEnhCG11WwJSBqa0UJZ3/s2 5XNOEvOcfacYZfawoHZa/26A2fckkIJ9+AlMOAoxGZv0tPlDZJae3htU5meDAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669028783; a=rsa-sha256; cv=none; b=V4UP3EGYaS8vbrsXlJXn9H/QojWGPgQ1zoYVvN9qTZx4SzFug0Xe/qtJ0CGI1kCm6HjrTq TBztdPpAQmGHaDJGcW9tOPXSWrd6tqD8i9TxR1+X59MxVw1Qc5cJvqvzAVBb1CWwwMaaZs 1tJAU0C+1G02UNaDw+xGI7iR6N+5fslj07/xdlKrTJHzlwxl70aOWqrLFPUm9p2dfi95tc 5Bi9IRZyHXs+e5iznopX7r17LcWjrDMOulbp6s4GLtr9iU4Gt3koZE42ISEOMOHTwcHe/8 4gq/Ik1lMi4KN8416+igJOinZ46JIMwedx3S85xOM4yB41jvX4Tt6xpWDgwA/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="C84uFjJ/"; dmarc=pass (policy=none) header.from=gnu.org; 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: -4.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="C84uFjJ/"; dmarc=pass (policy=none) header.from=gnu.org; 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: 119561DA57 X-Spam-Score: -4.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: bFa6hy/TdFcx --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Luis Felipe skribis: > From ad0effaab60acdb7bd0e533bd544b49a4bee8a2b Mon Sep 17 00:00:00 2001 > From: Luis Felipe > Date: Sat, 19 Nov 2022 08:21:04 -0500 > Subject: [PATCH] website: Link to the new packages browser. > > Update all package-related links to point to the newly deployed browser > at https://packages.guix.gnu.org/. > > * website/apps/base/utils.scm (packages-url): New procedure. > * website/apps/base/data.scm (contact-media): Use packages-url. > * website/apps/base/templates/components.scm (navbar): Likewise. > * website/apps/base/templates/contribute.scm (contribute-t): Likewise. > * website/apps/base/templates/donate.scm (donate-t): Likewise. > * website/apps/base/templates/home.scm (home-t): Likewise. Awesome, pushed! While we=E2=80=99re at it, can we also disable individual package page generation? It takes a lot of time to build and uses quite a lot of space as well; I=E2=80=99m eager to see them go. :-) Maybe we can add a redirect from pages like this: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/hydra/modules/sysadmin/nginx.scm b/hydra/modules/sysadmin/nginx.scm index 3c3456d..0a8b1a8 100644 --- a/hydra/modules/sysadmin/nginx.scm +++ b/hydra/modules/sysadmin/nginx.scm @@ -75,6 +75,13 @@ synonymous IETF language tags that should be mapped to the same $lang." (define guix.gnu.org-redirect-locations (list + (nginx-location-configuration + (uri "~ /packages/.*") + (body (list "return 301 https://packages.guix.gnu.org"))) + (nginx-location-configuration + (uri "~ /([^/]+)/packages/.*") + (body (list "return 301 https://packages.guix.gnu.org"))) + ;; Short URL for the installation script (redirect "/install.sh" "https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh") ;; What follows is a list of redirects for URLs that used to be --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable If we=E2=80=99re serious about it, we can try to match the package/version = in URLs like and redirect to the right one. Not sure if that=E2=80=99s worth the trouble though. Thanks! Ludo=E2=80=99. --=-=-=--