Add README Copyright and License notices, pus minor tidying.
[buildfarm-server.git] / cgi-bin / show_history.pl
index 902fdb5b58a46821ab4feee3d441ff6b6a86361e..288183ddf137281da70ecf38705d09f8063b2f6f 100755 (executable)
@@ -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;
@@ -44,7 +52,8 @@ my $statement = <<EOS;
   select (now() at time zone 'GMT')::timestamp(0) - snapshot as when_ago,
       sysname, snapshot, b.status, stage,
       operating_system, os_version, compiler, compiler_version, architecture,
-      owner_email
+      owner_email,
+      sys_notes_ts::date AS sys_notes_date, sys_notes
   from buildsystems s, 
        build_status b 
   where name = ?