Add skeleton config file.
[buildfarm-server.git] / BuildFarmWeb.pl.skel
1
2
3 =comment
4
5 Copyright (c) 2003-2010, Andrew Dunstan
6
7 See accompanying License file for license details
8
9 =cut 
10
11
12
13 use vars 
14     qw(
15        $dbhost $dbname $dbuser $dbpass $dbport
16        $notifyapp
17        $all_stat $fail_stat $change_stat $green_stat
18        $captcha_pubkey $captcha_privkey
19        $template_dir
20        $default_host
21        );
22
23 my $base_install_dir = '/path/to/install/website';
24
25 $template_dir = "$base_install_dir/templates";
26
27 $default_host = 'foohost.pgbuildfarm.org';
28
29 $dbhost = undef; # undef = unix socket
30 $dbname = "mydb";
31 $dbuser = "myuser";
32 $dbpass = "mypas";
33 $dbport = undef; # undef = default
34
35 # addresses to email about new applications
36 $notifyapp=[qw( someone@somewhere.com )];
37
38 # addresses for mailing lists for status notifications
39
40 $all_stat=['foo-status-all@somewhere.org'];
41 $fail_stat=['foo-status-fail@somewhere.org'];
42 $change_stat=['foo-status-chngs@somewhere.org'];
43 $green_stat=['foo-status-green@somewhere.org'];
44
45 # minimum acceptable script versions
46
47 $min_script_version = "99.99";
48 $min_web_script_version = "99.99";
49
50 # captcha keys for site
51 $captcha_pubkey = 'foo';
52 $captcha_privkey = 'bar';
53
54
55
56 1;