Google Search

Google
 

Wednesday, July 9, 2008

Video: How Do I: Migrate Code and Artifacts from Visual SourceSafe to Team Foundation Server?

Presented:Richard Hundhausen

In this video, Richard Hundhausen usess the VSSConverter.exe to analyze and migrate files and folders from Visual SourceSafe to Team Foundation Server.

The following text is a software generated transcript of the video. Click on a minute link to jump to a location within the video


Minute 0

Hello my name is Richard on health and principal consultant with excess in a Microsoft regional Director and studio team system MVP missiles and we ll take a look at migrating code artifacts from Visual SourceSafe to have any source control repository you can take the easy route and just get the latest version of the files copied them into a team foundation server workspace folder and check them in their loses for confirmation if you do that this is a surefire method from any source fools so only when users get the latest version of the current tip of your work effort and SourceSafe or ClearCase faults are perforce do you have any number of these you can do a good loses for confirmation as a Microsoft teams but it s not pitching me that old information old labels to go back and do a little previous version You have some kind of a migration utility of Microsoft

Minute 1

Lifelong called VSS converter exe which would be taking a look at this demonstration look at www teamsystemwidgets com for a full list of source control migration solution performs what they are demonstration here I m running a Visual Studio 2005 box and one of my install program sends the Visual SourceSafe will have open up Microsoft Visual SourceSafe and take a look at what we have in the repository you see we have a very simple so after we got the whole world is a stock roots underneath or we have a whole world BSS solution and some files for basically a hello world application written in sure that s wonderful like I tell my clients you should migrate outsourcing is responsible and to team foundation server is the glue to do that a couple batch files here for this demonstration

Minute 2

To use the commandline utility may have go through a ring use the VSS converter exe which actually has two modes one is an analysis mode which will take a look at resources database and see a father to me operations in their underpinning and sharing in the branching away SourceSafe is a little different in some of supported in team foundation server and the migration utility will see that this is how can give you warning and introducing guidance on how to go around fixing that update analysis tool also generated user and basically give you a complete list of all the users who have ever checked in any code changes to the code and SourceSafe and light on a host of different usernames or attribute them together one person in your migration and of course the second half of the VSS converter tool was actually do the migration is somewhat received and also step set the

Minute 3

Mappings file appropriately and in the migration so look that s the one which is the analyzed our file to edit this and thinks little orders with its user so we re doing is recalling via VSS converter exe which is actually installed by default when you have all the tools because he lives in a program files Microsoft studio 8 7 IDE and rerun it with the analyzed switch itself to get some settings from this XML document to take a look at that document that s right below shows a couple settings here was the path to the database and this is the SourceSafe database and web user map file should generate this user map polishing it generated as part of its analysis to an inside of their women whom analyzing out if you want to use it or sign it will analyze all the

Minute 4

Objects of the roots and SourceSafe works only does the whole world would just for classic become a large SourceSafe repository seem upwards of 12 to 14 GB in size which is between two large in my opinion a can take one wild animal is certainly quite a long time to migrate so you might want to do little white project by project and analyze Margaret that is finally here is her generator of the reports analysis file will look after efforts to mess compact files and generate good run analyze despise us as was the and password don t agree but it s like an idiot and read through the analysis after we can see all the difference files intruder is a very simple projects only 16 files for folders and as we expect I ve been having warnings or errors I was doing anything advanced in here and have a history didn t have any in the

Minute 5

Inning were sure and branching operations and SourceSafe even bring up any warnings or errors or poorly his weather generated as a log file and if I had the errors of the converter errors would show that let s look at the analysis report is a nice style sheet of report that shows you the status of the location and how many files and folders that analyze them and the last time and download any actual errors and warnings but this is a clean bill of health zero errors or warnings look at the other file generated which is the user meth that he went through the repository and he found the pound was associated with some of the history and so was adamant and hadn t have a default ID and SourceSafe if I had a large team over the past three years working on SourceSafe Apple doesn t 2000 usernames and ethical decision after it is just less anybody who s performed

Minute 6

Source control operation to the folders or files are under the SourceSafe even uses all about SourceSafe users to team foundation users or maybe there are these of change in one instrument domain in front of a generally key difference between SourceSafe NTFS would comes to security is SourceSafe manage its own users I didn t agree with Windows in the domain of active directory of sourcing us team foundation server does so when you needed it is a mapping from these named users over to more public domain is writing combination what happens if somebody has left the company in Houston history of SourceSafe from Mitch Mitchell on the works of accompaniment on a counsel of record no problem don t come across as simply history of course Mischa is not a valid user in team foundation server and could never log and you can see the old historical information and so we would make it as

Minute 7

Own negative while some analysis to see what you want to know to rename these things through okay Libya business handles a look at the seconds that no which is actually perform the migration same as before to run faster than my great selections of analyze a regular different XML document since all the settings are in that document took a look and we can see your same database name uses you directly generated a SQL Server instance services of one of the requirements to run this converter a couple things to impact how Visual SourceSafe 2005 so he don t Visual SourceSafe 6 database you first install Visual SourceSafe 2005 is fairly painless and you can get that thousand five version with studio 2005 Professional Edition download separately from the list in install that have upgraded the

Minute 8

Offering APIs for this migration utility uses you will see the SQL Server express or developer edition installed locally here to support the migration utility unless one point to the name and an option instance to the migration and until you hear what a map this source and SourceSafe to this destination in team foundation server and then that s it right there that that s a little coming from SourceSafe will will be assessed on routes all the folders and files on an even unlikely to generate meaningful world folder under invention works team projects and Reynolds falls over just for good measure here s the guests to go far that s my hostname of my team foundation server for a beauty is the default or use HTP knocks or XPS Oracle and generate an output file here with report after you re done with that look right

Minute 9

Terri awarded here this is a vanilla sizes can take awhile was going to start a migration for the but it s a blank bathroom and after a few moments shall see all these files came across new migrated 23 actions actions are check in edits of the leaves of a rename anything a generous history and sources is an action to migrate across it is a very simple example I have no errors and warnings would look the migration or which basically a rehash that again with all the dates and times of errors and warnings of the final task will be to actually launch Visual Studio and take a look at the source controls for so miniconvention works have been a source tools for

Minute 10

Slows good refreshes they come in here and here s her hello world oh world CSS and you can see now we ve got some artifacts if you re so the solution for example is just bring us up in their view the history of it we can see here that says this change that was added by Pam review the details of this we ve got a comment in here with the date and time so before you move while historical information team foundation server you should probably buy a copy of SourceSafe is a good place to start even before that to your users to check in any open files have been make as it is possible also do some analysis and planning to try to understand what information you need me to and don t want to transfer over to team foundation server but in some operations up in a branching in the way Sharon is performed in sources Since our are a different team

Minute 11

Official server seizure and refer to MSDN for details on how to work with those concepts in team foundation server and why they can t be migrated as you might expect what is Richard and I have a principal consultant with excess in a Microsoft regional Director and Visual Studio team system MVP that it

Click here to go to original video page

No comments: