From d741eb3da6d4e76c867d81b2950776dc6c1e91d4 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sat, 1 Nov 2008 02:21:24 -0400 Subject: [PATCH] Add nightly shell script support; update htaccess appropriately. Signed-off-by: Edward Z. Yang --- .htaccess.in | 1 + nightly.sh | 10 ++++++++++ releases/warning.xhtml | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 nightly.sh diff --git a/.htaccess.in b/.htaccess.in index 5ac47d3..f1e2aef 100644 --- a/.htaccess.in +++ b/.htaccess.in @@ -9,6 +9,7 @@ RewriteRule (^|/)\.git/ - [F] # Old release warning rewrites RewriteCond %{REQUEST_METHOD} !=POST RewriteCond %{REQUEST_URI} !/htmlpurifier-3\.2\.0(\.|-standalone|-lite) +RewriteCond %{REQUEST_URI} !/htmlpurifier-trunk(\.|-standalone|-lite) RewriteCond %{REQUEST_URI} !/phorum-htmlpurifier-3\.0\.0\. RewriteCond %{REQUEST_URI} !\.sig$ RewriteRule ^releases/(htmlpurifier-|phorum-) releases/warning.html [N] diff --git a/nightly.sh b/nightly.sh new file mode 100644 index 0000000..ce12797 --- /dev/null +++ b/nightly.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +/home/ezyang/.bash_profile > /dev/null +cd /home/ezyang + +./mirror.sh +cd htmlpurifier.org/releases +rm htmlpurifier-trunk* +./build.sh tar trunk /home/ezyang/git.htmlpurifier.org/htmlpurifier.git +./build.sh zip trunk /home/ezyang/git.htmlpurifier.org/htmlpurifier.git diff --git a/releases/warning.xhtml b/releases/warning.xhtml index 35f57ce..38129cb 100644 --- a/releases/warning.xhtml +++ b/releases/warning.xhtml @@ -25,7 +25,7 @@ by HTML Purifier (usually the HTML Purifier library itself). While we keep these versions publically available through this releases/ directory as well as the - Subversion repository, + Git repository, usage of these old versions is strongly discouraged, as they are unsupported and may contain critical bugs or security problems.

-- 2.11.4.GIT