git://git.exim.org
/
buildfarm-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cd7cd05
)
add support for keeping SCM type
author
Andrew Dunstan
<andrew@dunslane.net>
Fri, 12 Mar 2010 14:49:55 +0000
(14:49 +0000)
committer
Andrew Dunstan
<andrew@dunslane.net>
Fri, 12 Mar 2010 14:49:55 +0000
(14:49 +0000)
cgi-bin/pgstatus.pl
patch
|
blob
|
history
diff --git
a/cgi-bin/pgstatus.pl
b/cgi-bin/pgstatus.pl
index 1fe9e7f017d259011e6d03ae1b43af75c25519be..41d5c331d4408b12f4746a47a6472f54afa47046 100755
(executable)
--- a/
cgi-bin/pgstatus.pl
+++ b/
cgi-bin/pgstatus.pl
@@
-230,13
+230,14
@@
if (@config_flags)
$config_flags = '{' . join(',',@config_flags) . '}' ;
}
$config_flags = '{' . join(',',@config_flags) . '}' ;
}
+my $scm = $client_conf->{scm} || 'cvs';
my $logst = <<EOSQL;
insert into build_status
(sysname, snapshot,status, stage, log,conf_sum, branch,
changed_this_run, changed_since_success,
my $logst = <<EOSQL;
insert into build_status
(sysname, snapshot,status, stage, log,conf_sum, branch,
changed_this_run, changed_since_success,
- log_archive_filenames , log_archive, build_flags)
- values(?,?,?,?,?,?,?,?,?,?,?,?)
+ log_archive_filenames , log_archive, build_flags
, scm
)
+ values(?,?,?,?,?,?,?,?,?,?,?,?
,?
)
EOSQL
;
$sth=$db->prepare($logst);
EOSQL
;
$sth=$db->prepare($logst);
@@
-254,6
+255,7
@@
$sth->bind_param(10,$log_file_names);
#$sth->bind_param(11,$log_archive,{ pg_type => DBD::Pg::PG_BYTEA });
$sth->bind_param(11,undef,{ pg_type => DBD::Pg::PG_BYTEA });
$sth->bind_param(12,$config_flags);
#$sth->bind_param(11,$log_archive,{ pg_type => DBD::Pg::PG_BYTEA });
$sth->bind_param(11,undef,{ pg_type => DBD::Pg::PG_BYTEA });
$sth->bind_param(12,$config_flags);
+$sth->bind_param(13,$scm);
$sth->execute;
$sth->finish;
$sth->execute;
$sth->finish;