[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.7-794-g64bb6c1

Chia-liang Kao clkao at bestpractical.com
Fri Dec 10 07:47:56 EST 2010


The branch, 3.9-trunk has been updated
       via  64bb6c12318c2180b50aba64c87a7a69e7abfe4f (commit)
       via  9413a0a594afec815f7506117cc0325232548a22 (commit)
      from  f35699355a69f07fc1ef2f3345b89ce2fa73ad11 (commit)

Summary of changes:
 docs/web_deployment.pod                   |    4 ++++
 sbin/rt-test-dependencies.in              |    2 +-
 t/data/configs/apache2.2+mod_perl.conf.in |    5 +++++
 3 files changed, 10 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 9413a0a594afec815f7506117cc0325232548a22
Author: Chia-liang Kao <clkao at bestpractical.com>
Date:   Fri Dec 10 20:12:34 2010 +0800

    bump test::builder requirement for is_passing

diff --git a/sbin/rt-test-dependencies.in b/sbin/rt-test-dependencies.in
index 51bfb02..6e5a0b9 100755
--- a/sbin/rt-test-dependencies.in
+++ b/sbin/rt-test-dependencies.in
@@ -273,7 +273,7 @@ Test::Deep 0 # needed for shredder tests
 String::ShellQuote 0 # needed for gnupg-incoming.t
 Log::Dispatch::Perl
 Test::Warn
-Test::Builder 0.77 # needed to fix TODO test
+Test::Builder 0.90 # needed for is_passing
 Test::MockTime
 Log::Dispatch::Perl
 Web::Scraper

commit 64bb6c12318c2180b50aba64c87a7a69e7abfe4f
Author: Chia-liang Kao <clkao at bestpractical.com>
Date:   Fri Dec 10 20:47:20 2010 +0800

    document about mod_perl preload section

diff --git a/docs/web_deployment.pod b/docs/web_deployment.pod
index 3209b22..63cf514 100644
--- a/docs/web_deployment.pod
+++ b/docs/web_deployment.pod
@@ -134,6 +134,10 @@ it knows where to find RT:
             PerlResponseHandler Plack::Handler::Apache2
             PerlSetVar psgi_app /opt/rt4/sbin/rt-server
         </Directory>
+    <Perl>
+        use Plack::Handler::Apache2;
+        Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
+    </Perl>
     </VirtualHost>
 
 =head2 FastCGI
diff --git a/t/data/configs/apache2.2+mod_perl.conf.in b/t/data/configs/apache2.2+mod_perl.conf.in
index b30c9d2..ce5fb29 100644
--- a/t/data/configs/apache2.2+mod_perl.conf.in
+++ b/t/data/configs/apache2.2+mod_perl.conf.in
@@ -40,3 +40,8 @@ DocumentRoot "%%DOCUMENT_ROOT%%"
     PerlSetEnv RT_TESTING 1
 </Directory>
 
+<Perl>
+    use Plack::Handler::Apache2;
+    Plack::Handler::Apache2->preload("%%RT_SBIN_PATH%%/rt-server");
+</Perl>
+

-----------------------------------------------------------------------


More information about the Rt-commit mailing list