Coding process support with VSS
I was wondering if any of you have any experience with how to use Visual Sourcesafe to support the actual development process. I was thinking of the way PVCS Version Manager has promotion groups that can be used to promote a version of code after certain tasks have been taken care of. Labels in VSS don't seem to support this very well.
A simple process I am thinking of is:
1. Low-level design (status: technical design)
2. Review low-level design then promote code to status "coding"
3. Coding (status: coding)
4. Review code then promote code to status "build"
5. Ready for build (status: build)
Thanks for your help.
Re: Coding process support with VSS
I guess I had to work it out myself this time . Anyway, in case any of you are interested, here is the solution. It is based on some scenarios listed in the VSS section of the MSDN.
Note: The label-promotion feature only works if the new database format has been turned on. Run the DDUPD.EXE utility to activate the new database format. See DDUPD <ss_ddupd.htm> for more information.
At the beginning of development, label the version of the code that is to be worked on as "Build" or something similiar.
Begin working on the code.
Whenever a new version of a file needs to be added to the build label it with "Build" after it has been checked in with the final changes.
This promotes the new version of that file to the label "Build"
Now, if you do a Get of the project at Build, it will get the project as it was at the date and time you initially labeled it "Build" except that it gets the newer versions of the files labeled individually as "Build".
All you can really do is label the sources after they have reached a defined milestone. You can't really assign a status that is assigned to a file until it is promoted.