From: Andrew Dunstan Date: Sat, 18 Dec 2010 22:56:23 +0000 (-0500) Subject: Add README Copyright and License notices, pus minor tidying. X-Git-Url: https://git.exim.org/buildfarm-server.git/commitdiff_plain/9aab6bac9c2c174a5ef8869e9b947a3917e18087?ds=sidebyside;hp=7a251a65acd9d84242e15b47fd7c01405322b2ed Add README Copyright and License notices, pus minor tidying. --- diff --git a/License b/License new file mode 100644 index 0000000..d3b5379 --- /dev/null +++ b/License @@ -0,0 +1,20 @@ +This software, the PostgreSQL Build Farm Server, is released under the terms +of the PostgreSQL License. + +Copyright (c) 2003-2010, Andrew Dunstan + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose, without fee, and without a written agreement +is hereby granted, provided that the above copyright notice and this paragraph +and the following two paragraphs appear in all copies. + +IN NO EVENT SHALL Andrew Dunstan BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, +SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING +OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF Andrew Dunstan +HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Andrew Dunstan SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, +AND Andrew Dunstan HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, +UPDATES, ENHANCEMENTS, OR MODIFICATIONS. diff --git a/README b/README new file mode 100644 index 0000000..481d073 --- /dev/null +++ b/README @@ -0,0 +1,4 @@ +This is the code to run the PostgreSQL Build Farm server. + +See License file for License and Copyright details. + diff --git a/cgi-bin/addnotes.pl b/cgi-bin/addnotes.pl index acab114..11186dd 100755 --- a/cgi-bin/addnotes.pl +++ b/cgi-bin/addnotes.pl @@ -1,5 +1,13 @@ #!/usr/bin/perl +=comment + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +=cut + use strict; use CGI; diff --git a/cgi-bin/get_bf_status_soap.pl b/cgi-bin/get_bf_status_soap.pl index 02059e7..f7772fa 100755 --- a/cgi-bin/get_bf_status_soap.pl +++ b/cgi-bin/get_bf_status_soap.pl @@ -1,6 +1,12 @@ #!/usr/bin/perl -use lib "/home/community/pgbuildfarm/lib/lib/perl5/site_perl"; +=comment + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +=cut use SOAP::Lite +trace; diff --git a/cgi-bin/pgstatus.pl b/cgi-bin/pgstatus.pl index c9b0268..52e02df 100755 --- a/cgi-bin/pgstatus.pl +++ b/cgi-bin/pgstatus.pl @@ -1,5 +1,13 @@ #!/usr/bin/perl +=comment + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +=cut + use strict; use vars qw($dbhost $dbname $dbuser $dbpass $dbport diff --git a/cgi-bin/register-form.pl b/cgi-bin/register-form.pl index cf4621a..91d0826 100755 --- a/cgi-bin/register-form.pl +++ b/cgi-bin/register-form.pl @@ -1,5 +1,13 @@ #!/usr/bin/perl +=comment + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +=cut + use strict; use Template; use Captcha::reCAPTCHA; diff --git a/cgi-bin/register.pl b/cgi-bin/register.pl index 37290f8..5b1ce0a 100755 --- a/cgi-bin/register.pl +++ b/cgi-bin/register.pl @@ -1,5 +1,13 @@ #!/usr/bin/perl +=comment + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +=cut + use strict; use DBI; use Template; diff --git a/cgi-bin/show_history.pl b/cgi-bin/show_history.pl index b55c381..288183d 100755 --- a/cgi-bin/show_history.pl +++ b/cgi-bin/show_history.pl @@ -1,5 +1,13 @@ #!/usr/bin/perl +=comment + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +=cut + use strict; use DBI; use Template; diff --git a/cgi-bin/show_log.pl b/cgi-bin/show_log.pl index 21c6ec5..b2c5646 100755 --- a/cgi-bin/show_log.pl +++ b/cgi-bin/show_log.pl @@ -1,5 +1,13 @@ #!/usr/bin/perl +=comment + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +=cut + use strict; use DBI; use Template; diff --git a/cgi-bin/show_members.pl b/cgi-bin/show_members.pl index f6fb396..d45acd6 100755 --- a/cgi-bin/show_members.pl +++ b/cgi-bin/show_members.pl @@ -1,15 +1,20 @@ #!/usr/bin/perl +=comment + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +=cut + use strict; use CGI; use DBI; use Template; - - use vars qw($dbhost $dbname $dbuser $dbpass $dbport $template_dir $sort_by); - require "$ENV{BFConfDir}/BuildFarmWeb.pl"; #require "BuildFarmWeb.pl"; diff --git a/cgi-bin/show_stage_log.pl b/cgi-bin/show_stage_log.pl index 539d5a1..7fd6438 100755 --- a/cgi-bin/show_stage_log.pl +++ b/cgi-bin/show_stage_log.pl @@ -1,5 +1,13 @@ #!/usr/bin/perl +=comment + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +=cut + use strict; use DBI; use Template; diff --git a/cgi-bin/show_status.pl b/cgi-bin/show_status.pl index 646195c..c75b20e 100755 --- a/cgi-bin/show_status.pl +++ b/cgi-bin/show_status.pl @@ -1,5 +1,13 @@ #!/usr/bin/perl +=comment + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +=cut + use strict; use DBI; use Template; diff --git a/cgi-bin/show_status_soap.pl b/cgi-bin/show_status_soap.pl index 5d12800..de314f7 100755 --- a/cgi-bin/show_status_soap.pl +++ b/cgi-bin/show_status_soap.pl @@ -1,14 +1,19 @@ #!/usr/bin/perl -use strict; +=comment + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details +=cut + +use strict; use vars qw($dbhost $dbname $dbuser $dbpass $dbport); require "$ENV{BFConfDir}/BuildFarmWeb.pl"; -use lib "/home/community/pgbuildfarm/lib/lib/perl5/site_perl"; - use SOAP::Transport::HTTP; SOAP::Transport::HTTP::CGI->dispatch_to('PGBuildFarm')->handle; diff --git a/cgi-bin/typedefs.pl b/cgi-bin/typedefs.pl index 5f3b216..63c0fc5 100755 --- a/cgi-bin/typedefs.pl +++ b/cgi-bin/typedefs.pl @@ -1,5 +1,13 @@ #!/usr/bin/perl +=comment + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +=cut + use strict; use DBI; use CGI; diff --git a/cgi-bin/upgrade.pl b/cgi-bin/upgrade.pl index f4cbb99..a34f4ed 100755 --- a/cgi-bin/upgrade.pl +++ b/cgi-bin/upgrade.pl @@ -1,5 +1,13 @@ #!/usr/bin/perl +=comment + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +=cut + use strict; use CGI; diff --git a/htdocs/index.html b/htdocs/index.html index b17ceb2..9609bb4 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -1,5 +1,12 @@ + diff --git a/templates/history.tt b/templates/history.tt index dd050ed..37463db 100644 --- a/templates/history.tt +++ b/templates/history.tt @@ -1,3 +1,10 @@ +[%# + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +-%] [%- BLOCK cl %] class="[% SWITCH bgfor -%] [%- CASE 'OK' %]pass[% CASE 'ContribCheck' %]warn[% CASE [ 'Check' 'InstallCheck' ] %]warnx[% CASE %]fail[% END %]" [%- END -%] diff --git a/templates/index.tt b/templates/index.tt index ad99339..ba640cf 100644 --- a/templates/index.tt +++ b/templates/index.tt @@ -1,3 +1,10 @@ +[%# + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +-%] [%# Use this template to generate the index page, with something like: diff --git a/templates/members.tt b/templates/members.tt index d55e7a5..e490b64 100644 --- a/templates/members.tt +++ b/templates/members.tt @@ -1,3 +1,10 @@ +[%# + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +-%] [% WRAPPER 'page.tt' title = 'PostgreSQL BuildFarm Members' bodyclass = 'members' diff --git a/templates/page.tt b/templates/page.tt index f00da9b..381b467 100644 --- a/templates/page.tt +++ b/templates/page.tt @@ -1,3 +1,10 @@ +[%# + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +-%] diff --git a/templates/register-form.tt b/templates/register-form.tt index 0f4f82b..fd9ffe6 100644 --- a/templates/register-form.tt +++ b/templates/register-form.tt @@ -1,3 +1,10 @@ +[%# + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +-%] [% WRAPPER 'page.tt' title = 'PostgreSQL BuildFarm Application' bodyclass = 'application' diff --git a/templates/register-incomplete.tt b/templates/register-incomplete.tt index bc73f41..c866f55 100644 --- a/templates/register-incomplete.tt +++ b/templates/register-incomplete.tt @@ -1,3 +1,10 @@ +[%# + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +-%] [% WRAPPER 'page.tt' title = 'PostgreSQL BuildFarm Application' bodyclass = 'application' diff --git a/templates/register-ok.tt b/templates/register-ok.tt index fdfea96..7810d90 100644 --- a/templates/register-ok.tt +++ b/templates/register-ok.tt @@ -1,3 +1,10 @@ +[%# + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +-%] [% WRAPPER 'page.tt' title = 'PostgreSQL BuildFarm Application' bodyclass = 'application' diff --git a/templates/status.tt b/templates/status.tt index 875c988..a9f8ad2 100644 --- a/templates/status.tt +++ b/templates/status.tt @@ -1,3 +1,10 @@ +[%# + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +-%] [% flag_imgs = { perl = '/img/camel.png',