[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible: add new redirect: rb.d.n/$suite/amd64/$PKG → rb.d.n/$suite/amd64/rb-pkg/$PKG.html

Holger Levsen holger at moszumanska.debian.org
Tue Mar 17 21:48:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit f648319549a56a7b664c309ad9aa91fde7f6f929
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Mar 17 22:46:05 2015 +0100

    reproducible: add new redirect: rb.d.n/$suite/amd64/$PKG → rb.d.n/$suite/amd64/rb-pkg/$PKG.html
---
 etc/apache2/sites-available/jenkins.debian.net | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net
index db8f47f..5fa00a7 100644
--- a/etc/apache2/sites-available/jenkins.debian.net
+++ b/etc/apache2/sites-available/jenkins.debian.net
@@ -158,13 +158,20 @@ Use common-debian-service-https-redirect reproducible.debian.net
 	RewriteCond %{REQUEST_URI} ^/userContent
 	RewriteRule ^/userContent/(.*)$ /$1 [R=301,L]
 
-	# redirect rb.d.n/$PKG → rb.d.n/rb-pkg/$PKG.html
+	# redirect rb.d.n/$PKG → rb.d.n/rb-pkg/unstable/amd64/$PKG.html
 	RewriteCond %{HTTP_HOST} reproducible\.debian\.net
 	RewriteCond %{REQUEST_FILENAME} !-f
 	RewriteCond %{REQUEST_FILENAME} !-d
 	RewriteCond /var/lib/jenkins/userContent/rb-pkg/unstable/amd64/$1.html -f
 	RewriteRule ^/([a-z0-9.+-]+) /rb-pkg/unstable/amd64/$1.html [R=302,L]
 
+	# redirect rb.d.n/$suite/amd64/$PKG → rb.d.n/$suite/amd64/rb-pkg/$PKG.html
+	RewriteCond %{HTTP_HOST} reproducible\.debian\.net
+	RewriteCond %{REQUEST_FILENAME} !-f
+	RewriteCond %{REQUEST_FILENAME} !-d
+	RewriteCond /var/lib/jenkins/userContent/rb-pkg/$1/amd64/$2.html -f
+	RewriteRule ^/(unstable|testing|experimental)/amd64/([a-z0-9.+-]+) /rb-pkg/$1/amd64/$2.html [R=302,L]
+
 	# redirect rb.d.n/rb-pkg/$PKG.html → rb.d.n/rb-pkg/$suite/$arch/$PKG.html
 	RewriteCond %{HTTP_HOST} reproducible\.debian\.net
 	RewriteCond %{REQUEST_FILENAME} !-f

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list