From xemacs-m  Fri Jun  6 15:36:46 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id PAA15646
	for <xemacs-beta@xemacs.org>; Fri, 6 Jun 1997 15:36:33 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id NAA20815;
	Fri, 6 Jun 1997 13:36:49 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: Beta 'ls -lR' request
References: <199706061011.KAA13325@niss.ac.uk>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@xemacs.org>
In-Reply-To: N J Doye's message of "Fri, 6 Jun 1997 10:11:08 GMT"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 06 Jun 1997 13:36:48 -0700
Message-ID: <m2n2p3ii3j.fsf@altair.xemacs.org>
Lines: 39
X-Mailer: Gnus v5.4.56/XEmacs 20.3(beta5)

N J Doye <nic@niss.ac.uk> writes:

> Would it be possible to provide an ls-lR.gz of each beta source tree
> to compare against, for those occaisions when 'patch' is having a bad
> day. 

Probably not.  If I ever get distribution-building automated (I've
been doing it by hand so far), I'm likelier to include a MANIFEST with
file sizes and checksums.

If someone wishes to hurry this up, here's what I have in mind.  I
need a program/script (to be put in lib-src) that is run in the
top-level of the XEmacs source tree *after* `make distclean' has been
run and creates and drops a MANIFEST file.  There should be an inverse 
operation that assumes existence of such a file and checks the
distribution.

For the creation phase, there needs to be an option that allows
classes of files to be excluded like the --exclude option in tar.  For 
checking there needs to be an option (--prune or somesuch) that
deletes zero length files that are not present in the MANIFEST (thus
solving the problem of files that need to be patched into oblivion).

The output format would look something like:

3ab5a1d4b27cce248441bf00ee313303  ./CHANGES-beta	3377

which is a concatentation of md5sum and the file size from ls -l.

Perl is O.K. for proof-of-concept, sh is probably better.  Because it
needs to be run on a system with potentially no functional XEmacs
binary, nor any built programs from XEmacs it must be pretty vanilla.

Note that the file size alone is insufficient for various reasons I
do not wish to get into right now, fortunately only I have been bitten 
so far.
-- 
steve@calag.com baur
Unsolicited commercial e-mail will be billed at $250/message.

