aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-07-14 10:41:03 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-07-14 10:41:03 +0000
commitfaec39b50ebef64b427304f6694407315060e241 (patch)
treed13e2f918ad5d3132d0e8d966b7385e668de9b9d /Tools
parentb8ce56aee354289d85e5f6540dd9d0f3057958da (diff)
downloadports-faec39b50ebef64b427304f6694407315060e241.tar.gz
ports-faec39b50ebef64b427304f6694407315060e241.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.
Notes
Notes: svn path=/head/; revision=113624
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