Update of /cvsroot/curl/curl-www/dl
In directory labb:/tmp/cvs-serv31577
Modified Files:
remcheck.pl
Log Message:
color the logs
Index: remcheck.pl
===================================================================
RCS file: /cvsroot/curl/curl-www/dl/remcheck.pl,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- remcheck.pl 18 May 2005 08:32:43 -0000 1.14
+++ remcheck.pl 18 May 2005 10:40:23 -0000 1.15
@@ -250,7 +250,7 @@
if($chregex) {
@data = geturl($churl, 0);
if(!$data[0]) {
- logmsg " $churl failed. Document too old, missing or URL/host dead for now\n";
+ logmsg " <div class=\"buildfail\">$churl failed. Document too old, missing or URL/host dead for now</div>\n";
$failedcheck++;
next;
}
@@ -287,7 +287,7 @@
if($$ref{'curl'} ne $r) {
# TODO: actually store the new version here
$update++;
- logmsg " NEWER version found!\n";
+ logmsg " <div class=\"latest2\">NEWER version found!</div>\n";
$$ref{'remdate'} = timestamp();
$$ref{'curl'}=$r;
if($versionembedded) {
@@ -337,16 +337,14 @@
if($ver eq $$ref{'curl'}) {
# no need to scan for older packages than what we
# already have
- logmsg " Ending scan here, $ver is database version\n";
last;
}
}
}
if(!$cl) {
- logmsg sprintf(" None of the 5 latest versions found! Database contains version %s\n",
- $$ref{'curl'});
- logmsg " NOT updated\n";
+ logmsg " <div class\"buildfail\">None of the 5 latest versions found!\n";
+ logmsg " NOT updated</div>\n";
$failedcheck++;
next;
}
@@ -367,7 +365,7 @@
if($$ref{'curl'} ne $ver) {
# TODO: actually store the new version here
$update++;
- logmsg " NEWER version found!\n";
+ logmsg " <div class=\"latest2\">NEWER version found!</div>\n";
$$ref{'remdate'} = timestamp();
$$ref{'curl'} = $ver;
}
_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-www-commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.