[NTLUG:Discuss] Off-Topic - CVS Query
Stephen Davidson
gorky at freenet.carleton.ca
Wed Nov 2 07:55:07 CST 2005
Fred James wrote:
> Stephen Davidson wrote:
>
>> Greetings.
>>
>> Project I am on, looking to read some "metrics" from CVS for Quality
>> Analysis.
>>
>> Does anyone know of a good tool that would get the number of lines of
>> code change between 2 labels in CVS?
>>
>> Thanks,
>> Steve
>>
>>
> Stephen Davidson
> I found this under "CVS(1)" in the man(ual) pages. Does that help?
> Regards
> Fred James
>
> " diff [-kl] [rcsdiff_options] [[-r rev1 | -D date1] [-r rev2 | -D
> date2]] [files...]
> Requires: working directory, repository.
> Changes: nothing.
> You can compare your working files with revisions in the
> source
> repository, with the `cvs diff' command. If you don't
> specify a
> particular revision, your files are compared with the
> revisions
> they were based on. You can also use the standard cvs
> command
> option -r to specify a particular revision to compare
> your files
> with. Finally, if you use -r twice, you can see
> differences
> between two revisions in the repository. You can also
> specify
> -D options to diff against a revision in the past. The
> -r and
> -D options can be mixed together with at most two
> options ever
> specified.
>
> See rcsdiff(1) for a list of other accepted options.
>
> If you don't specify any files, diff will display
> differences
> for all those files in the current directory (and its
> subdirec-
> tories, unless you use the standard option -l) that
> differ from
> the corresponding revision in the source repository
> (i.e. files
> that you have changed), or that differ from the revision
> speci-
> fied.
> "
Hi Fred.
When I tried that, it gave for each individual file.
What I have been told by those looking, is that they would like summary
totals, as well as "drillable" per directory. Hence the tool request.
Note that this information is for Managers, and as such, needs to be
simple to use. We could write something, but it is preferred "not to
reinvent the wheel" if possible. Any suggestions?
-Steve
--
Java/J2EE Developer/Integrator
Stephen Davidson and Associates, Inc.
Vice President, DFW JavaMUG (http://javamug.org)
Past Chair, Dallas/FortWorth J2EE Sig (http://j2eesig.org)
214-724-7741
More information about the Discuss
mailing list