[Collab-qa-commits] r790 - svnbuildstat/trunk/script

goneri-guest at alioth.debian.org goneri-guest at alioth.debian.org
Wed Apr 16 16:40:51 UTC 2008


Author: goneri-guest
Date: 2008-04-16 16:40:50 +0000 (Wed, 16 Apr 2008)
New Revision: 790

Modified:
   svnbuildstat/trunk/script/svnbuildstat_import-new-report.pl
   svnbuildstat/trunk/script/svnbuildstat_tarball.pl
   svnbuildstat/trunk/script/svnbuildstat_update-bugs.pl
   svnbuildstat/trunk/script/svnbuildstat_update-db.pl
   svnbuildstat/trunk/script/svnbuildstat_update-repository.pl
   svnbuildstat/trunk/script/svnbuildstat_watchfile.pl
   svnbuildstat/trunk/script/svnbuildstat_www_test.pl
Log:
actually I move the config file in ~/.svnbuildstat.ini

Modified: svnbuildstat/trunk/script/svnbuildstat_import-new-report.pl
===================================================================
--- svnbuildstat/trunk/script/svnbuildstat_import-new-report.pl	2008-04-16 16:14:41 UTC (rev 789)
+++ svnbuildstat/trunk/script/svnbuildstat_import-new-report.pl	2008-04-16 16:40:50 UTC (rev 790)
@@ -14,7 +14,7 @@
 use SvnBuildStat::Schema;
 
 use Data::Dumper;
-my $cfg = Config::IniFiles->new( -file => "../svnbuildstat.ini" ) or die "Can't load config file";
+my $cfg = Config::IniFiles->new( -file => $ENV{HOME}."/.svnbuildstat.ini" ) or die "Can't load config file";
 my $schema = SvnBuildStat::Schema->connect(
   $cfg->val('db', 'dsn'),
   $cfg->val('db', 'user'),

Modified: svnbuildstat/trunk/script/svnbuildstat_tarball.pl
===================================================================
--- svnbuildstat/trunk/script/svnbuildstat_tarball.pl	2008-04-16 16:14:41 UTC (rev 789)
+++ svnbuildstat/trunk/script/svnbuildstat_tarball.pl	2008-04-16 16:40:50 UTC (rev 790)
@@ -11,7 +11,7 @@
 use LWP::Simple;
 use File::Copy;
 
-my $cfg = Config::IniFiles->new( -file => "../svnbuildstat.ini" ) or die "Can't load config file";
+my $cfg = Config::IniFiles->new( -file => $ENV{HOME}."/.svnbuildstat.ini" ) or die "Can't load config file";
 my $schema = SvnBuildStat::Schema->connect(
         $cfg->val('db', 'dsn'),
         $cfg->val('db', 'user'),

Modified: svnbuildstat/trunk/script/svnbuildstat_update-bugs.pl
===================================================================
--- svnbuildstat/trunk/script/svnbuildstat_update-bugs.pl	2008-04-16 16:14:41 UTC (rev 789)
+++ svnbuildstat/trunk/script/svnbuildstat_update-bugs.pl	2008-04-16 16:40:50 UTC (rev 790)
@@ -12,7 +12,7 @@
 use SvnBuildStat::Schema;
 
 
-my $cfg = Config::IniFiles->new( -file => "../svnbuildstat.ini" ) or die "Can't load config file";
+my $cfg = Config::IniFiles->new( -file => $ENV{HOME}."/.svnbuildstat.ini" ) or die "Can't load config file";
 my $schema = SvnBuildStat::Schema->connect(
   $cfg->val('db', 'dsn'),
   $cfg->val('db', 'user'),

Modified: svnbuildstat/trunk/script/svnbuildstat_update-db.pl
===================================================================
--- svnbuildstat/trunk/script/svnbuildstat_update-db.pl	2008-04-16 16:14:41 UTC (rev 789)
+++ svnbuildstat/trunk/script/svnbuildstat_update-db.pl	2008-04-16 16:40:50 UTC (rev 790)
@@ -223,7 +223,7 @@
 }
 
 
-$cfg = Config::IniFiles->new( -file => "../svnbuildstat.ini" ) or die "Can't load config file";
+$cfg = Config::IniFiles->new( -file => $ENV{HOME}."/.svnbuildstat.ini" ) or die "Can't load config file";
 $schema = SvnBuildStat::Schema->connect(
   $cfg->val('db', 'dsn'),
   $cfg->val('db', 'user'),

Modified: svnbuildstat/trunk/script/svnbuildstat_update-repository.pl
===================================================================
--- svnbuildstat/trunk/script/svnbuildstat_update-repository.pl	2008-04-16 16:14:41 UTC (rev 789)
+++ svnbuildstat/trunk/script/svnbuildstat_update-repository.pl	2008-04-16 16:40:50 UTC (rev 790)
@@ -19,7 +19,7 @@
 #use DBIx::Class::QueryLog;
 #use DBIx::Class::QueryLog::Analyzer;
 
-my $cfg = Config::IniFiles->new( -file => "../svnbuildstat.ini" ) or die "Can't load config file";
+my $cfg = Config::IniFiles->new( -file => $ENV{HOME}."/.svnbuildstat.ini" ) or die "Can't load config file";
 
 my $debmirror = $cfg->val('path', 'debmirror');
 my $repositorydir = $cfg->val('path', 'repositorydir');

Modified: svnbuildstat/trunk/script/svnbuildstat_watchfile.pl
===================================================================
--- svnbuildstat/trunk/script/svnbuildstat_watchfile.pl	2008-04-16 16:14:41 UTC (rev 789)
+++ svnbuildstat/trunk/script/svnbuildstat_watchfile.pl	2008-04-16 16:40:50 UTC (rev 790)
@@ -14,7 +14,7 @@
     exit 1;
 }
 
-my $cfg = Config::IniFiles->new( -file => "../svnbuildstat.ini" ) or die "Can't load config file";
+my $cfg = Config::IniFiles->new( -file => $ENV{HOME}."/.svnbuildstat.ini" ) or die "Can't load config file";
 my $schema = SvnBuildStat::Schema->connect(
   $cfg->val('db', 'dsn'),
   $cfg->val('db', 'user'),

Modified: svnbuildstat/trunk/script/svnbuildstat_www_test.pl
===================================================================
--- svnbuildstat/trunk/script/svnbuildstat_www_test.pl	2008-04-16 16:14:41 UTC (rev 789)
+++ svnbuildstat/trunk/script/svnbuildstat_www_test.pl	2008-04-16 16:40:50 UTC (rev 790)
@@ -6,7 +6,7 @@
 use Pod::Usage;
 use FindBin;
 use lib "$FindBin::Bin/../lib";
-use Catalyst::Test 'SvnBuildStat::WWW';
+use Catalyst::Test 'SvnBuildStat';
 
 my $help = 0;
 




More information about the Collab-qa-commits mailing list