PDA

View Full Version : Generate Change Log from SourceSafe Comments


dkackman
12-22-2003, 02:51 PM
Is it possible, or has anyone already set up a scenario where they generate a "what's changed" log for each build, using SourceSafe comments?

What I'd like with each build is a running log of what has been done. It would look something like:

Build 1.0.1
-----------------------------------------------
Project: $TheApp/TheBrannch/TheBusinessTier
File: SomeFile.cpp
User: jdoe
Checked in: 03/02/2003
Comment: Fix bug# 1532. Added bounds check to for loop that checks for string length.

Build 1.0.2
-----------------------------------------------
Project: $TheApp/TheBranch/TheGui
File: TheButton.cs
User: jsmith
Checked in: 03/03/2003
Comment: Made the exit button bigger

Doesn't seem like it should be overly difficult to put together but I just wanted to see if anybod had already done it.

Cheers,

don

kinook
12-30-2003, 02:54 PM
Take a look at the last step of the SourceSafe.bld sample, it demonstrates showing changes (including comments) since a given label. You can also do the same between two labels, dates, etc. by specifying a start and end label/date in the 'Version to operate on' field (i.e., LMy label2~LMy label1 or D2/1/03~D1/1/03). See the VSS -V help topic for more details: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/guides/html/vsgrfcmdline_switchv.asp

dkackman
12-30-2003, 03:44 PM
Thanks,

That is exactly what I'm looking for.

don

mishka
03-09-2004, 03:43 AM
Originally posted by kinook
Take a look at the last step of the SourceSafe.bld sample, it demonstrates showing changes (including comments) since a given label. You can also do the same between two labels, dates, etc. by specifying a start and end label/date in the 'Version to operate on' field (i.e., LMy label2~LMy label1 or D2/1/03~D1/1/03). See the VSS -V help topic for more details: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/guides/html/vsgrfcmdline_switchv.asp

But did somebody actually created some script that beautifies the above output ? For example:
developer|date|action|filename|comment

12-28-2007, 08:40 AM
Is there a script available somewhere in the forums that I could use as a starting point to modify the change log output returned from a VSS History command?

I need to create a report that displays the project name, user, and comments and at the project level only.

['Operation' = 'History'
"C:\Program Files\VisBuildPro\Samples\VStudio\BlankVSS\win32\s s.exe" History $/Surface_LWD/source -R -NL -I-N -V~L5.12.2707 -Yadministrator,password -O&D:\Build_Logs\Nightly\vss_comment_log.txt -L-]

Thanks in advance.