[Rt-commit] r5538 - in Test-Chimps/branches/dbi: bin
zev at bestpractical.com
zev at bestpractical.com
Thu Jul 6 15:36:57 EDT 2006
Author: zev
Date: Thu Jul 6 15:36:57 2006
New Revision: 5538
Modified:
Test-Chimps/branches/dbi/ (props changed)
Test-Chimps/branches/dbi/bin/yaml2dbi.pl
Log:
r11361 at galvatron: zev | 2006-07-05 23:40:01 -0400
conversion script works
Modified: Test-Chimps/branches/dbi/bin/yaml2dbi.pl
==============================================================================
--- Test-Chimps/branches/dbi/bin/yaml2dbi.pl (original)
+++ Test-Chimps/branches/dbi/bin/yaml2dbi.pl Thu Jul 6 15:36:57 2006
@@ -81,12 +81,23 @@
delete $params->{author};
}
-# if ($report->{project} eq 'BTDT') {
-# $report->{project} = 'Hiveminder';
-# }
+ if ($params->{project} eq 'BTDT') {
+ $params->{project} = 'Hiveminder';
+ }
+
+ if ($params->{project} eq 'trunk') {
+ if ($params->{revision} > 1750) {
+ $params->{project} = 'SVK-Trunk';
+ } else {
+ $params->{project} = 'Jifty';
+ }
+ }
+
+ if ($params->{project} eq '1.0-releng') {
+ $params->{project} = 'SVK-Releng';
+ }
-# if ($report->{project} eq 'trunk') {
-# $report->{project} = '
-
+ $params->{project} =~ s/^\l(.)/\u$1/;
+
$rec->create(%$params);
}
More information about the Rt-commit
mailing list