info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Reports generation in CVS


From: Jim.Hyslop
Subject: RE: Reports generation in CVS
Date: Wed, 2 Jun 2004 10:01:51 -0400

Ramanuj Singh wrote:
> I have to generate report which displays the name of branch 
> or tag, date on which it was created, the author name and the 
> name of the module on week basis for a project. For eg- The 
> project duration was of three months. Now the report has to 
> be generated on week basis for tags and branches by a 
> particular user. These three months were form march to may.
> Don't know how to generate week report for branch and tags. 
Thank you, this is exactly what we need to know.

In order to do this, you will have to create a taginfo script (see
https://www.cvshome.org/docs/manual//cvs-1.11.16/cvs_18.html#SEC177,
Appendix C5 in the manual). The user name is not passed as part of the
arguments - perhaps someone else can suggest a way to find it for logging.

Unfortunately, this will only work from the time the taginfo script is
implemented - you will not be able to go back to get the information for
existing tags. You might be able to piece together some of the information
by careful analysis of the 'cvs log' command, but that won't tell you who
applied the tag.

I'm curious, though. This kind of report seems to me to be rather useless.
What value will it provide?

> This is one problem and another one is when I give the command 
>  cvs history -T -u username 
> This command should generate  reports on all tags and 
> branches for a particular user but it is not reporting for 
> all tags and branches created by that particular user. When I 
> check the history file , the tags and branches which are not 
> being reported are not entered with the tag T in that file.
> I want to know how can I get those tags and branches which 
> are not being displayed. 
I've never had much luck with the history command. I just tried it on some
files, and according to 'cvs history', I have applied only nine tags in the
last year. I *know* I have applied more than that.

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]