aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-07-14 18:41:03 +0800
committerkris <kris@FreeBSD.org>2004-07-14 18:41:03 +0800
commit1ac2de2169f916ae8eee052ff5c127f65462f69b (patch)
tree029846edef373fd5e174593e2f1c626149fe7517 /Tools
parente1e7363534191d67123221d2ded4f1d81017fd81 (diff)
downloadfreebsd-ports-gnome-1ac2de2169f916ae8eee052ff5c127f65462f69b.tar.gz
freebsd-ports-gnome-1ac2de2169f916ae8eee052ff5c127f65462f69b.tar.zst
freebsd-ports-gnome-1ac2de2169f916ae8eee052ff5c127f65462f69b.zip
Back out the attempt to list the error type in the failure summary;
because this file is a chronological history of port builds that have failed, the files listed may not be present in the current set of error logs, and we currently have no easy way to find the most recent failure log to use instead.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/processfail15
1 files changed, 1 insertions, 14 deletions
diff --git a/Tools/portbuild/scripts/processfail b/Tools/portbuild/scripts/processfail
index 1f97479d2689..a68f9c839df9 100755
--- a/Tools/portbuild/scripts/processfail
+++ b/Tools/portbuild/scripts/processfail
@@ -5,9 +5,6 @@
arch=$1
branch=$2
-scriptdir=$(dirname $0)
-errorscript=${scriptdir}/processonelog
-
pb=/var/portbuild
of=/usr/local/www/data/errorlogs/.${arch}-${branch}-failure.html
@@ -44,16 +41,10 @@ footer() {
echo "</html>" >>$of
}
-geterrortype() {
- set $(echo `${errorscript} $logfile ./ports` | tr \| " ")
- reason=$(echo $7 | tr '_' ' ')
- echo "<a href=\"http://bento.freebsd.org/#$8\">$reason</a>"
-}
-
#
# Create "default" output, sorted on portname
#
-header "<th>Port</th><th>Package</th><th>Error</th><th>Broken</th><th>Last</th><th>#</th>"
+header "<th>Port</th><th>Package</th><th>Broken</th><th>Last</th><th>#</th>"
sort -r -n -k 4 -t \| failure > newfailure
IFS='|'
@@ -67,10 +58,6 @@ while read dir name ver date last count; do
# echo "<td><a href=\"mailto:$6\">$6</a></td>" >> $of
# echo "<td>" >> $of
- logfile=${ver}.log
- errortype=`geterrortype`
- echo "<td>$errortype</td>" >> $of
-
alphadate=$(date -jf %s ${date} "+%F %T")
alphalast=$(date -jf %s ${last} "+%F %T")
echo "<td>${alphadate}</td>" >> $of