Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I know Visual Source Safe is supposed to help change control in team environments, but if you are in a solo environment is there still advantages to be gained from using it?

 

Sorry if the question seems a bit entry level, but I've never used the product before, never had my hands on a copy of it, and have only VS.NET 2003 Professional which does not have Visual Source Safe with it. Just checking on things to see if it would be worth upgrading to whatever level has it with it.

Ira Richard Smith

IraRichardSmith.Net

Posted

I use CVS. . .

 

but yes. . . source control is great to have even in a solo environ.

 

You dont know how many times it has saved me.

Joe Mamma

Amendment 4: The right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizures, shall not be violated, and no warrants shall issue, but upon probable cause, supported by oath or affirmation, and particularly describing the place to be searched, and the persons or things to be seized.

Amendment 9: The enumeration in the Constitution, of certain rights, shall not be construed to deny or disparage others retained by the people.

Posted
I know Visual Source Safe is supposed to help change control in team environments' date=' but if you are in a solo environment is there still advantages to be gained from using it?[/quote']

 

VSS does versioning, so if you check out code, modify it, and check it back in, it'll track history for you (you can compare versions, compare what's in VSS to what you have in your project, or even use VSS to compare two external files). The compare feature is nice for seeing differences in versions. You can "rollback" to previous versions if you need to. So, the history and versioning are a nice feature no matter how you develop (solo or team).

 

VSS can also act as a backup. For example, if you check out code from VSS, modify it, and decide you've completely screwed up your project all you have to do is go to VSS and do a "get latest" to restore you last good version (assuming you always check your most recent "good versions" into VSS). Also, VSS is a database seperate from your project(s) - and if you backup your VSS files to another medium/drive or have VSS on another machine, you have a nice level of backup protection in case something happens to the drive/machine your code is on. When you know you have a complete, safe copy of your project in VSS you don't have to worry about completely pillaging a project to experiment or make major changes - because if you totally screw up the project you have a way to recover.

 

You can do manual versioning and backups, storing copies of your files and/or projects in folders littering your drive(s) - but VSS probably does it a little cleaner and provides for a lesser margin of error.

 

[edit]I was writing/posting this while Nerseus posted his link - but I'll keep my repetitive drivel here...and add, after reading that thread, that VSS isn't the only source control program out there, and it's sometimes a little clunky, but it seems to work well enough (we use it where I work). We also use it to store some non-code stuff, like project tracking spreadsheets, server/db server listings (we have tons of both), programming standards docs, etc)[/edit]

 

Paul

Posted

Is VSS the only one to allow you to backup other files as well? I like the idea of backing up word, excel, access, text, html, etc; as well, but I'm not looking for the spending of money so much right now. Down the road in the next year I'll get the MSDN subscription which comes with stuff like that, but I don't have that yet.

 

So is there a good "single developer" source control that provides these features as well?

Posted
VSS isn't the only source control program out there' date=' and it's sometimes a little clunky, but it seems to work well enough (we use it where I work). We also use it to store some non-code stuff, like project tracking spreadsheets, server/db server listings (we have tons of both), programming standards docs, etc)[/quote']

 

Would you care to elaborate any on how it is a little clunky or from your view how it fits that description? I am not trying to put anything down or make fun of anything, I am just asking those who are more experienced in this area what their thoughts and experiences are so that I might learn a bit.

 

I had wondered about what tool to use to deal with version and changes to non-program docs like programming standard docs and such. Sounds like it will work with any doc format (basically meaning any doc format in the MS family of products like Word and such)?.

 

Also, say I were to use VSS, will it recognize an existing version number on a project I am about to inherit from another person or when I place it in VSS the first time will it just start out at the base starting version number and being to increment from there?

Ira Richard Smith

IraRichardSmith.Net

  • *Experts*
Posted

VSS versions don't really have anything to do with other file versions (DLLs, VS projects, Word files, etc.). The version in VSS is just sequential - the first time a file goes in, it's version "1". The next check-in is version "2", etc.

 

Unless something is recognized as "text", VSS won't give you the ability to compare versions or see differences. Luckily, most MS Office files have their own internal ability to track changes. You can turn that on in Word, for example. Through Word you can View the changes visually or clear the change history.

 

As for backing up files, VSS has backup/restore tools but they're far from perfect.

 

VSS was meant to store any kind of file, keep track of its history, and "label" versions of files. Again, a version being VSS's version. If your project is 2.0 then you would have to name the label something like "Ver 2.0". The "2" version number won't really be anything that VSS shows or recognizes.

 

VSS is ideal if you're a Visual Studio developer as it gives you the ability to check in and out from within the IDE and it's "smart" about the files it checks out. I can't speak for other source control systems but I would guess that many support Visual Studio as it's one of the more popular development environments.

 

I've been reading some *really* cool things about the new source safe that's due out with the new .NET. I hope they fix a couple of the more glaring issues with the current sourcesafe.

 

-ner

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Posted
Thanks so much for the clarification on the questions I had. This does sound like a promising path for me to explore so I will certainly look into it further. It might be some time before I get to the VS.NET 2005 version of VSS since the projects that I am inheriting are done in VS.NET 2003, but this is a starting point for sure :)

Ira Richard Smith

IraRichardSmith.Net

  • Administrators
Posted

In the next VS release they are fixing some of the issues with Source Safe but only for compatabilty reasons.

There is actually a completely new version control system being included - far more useful for a corporate environment as it supports things like access over HTTP (great for remote users) and the ability to have certain requirements met before code can be checked in (e.g. must have unit tests written, must achieve a certain % code coverage, x amount of peple must have peer reviewed the code and approved it kind of thing).

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted
Secondly' date=' SourceGear Vault offers a compelling option: a free, single-user license to its product.

 

Ooohhhh, that does sound like a nice deal, especially for a solo developer or for use here at home with my VS.NET 2003 Professional package, which by default does not have VSS included with it. I'll certainly check that out :)

Ira Richard Smith

IraRichardSmith.Net

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...