[prev in list] [next in list] [prev in thread] [next in thread]
List: alexandria-dev
Subject: Re: Cron script
From: Sam Ruby <rubys () apache ! org>
Date: 2002-12-27 22:33:38
[Download RAW message or body]
Nick Chalko wrote:
>
> A couple of questions. What is the <XMP> tag for.
XMP is just like PRE, with the exception that the content may include
"<" and ">" signs. Deprecated, discouraged, but still works.
> nag.pl refers to dated runs of gump.
>
> I am also interested in how you manage your "dated" runs.
I build on my machine, upload the gump-log, and then post it on
cvs.apache.org. Here's the relevant portion of the perl script that
runs on cvs.apache.org:
($sec,$min,$hour,$mday,$mon,$year) = localtime;
$date=sprintf("%d-%2.2d-%2.2d", $year+1900, $mon+1, $mday);
chdir "/www/cvs.apache.org/builds/gump";
rmtree $date, 1, 1 if -d $date;
mkdir "$date", 0775;
system "unzip -q -j -d $date /home/rubys/staging/gump-log.zip";
unlink "latest";
symlink "$date", "latest";
unlink "/home/rubys/staging/gump-log.zip";
$count=0;
foreach (reverse sort <20??-*>) {
next if $count++<7
system "tar czf Attic/$_.tar.gz $_";
rmtree $_, 1, 1;
}
- Sam Ruby
--
To unsubscribe, e-mail: <mailto:alexandria-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:alexandria-dev-help@jakarta.apache.org>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic