SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


It Starts with Version Control


It Starts with Version Control

Author
Message
Steve Jones
Steve Jones
SSC Guru
SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)

Group: Administrators
Points: 64495 Visits: 19117
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
My Blog: www.voiceofthedba.com
Gary Varga
Gary Varga
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16739 Visits: 6534
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!!!
nycdotnet
nycdotnet
SSC-Enthusiastic
SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)

Group: General Forum Members
Points: 181 Visits: 360
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/
Steve Jones
Steve Jones
SSC Guru
SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)

Group: Administrators
Points: 64495 Visits: 19117
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
My Blog: www.voiceofthedba.com
kenreg
kenreg
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 34
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)
happycat59
happycat59
SSCarpal Tunnel
SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)

Group: General Forum Members
Points: 4801 Visits: 3227
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



Gary Varga
Gary Varga
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16739 Visits: 6534
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!!!
below86
below86
SSC Eights!
SSC Eights! (945 reputation)SSC Eights! (945 reputation)SSC Eights! (945 reputation)SSC Eights! (945 reputation)SSC Eights! (945 reputation)SSC Eights! (945 reputation)SSC Eights! (945 reputation)SSC Eights! (945 reputation)

Group: General Forum Members
Points: 945 Visits: 2446
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 :WhistlingSmile 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. :-P

-------------------------------------------------------------
we travel not to escape life but for life not to escape us
Steve Jones
Steve Jones
SSC Guru
SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)

Group: Administrators
Points: 64495 Visits: 19117
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
My Blog: www.voiceofthedba.com
below86
below86
SSC Eights!
SSC Eights! (945 reputation)SSC Eights! (945 reputation)SSC Eights! (945 reputation)SSC Eights! (945 reputation)SSC Eights! (945 reputation)SSC Eights! (945 reputation)SSC Eights! (945 reputation)SSC Eights! (945 reputation)

Group: General Forum Members
Points: 945 Visits: 2446
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.

-------------------------------------------------------------
we travel not to escape life but for life not to escape us
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search