Subject: Re: Proposed changes in the build.conf file
To: Hubert Feyrer <>
From: Roland Illig <>
List: tech-pkg
Date: 11/28/2005 10:08:36
Hubert Feyrer wrote:
> On Mon, 28 Nov 2005, Roland Illig wrote:
>>> -# 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=""                   # host for broken.html
>>> +# REPORT_DIR is the directory on the build machine where the
>>> +# report files are copied to. Uploading these files to a public FTP or
>>> +# HTTP server must be done manually. REPORT_URL is the URL where the
>>> +# report files will be reachable after uploading. This URL is only used
>>> +# for being printed in the text/plain report. bc_common_path is a 
>>> helper
>>> +# variable and is not examined by the bulk build programs.
>>> +bc_common_path="`date +%Y%m%d.%H%M`"
>>> +REPORT_DIR="$HOME/bulk-reports/${bc_common_path}"
>>> +REPORT_URL="ftp://my.ftp.server.local/pub/NetBSD/pkgstat/${bc_common_path}" 
>>> ----snip----
> if you have to shuffle things around, I'd suggest making it clear that 
> "bc_common_path" is the comon dir relative to the base directory in the 
> filesystem in one case and relative to the base URL in another case.
> As such, maybe something like:

My point is that I don't see why we should keep these different 
variables for FTPHOST and FTPURL if the only thing they are used for is 
concatenating them to the URL that will appear in the text/plain report. 
That's why I suggested to use REPORT_URL instead.