From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yMbVCYED52AJmwAAgWs5BA (envelope-from ) for ; Thu, 08 Jul 2021 15:54:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6O6gBYED52CffgAAB5/wlQ (envelope-from ) for ; Thu, 08 Jul 2021 13:54:09 +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 3BE1E31D19 for ; Thu, 8 Jul 2021 15:54:08 +0200 (CEST) Received: from localhost ([::1]:33696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1UTe-0006gA-Nc for larch@yhetil.org; Thu, 08 Jul 2021 09:54:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1UTa-0006ft-6U for guix-patches@gnu.org; Thu, 08 Jul 2021 09:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43196) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1UTZ-00050K-VO for guix-patches@gnu.org; Thu, 08 Jul 2021 09:54:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1UTZ-0005fr-Vm for guix-patches@gnu.org; Thu, 08 Jul 2021 09:54:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49431] [PATCH maintenance.git] nginx: berlin: Redirect old video URLs for each language. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Jul 2021 13:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49431 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "pelzflorian (Florian Pelz)" Cc: 49431@debbugs.gnu.org, Luis Felipe Received: via spool by 49431-submit@debbugs.gnu.org id=B49431.162575240621760 (code B ref 49431); Thu, 08 Jul 2021 13:54:01 +0000 Received: (at 49431) by debbugs.gnu.org; 8 Jul 2021 13:53:26 +0000 Received: from localhost ([127.0.0.1]:54742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1USz-0005eu-TP for submit@debbugs.gnu.org; Thu, 08 Jul 2021 09:53:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1USy-0005eh-Ds for 49431@debbugs.gnu.org; Thu, 08 Jul 2021 09:53:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38122) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1USr-0004kh-Ve; Thu, 08 Jul 2021 09:53:17 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42850 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1USr-0001fG-O7; Thu, 08 Jul 2021 09:53:17 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210706065304.6kqbwqlcf6calkh7@pelzflorian.localdomain> Date: Thu, 08 Jul 2021 15:53:16 +0200 In-Reply-To: <20210706065304.6kqbwqlcf6calkh7@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Tue, 6 Jul 2021 08:53:04 +0200") Message-ID: <87a6mwlxo3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625752448; 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: content-transfer-encoding:content-transfer-encoding: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; bh=k9petnIWM3ris9hTiHl5XbweZueVbZb8p003Jc4EGlw=; b=jqHcmaPLeDpe4jY1yC4dSw0U08eWWZzkgPR2XbjYJzJvrIQUlY+BxXCoBtZPaoL3nnWtsZ d1R72r09k24yNcziDrqCoFIJbnbz7FRHq4ePs8YV1XULfyl7dGBWc74PNxaArO5v0H4OKT W+PD/fMxOf7g/yjQQP1KHWhSxPVw23iB8pL1/IYvnr/eC/+0UxPJOE9GKRjffLsPQSyHzu 0x2UfFgiffS541stYUugj+LQvH4EiD6A1qSYQV1xHVsl22obCZLqPbHpuc4TNd0x4qcFkn 3ja9fOg3CFqTRwYcUM/19FARsOxSqBRRdWkf9K8L1NsjOXNTNVJJlWye66Xj4A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625752448; a=rsa-sha256; cv=none; b=NZbF5hNpNB+UwZSDq32E8zcCBLlfUsc+zpWCqUyHmqZ191iUdZW46BShGfdVN+I4DoZmio 3SD6sSp3l/hnrH8v1Dla+x3ut32AF1MOmMw5PHpTVdOUqXh5dNF0b8gxOopkaTmZIOwqPj fpGidA022qPDQHQNdQ2mIh7sUV3l2g7azLfGs6NtbBxyI/lgOtLppqx8+FSGwCl8ivIhQ7 d/Es4ZPF1rg8YldObMXmuutxTRRBJ5wcoQVSNEY4Wv0GqXBlXHR+N6MpXtxtyChdurSvTV GbYdO//AvefgWRqUHeF2QUqYsRVc+L/zPw4u1I3ogTvZwA2sgf5eta211lBXsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 3BE1E31D19 X-Spam-Score: -2.91 X-Migadu-Scanner: scn1.migadu.com X-TUID: lfYa58oOIEbz Hi, "pelzflorian (Florian Pelz)" skribis: > This patch adds redirects for the guix website from the old video URLs > like > > /LANG/videos/everyday-use-of-gnu-guix,-part-one/index.html > /LANG/videos/everyday-use-of-gnu-guix,-part-one/ > /LANG/videos/everyday-use-of-gnu-guix,-part-one > > to the new > > /LANG/videos/2020/everyday-use-of-gnu-guix-part-one/ [...] >>>From d52a189332aa014f9da88fa1ce1e38ffc107fa3b Mon Sep 17 00:00:00 2001 > From: Florian Pelz > Date: Sun, 4 Jul 2021 14:46:39 +0200 > Subject: [PATCH] nginx: berlin: Redirect old video URLs for each language. > > * hydra/nginx/berlin.scm (languages-to-accept): New list. Move here > the languages list from ... > (%extra-content) ... here. Use languages from 'languages-to-accept'. > (guix.gnu.org-redirect-locations-for-lang): New procedure. Add > new video redirections. > (guix.gnu.org-redirect-locations): New list. Move here the > old redirections. Update old video redirections. > (guix.gnu.org-other-locations): New list. Move here the other nginx > locations from ... > (guix.gnu.org-locations): ... here. Reimplement in terms of the above. [...] > (redirect "/screenshots/xfce" "/$lang/screenshots/xfce/") > (redirect "/security" "/$lang/security/") > (redirect "/videos" "/$lang/videos/") > - (redirect "/videos/asking-for-help" "/$lang/videos/asking-for-help/") > - (redirect "/videos/everyday-use-of-gnu-guix,-part-one" "/$lang/videos= /everyday-use-of-gnu-guix,-part-one/") > - (redirect "/videos/everyday-use-of-gnu-guix,-part-two" "/$lang/videos= /everyday-use-of-gnu-guix,-part-two/") > - (redirect "/videos/installation-from-script" "/$lang/videos/installat= ion-from-script/") > - (redirect "/videos/packaging,-part-one" "/$lang/videos/packaging,-par= t-one/") > - (redirect "/videos/packaging,-part-two" "/$lang/videos/packaging,-par= t-two/") > - (redirect "/videos/packaging,-part-three" "/$lang/videos/packaging,-p= art-three/") > - > + (redirect "/videos/asking-for-help" "/$lang/videos/2020/asking-for-he= lp/") > + (redirect "/videos/everyday-use-of-gnu-guix,-part-one" "/$lang/videos= /2020/everyday-use-of-gnu-guix-part-one/") > + (redirect "/videos/everyday-use-of-gnu-guix,-part-two" "/$lang/videos= /2020/everyday-use-of-gnu-guix-part-two/") > + (redirect "/videos/installation-from-script" "/$lang/videos/2020/inst= allation-from-script/") > + (redirect "/videos/packaging,-part-one" "/$lang/videos/2020/packaging= -part-one/") > + (redirect "/videos/packaging,-part-two" "/$lang/videos/2020/packaging= -part-two/") > + (redirect "/videos/packaging,-part-three" "/$lang/videos/2020/packagi= ng-part-three/"))) Shouldn=E2=80=99t we also redirect /$lang/videos/everyday-use-of-gnu-guix,-part-one/ -> /$lang/videos/2020/e= veryday-use-of-gnu-guix-part-one/ since the left-hand side here was the right-hand side of the previous redirects? Anyway, at first sight it LGTM! Thanks, Ludo=E2=80=99.