Suggestion: Show version # for each file pulled during Get

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
davenovak
Posts: 222
Joined: Mon Jan 15, 2007 2:15 pm
Location: Atlanta, GA

Suggestion: Show version # for each file pulled during Get

Post by davenovak » Thu Feb 08, 2007 1:39 pm

This is a feature I noticed first in TFS-VC and found to be very useful. In our automated build process, we log all every operation, including Gets from the Source Code Control (SCC) database.

From time to time after a build has gone out either to QA or production, the question arises: what source files were used for building Release x.x.x? In those cases, it would be nice to go back to the build log file and see exactly which version of each file was pulled from SCC.

Of course, we also label our build, so we have this somewhat covered from that angle. But in SourceSafe, this was not always good enough because files could have been pinned to an earlier version and then pinning could have been updated after the build.

In any case, this would be a useful feature – especially with the –Verbose option.

Thanks.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Thu Feb 08, 2007 4:47 pm

Do you use labels at all for each build? That's how I think most users do it and then one can view history for just that label to see what was in it.

What are you using for the build?

davenovak
Posts: 222
Joined: Mon Jan 15, 2007 2:15 pm
Location: Atlanta, GA

Post by davenovak » Thu Feb 08, 2007 5:12 pm

Please re-read my post. Yes -- we do use labels, but that is not always enough (at least not under SourceSafe).

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Thu Feb 08, 2007 5:46 pm

How are you performing the build? Is there another tool involved?

I'm asking so I can get more details about how exactly this should work or look for when I put in the request.

davenovak
Posts: 222
Joined: Mon Jan 15, 2007 2:15 pm
Location: Atlanta, GA

Post by davenovak » Thu Feb 08, 2007 6:25 pm

Our build process makes use of the command-line version of Vault. Logged output from Vault currently looks like:

Code: Select all

<!--      Fetched $/Processor 6.2.5/Libraries/Library.StringTable/String.cs  -->
<!--      Fetched $/Processor 6.2.5/Libraries/Library.StringTable/StringCollection.cs  -->
<!--      Fetched $/Processor 6.2.5/Libraries/Library.StringTable/StringTableCollection.cs  -->
…
I would like this file name to include the version number as follows:

Code: Select all

<!--      Fetched $/Processor 6.2.5/Libraries/Library.StringTable/String.cs (5) -->
<!--      Fetched $/Processor 6.2.5/Libraries/Library.StringTable/StringCollection.cs (18) -->
<!--      Fetched $/Processor 6.2.5/Libraries/Library.StringTable/StringTableCollection.cs (12) -->
…
with the number in parenthesis being the version number, or something along these lines.

Also note that we only label official builds (such as QA builds and potential release candidates). For example, nightly builds or developer test builds are not labeled (so as to avoid label pollution). In those cases in particular, it would be helpful to know what files were pulled for that build.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Fri Feb 09, 2007 8:29 am

Thanks for the feedback. I entered a feature request.

Locked