Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

More of a SourceSafe Question

Status
Not open for further replies.

Creeder

Programmer
Jul 5, 2000
110
MY
Hi all,
This is more of a SourceSafe question, but i know some of guys here have a lot experience using it :)

I have a project which is already check in SourceSafe. However i am required to add a SourceSafe Key(??) in each of my forms. It suppose to be something like a comment block, where i can specify some comments. Therefore from sourcesafe the other programmers can see a brief description of the comment.

How do i do it??

I hope my explanation is clear :) THanks in advance

Yue Jeen

 
If I understand the question correctly, you want to see in VSS (=Visual SourceSafe) per source (prg, form, visual class etc) a comment, right?

If so, the way to go is the following:
When checking in a file in VSS, VSS automatically asks for a comment. This comment will be stored with the file (version) you just checked in.

Seeing the comment: right click the file in VSS, choose History, select the version from the list and click Details.

But, if you want to have a "comment" block in your code (prg, form, visual class etc), another approach is needed.
As I haven't figured out how to get the comments stored in VSS and put them somewhere in code, we have deviced the following (manual!) system:
PRG/H: When making changes to a PRG or include file, at the top of the file the programmer must add a date/time stamp, his/her name, a brief description of the work done and, in our situation, a reference to the Bug Request administration.
FORMS/Visual classes: Add a (dummy) method Comment and fill out the programmers comments here

This is more a internal discipline everyone has to follow, so you need to work out the rules and apply them strictly.

However, if someone comes up with a system to directly link the comments made to VSS to VFP sources, I'd be more than interested!
Diederik Vermeeren
verm1864@exact.nl
 
Hi, Creeder!

The best thing for you will be something like Test Track for your application. You can simulate this using VSS, but Test Track is really an application that allows to track all notes for all items in the application, as well as tack bugs, collect them and see progress of fixing them.

To simulate this in VSS, just add text file to your project, where all developers will write notes. You can also add Word document there or something like that, but than you will require to open it for editing manually.


Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
I think what Creeder is asking for is a special text marker that can be placed in the VFP file that will be picked up by VSS. I think there is such a thing, but I don't have VSS installed on the machine on which I am working, so I don't have access to the VSS help.
Robert Bradley
 
Hi All,
Thanks for all of the reply. FoxDev is right, i am looking for a special marker that can be only pick up for VSS. I have search the MSDN and Knowledge Base but only found special markers for HTML forms :(
Gonna search some more.

Yue Jeen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top