hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Problems with release checking
Date Fri, 19 Jun 2009 13:45:49 GMT
It was quite tedious checking the 4.0.1 release because of spurious
variations between the tgz and zip archives.

Apart from the LF/CRLF line ending differences, which are easy to
allow for, there are quite a lot of files in the ZIP archive that have
an additional CRLF at the end. This can be fixed by adding

fixlast="false"

to the Ant script which repackages the zip file.

BTW, the Ant script is not suitable for use on Windows, because it
only fixes the zip file.
It ought to be changed to detect the EOL type and fix the appropriate archive.

The $HeadURL:$ SVN markers can cause problems when comparing the
source archive with the tag unless one uses the same URL as the
builder used.

HeadURL causes major problems when comparing SVN checkouts.
I think the markers should be removed (or disabled).

Similarly, the $Date:$ SVN marker causes problems when comparing
files, because the date is expressed as a local date. This can be
allowed for in automated comparisons, but is still a nuisance. IMO,
the benefits of having the Date outweigh the disadvantages. If one
really needs the date, then consider using $Id which uses UTC, for
example:

$Id: calc.c 148 2006-07-28 21:30:43Z sally $

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message