Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

It Starts with Version Control Expand / Collapse
Author
Message
Posted Tuesday, November 19, 2013 8:39 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 8:00 PM
Points: 33,204, Visits: 15,354
Comments posted to this topic are about the item It Starts with Version Control






Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1515871
Posted Wednesday, November 20, 2013 2:57 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 5:32 AM
Points: 5,352, Visits: 3,047
I would recommend using source control to someone doing a "home project" for their hobby as well. It is amazing how many people wish that they could go back to what was "working yesterday". I find is astounding that ANY professional software development is done without source control...and by professional I suppose I really mean commercial as it is arguable that without source control it cannot be termed professional.

Gaz

-- Stop your grinnin' and drop your linen...they're everywhere!!!
Post #1515963
Posted Wednesday, November 20, 2013 8:34 AM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, August 28, 2014 11:53 AM
Points: 135, Visits: 323
Funny you didn't link to the best product around for Source Control and SQL Server!

http://www.red-gate.com/products/sql-development/sql-source-control/

Post #1516083
Posted Wednesday, November 20, 2013 9:41 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 8:00 PM
Points: 33,204, Visits: 15,354
Gary Varga (11/20/2013)
I would recommend using source control to someone doing a "home project" for their hobby as well. It is amazing how many people wish that they could go back to what was "working yesterday". I find is astounding that ANY professional software development is done without source control...and by professional I suppose I really mean commercial as it is arguable that without source control it cannot be termed professional.


Me too







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1516117
Posted Wednesday, November 20, 2013 10:34 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, August 26, 2014 5:24 PM
Points: 1, Visits: 7
Version control does more than just tracking changes to your code over time. It also does the following:

* Record the user who made the change (great for multiple developers)
* Allow you to branch the code (to try an idea, or develop a feature independently)
* Easily compare (via a Diff utility) two versions of a particular piece of code
* Selectively revert code changes at any point in time
* Keep a history of developer comments (for what changes were made to the code)
* Promotes code sharing by multiple people / computers
* Last point is important for automated builds (running unit tests like spUnit to verify code changes)

The Tortoise tools are excellent free UI tools for managing SVN, Git, CVS and Mercurial repositories and they include a good Diff tool (though BeyondCompare is the best I've used - and you can easily swap out the Diff utility with the Tortoise tools)
Post #1516135
Posted Wednesday, November 20, 2013 8:10 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: 2 days ago @ 10:03 PM
Points: 2,967, Visits: 2,569
kenreg (11/20/2013)
Version control does more than just tracking changes to your code over time. It also does the following:

* Record the user who made the change (great for multiple developers)
* Allow you to branch the code (to try an idea, or develop a feature independently)
* Easily compare (via a Diff utility) two versions of a particular piece of code
* Selectively revert code changes at any point in time
* Keep a history of developer comments (for what changes were made to the code)
* Promotes code sharing by multiple people / computers
* Last point is important for automated builds (running unit tests like spUnit to verify code changes)

The Tortoise tools are excellent free UI tools for managing SVN, Git, CVS and Mercurial repositories and they include a good Diff tool (though BeyondCompare is the best I've used - and you can easily swap out the Diff utility with the Tortoise tools)


Another potentially useful thing you can do is something I started with Bill Wunder's code way back when...I was responsible for ensuring that everyone was developing good quality code (you can choose how to define "good quality"). All I needed to do was to check what changed yesterday and you can very quickly educate everyone shortly after they write code that isn't up to scratch. I ended being called the "SQL Nazi" - mostly with affection



Post #1516297
Posted Thursday, November 21, 2013 2:25 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 5:32 AM
Points: 5,352, Visits: 3,047
kenreg (11/20/2013)
Version control does more than just tracking changes to your code over time. It also does the following:

* Record the user who made the change (great for multiple developers)
* Allow you to branch the code (to try an idea, or develop a feature independently)
* Easily compare (via a Diff utility) two versions of a particular piece of code
* Selectively revert code changes at any point in time
* Keep a history of developer comments (for what changes were made to the code)
* Promotes code sharing by multiple people / computers
* Last point is important for automated builds (running unit tests like spUnit to verify code changes)

The Tortoise tools are excellent free UI tools for managing SVN, Git, CVS and Mercurial repositories and they include a good Diff tool (though BeyondCompare is the best I've used - and you can easily swap out the Diff utility with the Tortoise tools)


You can also run tools like Lint or MS Code Analysis too as part of a Continuous Integration (CI) build to ensure compliance with coding standards.


Gaz

-- Stop your grinnin' and drop your linen...they're everywhere!!!
Post #1516355
Posted Thursday, November 21, 2013 8:06 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Yesterday @ 7:23 AM
Points: 281, Visits: 1,056
Version Control? What is this novel idea you speak of? Just joking.

Currently we don't really have anything in place to do this here. I would love to be able to tell what changed with a given update. I do love using Beyond Compare for comparing versions of code.

I haven't looked at any of the version software out there. (There is someone looking at it.) Back in the 'day', when I was a mainframe programmer we had a software that would show you the date and time each line in the code was last changed. It only kept about 25 versions I think, Vollie?? It's been too long now, not sure if that was the name. Anyway, I would love to have that kind tracking for our SQL changes. That way if someone didn't document what they were changing(who would do that ) I could see what lines of code changed by looking at the date on each line.

I can't cast any stones at my fellow developers for not documenting each change since I may be worse than others. I'm a man, I'm sorry, I'm trying, I can do better.
Post #1516446
Posted Thursday, November 21, 2013 10:41 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 8:00 PM
Points: 33,204, Visits: 15,354
below86 (11/21/2013)
Version Control? What is this novel idea you speak of? Just joking.

Currently we don't really have anything in place to do this here. I would love to be able to tell what changed with a given update. I do love using Beyond Compare for comparing versions of code.


Give one of them a try. They're free:

Subversion: http://subversion.tigris.org/
Git: http://git-scm.com/
Mercurial: http://mercurial.selenic.com/

Stick one on an old desktop and play with it. You might be surprised how easy it is.







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1516513
Posted Thursday, November 21, 2013 10:46 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Yesterday @ 7:23 AM
Points: 281, Visits: 1,056
Steve Jones - SSC Editor (11/21/2013)
below86 (11/21/2013)
Version Control? What is this novel idea you speak of? Just joking.

Currently we don't really have anything in place to do this here. I would love to be able to tell what changed with a given update. I do love using Beyond Compare for comparing versions of code.


Give one of them a try. They're free:

Subversion: http://subversion.tigris.org/
Git: http://git-scm.com/
Mercurial: http://mercurial.selenic.com/

Stick one on an old desktop and play with it. You might be surprised how easy it is.


I'll pass along the info here, for some reason they don't want me making that decission.
I may try it at home so I have an idea of what they can do.
Post #1516515
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse