[Zope-CVS] CVS: CVSROOT - postcommit_actions:1.141

Ken Manheimer klm@zope.com
Tue, 15 Oct 2002 15:39:50 -0400 (EDT)

On Tue, 15 Oct 2002, Fred L. Drake, Jr. wrote:

> Ken Manheimer writes:
>  > Since there is no CVS interface command that will directly query the
>  > repository file for this bit, we read the archive file directly
>  > looking for the right line (which must be in the first section of the
>  > file, so it's a short and easy check).
> I just screamed "aaarrgh!", and Barry told me that you can use the
> "cvs stat" command to get this bit.  It'll be in the "Sticky Options"
> line, like this:

That's obvious, *if* you have a checkout to operate on.  As far as i
can tell, the 'status' cvs command does not work on the repository,
itself - and on the server, which is where the processing is
happening, we have only the repository.

Now, we _could_ have the processing update a checkout on the server in
order to be able to do the status check.  That does not seem
appropriate.  Particularly considering that the relevant structure of
the CVS ',v' files is not likely to vary.  (Consider that ancillary
tools like ViewCVS and CVSWeb depend on the structure of those files,
probably for the same reasons that have me grubbing in them...)