On Wed 07 Jan 2004 11:58, Alan Burlison <[EMAIL PROTECTED]> wrote:
> Now I've fixed the Solaris smoke farm, I've noticed something confusing in 
> the status output:
> 
> larry is up [SunOS larry 5.6 Generic_105181-35 sun4u sparc SUNW,Ultra-1]
>    Perl 5.8.x smoke is running
>      change number 22081 started on 07/01/2004 03:00:54 GMT
>          Change number 21996 started on Wed Jan  7 03:04:51 2004.
> 
> The first change number is obtained by my script which uses 'p4 changes', 
> the second one comes from Smoke, which uses either the contents of .patch or 
> parses patchlevel.h.  Unfortunately the 3 things aren't the same.  For 
> example, at the moment the 'p4 changes' number for maint-5.8 is 22081, the 
> .patch number is 21996 and the local_patches value from patchlevel.h is 21995.

Though shallt not mix p4 and rsync

smoke cannot distinguish between p4 status and rsync. Both yield a similar
picture in which .patch is always newer than patchlevel.h (unless you happen
to rsync just before a snapshot is being released

So smoke should always read .patch if available, and only fallback to
patchlevel.h if it is not.

[ Orks should get the person who changes .patch before smoke starts ]

FWIW p4 refuses to update files that are writable and newer, so if you _did_
edit .patch for whatever reason, you have blasted smokes to mount doom

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0, & 5.9.x, and 806 on  HP-UX 10.20 & 11.00, 11i,
   AIX 4.3, SuSE 8.2, and Win2k.           http://www.cmve.net/~merijn/
http://archives.develooper.com/[EMAIL PROTECTED]/   [EMAIL PROTECTED]
send smoke reports to: [EMAIL PROTECTED], QA: http://qa.perl.org

Reply via email to