[Bps-public-commit] RT-Extension-rt_cpan_org branch, master, updated. 6ba80024ab43197f3c2399ddc68d20fcb668148e

Ruslan Zakirov ruz at bestpractical.com
Thu Jun 3 19:54:21 EDT 2010


The branch, master has been updated
       via  6ba80024ab43197f3c2399ddc68d20fcb668148e (commit)
       via  472adc0d11414b6e9c59f083179b6692f7544a70 (commit)
      from  19fc6fe9f68eb46b331becac3533a6b4dc64310c (commit)

Summary of changes:
 bin/pull-live |   25 +++++++++++++++++--------
 1 files changed, 17 insertions(+), 8 deletions(-)

- Log -----------------------------------------------------------------
commit 472adc0d11414b6e9c59f083179b6692f7544a70
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Fri Jun 4 03:37:56 2010 +0400

    update pull script with 3.8 code

diff --git a/bin/pull-live b/bin/pull-live
index 6bd23cc..8ad1240 100644
--- a/bin/pull-live
+++ b/bin/pull-live
@@ -12,14 +12,16 @@ sub skip($);
 
 my $perl = $ENV{'PERL'} = '/home/rtcpan/perl/bin/perl';
 
-my $root = $ENV{'RTHOME'} = "/home/rtcpan/rt3";
+my $root = $ENV{'RTHOME'} = "/home/rtcpan/rt38";
 
 my $rt_opts =
      " --prefix=$root"
     ." --with-db-type=mysql"
     ." --with-db-host=''" # connect via socket
     ." --with-db-port=3307"
-    ." --with-db-database=rt_cpan_org"
+    ." --with-db-database=rt_cpan_org_38"
+    ." --disable-gpg"
+    ." --with-web-handler=fastcgi-server"
     ." --with-web-user=rtcpan"
     ." --with-web-group=rtcpan";
 
@@ -36,6 +38,7 @@ my @UPDATE = qw{
     RT-Extension-QuickDelete
     RT-Extension-ReportSpam
     RT-Authen-OpenID
+    RT-Extension-Utils
     CPAN2RT
 };
 
@@ -50,6 +53,7 @@ my %REPOS = (
     'RT-Extension-QuickDelete' => 'svn://svn.bestpractical.com/RT-Extension-QuickDelete/',
     'RT-Extension-rt_cpan_org' => 'svn://svn.bestpractical.com/RT-Extension-rt_cpan_org/',
     'RT-Extension-ReportSpam'  => 'svn://svn.bestpractical.com/RT-Extension-ReportSpam/',
+    'RT-Extension-Utils'       => 'git://github.com/bestpractical/rt-extension-utils.git',
 );
 
 my $tmp_dir = tempdir( CLEAN => 1 )
@@ -61,7 +65,7 @@ unless ( skip 'RT' ) {
     my $repo = 'git://github.com/bestpractical/rt.git';
     ($_ = `git clone $repo`)
         or !$? or die "$_\n\nCouldn't export repo";
-    ($_ = `cd rt && git checkout origin/3.6-trunk && sh ./configure.ac $rt_opts && sudo make upgrade`)
+    ($_ = `cd rt && git checkout origin/3.8-trunk && sh ./configure.ac $rt_opts && sudo make install`)
         or !$? or die "$_\n\nCouldn't upgrade RT";
 }
 
@@ -89,13 +93,18 @@ foreach my $module (@UPDATE) {
 }
 
 # adjust bugs-per-dist.data and queue-addresses
-foreach my $path (qw(/local/html/Public/bugs-per-dist.data /local/html/NoAuth/cpan)) {
+foreach my $path (qw(/local/plugins/RT-Extension-rt_cpan_org/html/Public/bugs-per-dist.data /local/plugins/RT-Extension-rt_cpan_org/html/NoAuth/cpan)) {
     my $f = $root . $path;
     `touch $f` unless -e $f;
     ($_ = `chown -R rtcpan:rtcpan $f`)
         or !$? or die "$_\n\nCouldn't change owner of '$f'";
 }
 
+# clean mason cache
+($_ = `rm -fr $root/var/mason_data/obj/`)
+    or !$? or die "$_\n\nCouldn't clean mason cache";
+
+
 exit 0;
 
 sub skip($) {

commit 6ba80024ab43197f3c2399ddc68d20fcb668148e
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Fri Jun 4 03:54:21 2010 +0400

    moved to git

diff --git a/bin/pull-live b/bin/pull-live
index 8ad1240..5699e95 100644
--- a/bin/pull-live
+++ b/bin/pull-live
@@ -43,15 +43,15 @@ my @UPDATE = qw{
 };
 
 my %REPOS = (
-    'CPAN2RT'                  => 'svn://svn.bestpractical.com/CPAN2RT/',
+    'CPAN2RT'                  => 'git://github.com/bestpractical/cpan2rt/',
     'RT-Authen-Bitcard'        => 'svn://svn.bestpractical.com/RT-Authen-Bitcard/',
     'RT-Authen-OpenID'         => 'svn://svn.bestpractical.com/RT-Authen-OpenID/',
     'RT-Authen-PAUSE'          => 'svn://svn.bestpractical.com/RT-Authen-PAUSE/',
-    'RT-BugTracker'            => 'svn://svn.bestpractical.com/RT-BugTracker/',
-    'RT-BugTracker-Public'     => 'svn://svn.bestpractical.com/RT-BugTracker-Public/',
+    'RT-BugTracker'            => 'git://github.com/bestpractical/rt-bugtracker/',
+    'RT-BugTracker-Public'     => 'git://github.com/bestpractical/rt-bugtracker-public/',
     'RT-Extension-MergeUsers'  => 'git://github.com/bestpractical/rt-extension-mergeusers.git',
     'RT-Extension-QuickDelete' => 'svn://svn.bestpractical.com/RT-Extension-QuickDelete/',
-    'RT-Extension-rt_cpan_org' => 'svn://svn.bestpractical.com/RT-Extension-rt_cpan_org/',
+    'RT-Extension-rt_cpan_org' => 'git://github.com/bestpractical/rt-extension-rt_cpan_org/',
     'RT-Extension-ReportSpam'  => 'svn://svn.bestpractical.com/RT-Extension-ReportSpam/',
     'RT-Extension-Utils'       => 'git://github.com/bestpractical/rt-extension-utils.git',
 );

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



More information about the Bps-public-commit mailing list