From cffcd1139f40e95eb22cd682a6c10fba1f6a8659 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Sat, 18 Dec 2010 18:20:53 -0500 Subject: [PATCH] Add skeleton config file. --- BuildFarmWeb.pl.skel | 56 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 BuildFarmWeb.pl.skel diff --git a/BuildFarmWeb.pl.skel b/BuildFarmWeb.pl.skel new file mode 100644 index 0000000..e4d05a5 --- /dev/null +++ b/BuildFarmWeb.pl.skel @@ -0,0 +1,56 @@ + + +=comment + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +=cut + + + +use vars + qw( + $dbhost $dbname $dbuser $dbpass $dbport + $notifyapp + $all_stat $fail_stat $change_stat $green_stat + $captcha_pubkey $captcha_privkey + $template_dir + $default_host + ); + +my $base_install_dir = '/path/to/install/website'; + +$template_dir = "$base_install_dir/templates"; + +$default_host = 'foohost.pgbuildfarm.org'; + +$dbhost = undef; # undef = unix socket +$dbname = "mydb"; +$dbuser = "myuser"; +$dbpass = "mypas"; +$dbport = undef; # undef = default + +# addresses to email about new applications +$notifyapp=[qw( someone@somewhere.com )]; + +# addresses for mailing lists for status notifications + +$all_stat=['foo-status-all@somewhere.org']; +$fail_stat=['foo-status-fail@somewhere.org']; +$change_stat=['foo-status-chngs@somewhere.org']; +$green_stat=['foo-status-green@somewhere.org']; + +# minimum acceptable script versions + +$min_script_version = "99.99"; +$min_web_script_version = "99.99"; + +# captcha keys for site +$captcha_pubkey = 'foo'; +$captcha_privkey = 'bar'; + + + +1; -- 2.30.2