From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sA6CIxLq5WDzAwAAgWs5BA (envelope-from ) for ; Wed, 07 Jul 2021 19:53:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gAofHxLq5WDjOgAAbx9fmQ (envelope-from ) for ; Wed, 07 Jul 2021 17:53:22 +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 EAC9A25ACE for ; Wed, 7 Jul 2021 19:53:21 +0200 (CEST) Received: from localhost ([::1]:49422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1Bjc-000695-Kd for larch@yhetil.org; Wed, 07 Jul 2021 13:53:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1BjL-000661-56 for guix-patches@gnu.org; Wed, 07 Jul 2021 13:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41842) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1BjK-0001O1-CS for guix-patches@gnu.org; Wed, 07 Jul 2021 13:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1BjK-0005pR-8D for guix-patches@gnu.org; Wed, 07 Jul 2021 13:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49431] [PATCH maintenance.git] nginx: berlin: Redirect old video URLs for each language. Resent-From: Luis Felipe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 07 Jul 2021 17:53:02 +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 X-Debbugs-Original-Cc: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162568033122342 (code B ref -1); Wed, 07 Jul 2021 17:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jul 2021 17:52:11 +0000 Received: from localhost ([127.0.0.1]:53388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1BiV-0005oI-0C for submit@debbugs.gnu.org; Wed, 07 Jul 2021 13:52:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:34824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1BiQ-0005o8-NY for submit@debbugs.gnu.org; Wed, 07 Jul 2021 13:52:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1BiQ-0004iO-51 for guix-patches@gnu.org; Wed, 07 Jul 2021 13:52:06 -0400 Received: from mail-0201.mail-europe.com ([51.77.79.158]:44177) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1BiN-0001J4-Qj for guix-patches@gnu.org; Wed, 07 Jul 2021 13:52:05 -0400 Date: Wed, 07 Jul 2021 17:51:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1625680315; bh=1WhjKvkONlZpmGO0LPGaZv4/22OJNm8qgkHP1DId9EE=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=GPzQE93kb/iDkiVJCh7z+IyRruggHtf4rptDivE21O9bMEFlfb0sgVB0UWkeczise KVMm81Z4ZUmbXh47qYr046ZzDR/3VH/bWg0IBfy3BJNM6xcF7BfOzaiao2A5Tt2cCI NAQid5G72ht3ai+KCZVWoxKSAcqDu0bO3JlyvEko= Message-ID: In-Reply-To: <20210706065304.6kqbwqlcf6calkh7@pelzflorian.localdomain> References: <20210706065304.6kqbwqlcf6calkh7@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=51.77.79.158; envelope-from=luis.felipe.la@protonmail.com; helo=mail-0201.mail-europe.com 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: Luis Felipe X-ACL-Warn: , Luis Felipe via Guix-patches From: Luis Felipe via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625680402; h=from:from:sender:sender:reply-to: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:dkim-signature; bh=1WhjKvkONlZpmGO0LPGaZv4/22OJNm8qgkHP1DId9EE=; b=WUfjr7Xc941OrD/du8TgPIYh38Naoo5ZAsczR3vaOLWVSOgHHmSZTayXw8nT9vFxtxm20g XlBsHhnp+HfKSbXVpe+OTESNmykXqDgW9H9jiKDXUiiuUtmuym9a3vMVAZ+kNtdmhH+zpH a5M9WbwCHFRDBUNB8BmNzOkWkRRoGH5SUgn1oL9jIJYqP7BTRWoIPSjA7syiH871CQ9AEh 3luIshA+jDwZgXGkS8XR3tB4MmL7vzGbsmLNUBvZfnx0Eee8ilwWYKWN4aLTs+QNfMg3xf uFEa4wwfz2C4wf7ff4OVN8lzI+QcJd6tTG3giDqON7qPMvTDicZGC0BGMMqJ/g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625680402; a=rsa-sha256; cv=none; b=AtX76QKtwMmTPNQod6BZWQIbtIIKgy/o9jMtsax/0PILM6njP+f0mEnKV/41MV8WibN+JJ KtByIq8ARHsFwEc1t/dwwwAboIp2m5b8560LYBggyVXmLFKQrgn4HbCdFs16E5DutBYD4U WoYlfxGjvh0jwRD9aeOyloSCAGn42ic2HUL6J/rEJiykiOri9/mdd1oYxUidVEWEnttDrA R0nVsBOtZlqZchJ5gUM7uS+YleqeIl+ltFcnPuHjttf2gYO+C3RsVW6yt4fWtjoEolI3ZS Kll/mY+VZkwhfxHu0rOzvkVM2QPaxzbzYil+puCTN4I5fFqoTwjqVG+ETyp/4g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=GPzQE93k; 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=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=GPzQE93k; 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: EAC9A25ACE X-Spam-Score: -2.91 X-Migadu-Scanner: scn1.migadu.com X-TUID: fuefLFmQaCqv Hi Florian, On Tuesday, July 6th, 2021 at 6:53 AM, pelzflorian (Florian Pelz) wrote: > 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/ > > but maybe the patch is too ugly because that=E2=80=99s code duplication t= o > > have three added redirections for each video. Note that my old > > videos page actually linked to > > and not > > as usual. > > Shall I push it as-is to guix/maintenance.git, > > or do you think it would be better to rewrite the redirect procedure > > to return a list to redirect every URL with suffixes > > "" > > "/" > > "/index.html" > > and change guix.gnu.org-locations accordingly to flatten the location > > list? I took a look at the patch, but I'm not familiar with the server-side of th= ings, so there's not much I can say except that I trust your judgement on t= his :) Thanks for taking care of it.