]> git.donarmstrong.com Git - wannabuild.git/blobdiff - bin/wb-graph
No reason to cast it to timestamp anymore, it's now such a field in the db.
[wannabuild.git] / bin / wb-graph
index 1a65dbc1bc4c8dfa5e1306fae2b25461ec4c08f0..b5dce42ed7e18937437c39416dea149db44e61b4 100755 (executable)
@@ -19,10 +19,11 @@ while( @ARGV && $ARGV[0] =~ /^-/ ) {
                else {
                        $dist = shift @ARGV;
                }
-               $dist = "stable"   if $dist eq "s";
-               $dist = "frozen"   if $dist eq "f";
-               $dist = "unstable" if $dist eq "u";
-               die "Bad distribution\n" if !isin($dist, qw(stable testing unstable));
+               $dist = "oldstable" if $dist eq "o";
+               $dist = "stable"    if $dist eq "s";
+               $dist = "tesing"    if $dist eq "t";
+               $dist = "unstable"  if $dist eq "u";
+               die "Bad distribution\n" if !isin($dist, qw(oldstable stable testing unstable));
        }
        elsif (/^--$/) {
                last;
@@ -35,11 +36,11 @@ while( @ARGV && $ARGV[0] =~ /^-/ ) {
        }
 }
 
-my $date=`date +%m/%d/%Y`;
+my $date=`date -u "+%m/%d/%Y %T"`;
 chop($date);
 print "$date";
 
-my @archs = qw(alpha arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 amd64 sparc armel);
+my @archs = qw(alpha arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 amd64 sparc armel kfreebsd-amd64 kfreebsd-i386);
 my $arch;
 
 foreach $arch (@archs) {