Re: [PHP-PEAR] RCS tags

[email protected] ("Stig S. Bakken")
Newsgroups php.pear
Organization Fast Search & Transfer
Message-ID <[email protected]>
Colin Viebrock wrote:
> 
> [Fri, 9 Feb 2001] Anil Madhavapeddy said:
> 
> > Why not just do:
> >
> > // $Revision$
> >
> > Seriously - you shouldn't be actually comparing RCS ids from a program; my
> > suggestion was purely for a simple visibility test.  I think the only
> > version function that a PEAR package should be obliged to have is an
> > author-defined version, which can encompass a set of changes, and the RCS
> > tag should just stick around in the comments where it can be seen easily.
> 
> This may be counter to what I said earlier, but I think I agree with
> Anil's argument.  :)
> 
> Comparing RCS IDs is probably more difficult and not as useful as
> comparing author-defined versions.  Just as long as authors update their
> version numbers when they make significant changes.

Comparing RCS ids is most probably useless, it is API version numbers
you are interested in, and these should be updated by hand.  However,
RCS ids are very useful for diagnostics and debugging, so it is nice to
have them available from the code, not just as comments.

 - Stig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.