Subject: Re: [bulk] Adequate modelling of the report generation
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.org>
From: Roland Illig <rillig@NetBSD.org>
List: tech-pkg
Date: 12/06/2005 09:16:37
This is a multi-part message in MIME format.
--------------060904050805000302070809
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Thanks for your comments. I've updated the patch.
Up to now, I have only received comments for the bad choice of the FTP
host name. What I find much more interesting is the variable names and
their meanings.
- Do they make sense?
- Have I forgotten something that should be configurable?
Roland
--------------060904050805000302070809
Content-Type: text/plain;
name="build.conf-example.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="build.conf-example.patch"
Index: build.conf-example
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bulk/build.conf-example,v
retrieving revision 1.32
diff -u -p -r1.32 build.conf-example
--- build.conf-example 3 Dec 2005 01:00:37 -0000 1.32
+++ build.conf-example 6 Dec 2005 08:10:03 -0000
@@ -61,11 +61,22 @@ ADMIN="you@some.whe.re"
# Who the report is signed by
ADMINSIG="-Your Name"
-# Some paths for output files and paths to log files
-FTPx=`date +%Y%m%d.%H%M`
-FTPURL="pub/NetBSD/pkgstat/${FTPx}" # relative to ~ftp !
-FTP="/home/ftp/${FTPURL}" # absolute base path
-FTPHOST="ftp://ftp.machi.ne" # host for broken.html
+# The directory where the final reports are collected.
+#REPORTS_DIR="$HOME/bulk-logs"
+REPORTS_DIR="/home/ftp/pub/NetBSD/pkgstat"
+
+# The URL where the final reports will be available.
+REPORTS_URL="ftp://localhost/pub/NetBSD/pkgstat"
+
+# The basename of the directory of the current bulk build. This
+# directory will be created under ${REPORTS_DIR}. After uploading the
+# report, it will also be available under ${REPORTS_URL}.
+REPORT_BASEDIR=`date +%Y%m%d.%H%M`
+
+# The basenames of the the two report files, which will both be created
+# in ${REPORTS_DIR}/${REPORT_BASEDIR}.
+REPORT_HTML_FILE="report.html"
+REPORT_TXT_FILE="report.txt"
#
# Uploading binary packages
@@ -88,10 +99,3 @@ MKSUMS=yes
# Destination for packages and rsync options
RSYNC_DST=ftp.NetBSD.org:/pub/NetBSD/packages/pkgsrc-200xQy/NetBSD-a.b.c/i386
RSYNC_OPTS='-e ssh'
-
-###########################################################################
-### No changes should be needed below this line !!!
-###########################################################################
-
-# Name of the (generated) HTML file which lists all broken pkgs
-REPORT="$FTP/broken.html"
--------------060904050805000302070809--