[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#924888: Debian RT - Add redirections for www.debian.org/misc/ pages, and group all of them



Hello DSA

We're finishing the process of removing the /misc folder in www.debian.org.
Attached you can find a patch for dsa-puppet adding a redirection to
avoid broken links and to guide people to the new place of each content.

More details about this in bug #924888

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924888

Thanks
--
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
>From d57d5f39f82f5d0d241d4059598c9322516bf567 Mon Sep 17 00:00:00 2001
From: Laura Arjona Reina <larjona@debian.org>
Date: Thu, 18 Jul 2019 13:10:43 +0200
Subject: [PATCH] Add redirects for all the /misc section, and group all the
 redirects related to /misc

---
 modules/roles/templates/apache-www.debian.org.erb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/modules/roles/templates/apache-www.debian.org.erb b/modules/roles/templates/apache-www.debian.org.erb
index e0fb2c65..f97aab76 100644
--- a/modules/roles/templates/apache-www.debian.org.erb
+++ b/modules/roles/templates/apache-www.debian.org.erb
@@ -144,8 +144,6 @@
    RedirectPermanent /SPI https://www.spi-inc.org
 #   RedirectPermanent /OpenHardware http://www.openhardware.org
    RedirectPermanent /OpenSource https://opensource.org
-   RedirectPermanent /misc/bsd.license https://opensource.org/licenses/BSD-3-Clause
-
    RedirectPermanent /Bugs/db/ix/pseudopackages.html /Bugs/pseudo-packages
    RewriteEngine on
    RewriteRule ^/Bugs/db/pa/l([^/]+).html$ https://bugs.debian.org/$1
@@ -178,6 +176,11 @@
    RedirectPermanent /ports/laptops /misc/laptops/
    RedirectPermanent /misc/README.mirrors /mirror/list
    RedirectPermanent /misc/README.non-US /mirror/list.non-US
+   RedirectPermanent /misc/awards /News/awards
+   RedirectPermanent /misc/bsd.license https://opensource.org/licenses/BSD-3-Clause
+   RedirectPermanent /misc/laptops https://wiki.debian.org/InstallingDebianOn
+   RedirectPermanent /misc/memberships /intro/organization#memberships
+   RedirectPermanent /misc/merchandise /events/merchandise
    RedirectPermanent /intl /international
    RedirectPermanent /ports/armel  /ports/arm
    RedirectPermanent /ports/armhf  /ports/arm
-- 
2.20.1


Reply to: