Require Comment on Commit

A SQL Server Management Studio add-in to source control your database in Subversion or Team Foundation Server.

Moderators: Chris Auckland, David Atkinson, sherr, PhilScrace, andy.campbell.smith

Require Comment on Commit

Postby JuanP » Wed Oct 10, 2012 10:36 pm

Is it possible to require comments when committing changes?
JuanP
 
Posts: 3
Joined: Wed Oct 10, 2012 10:31 pm

Postby David Atkinson » Wed Oct 10, 2012 10:49 pm

Which source control system are you using?
David Atkinson
 
Posts: 1124
Joined: Mon Dec 05, 2005 4:54 pm
Location: Twitter: @dtabase

Postby JuanP » Wed Oct 10, 2012 11:00 pm

Microsoft's TFS
JuanP
 
Posts: 3
Joined: Wed Oct 10, 2012 10:31 pm

Postby David Atkinson » Wed Oct 10, 2012 11:06 pm

It's not possible to enforce this yet, but we hope to add this at some point (probably in 2013). Unfortunately TFS doesn't enforce this at the server side, which means that clients can ignore any policy!

You could in theory use SQL Connect instead if you really need to enforce this, and don't mind working in Visual Studio.
David Atkinson
 
Posts: 1124
Joined: Mon Dec 05, 2005 4:54 pm
Location: Twitter: @dtabase

Postby JuanP » Wed Oct 10, 2012 11:19 pm

Well, here's to the future. Thanks for the prompt reply.
JuanP
 
Posts: 3
Joined: Wed Oct 10, 2012 10:31 pm

Postby Anna Hall » Fri Apr 19, 2013 11:02 am

TFS policy checking has been added and is available in the latest version of SQL Source Control (3.3.1) which can be downloaded here: http://download.red-gate.com/checkforupdates/SQLSourceControl/SQLSourceControl_3.3.1.30.exe.

If you set up a TFS policy to check for commit comments then SQL Source Control will now evaluate this. (See here for details on setting up a commit comment policy: http://stackoverflow.com/questions/13980521/team-foundation-service-mandatory-comments-on-check-in.)

Anna Hall
Red Gate developer
Anna Hall
 
Posts: 3
Joined: Fri Apr 19, 2013 10:40 am


Return to SQL Source Control 3

Who is online

Users browsing this forum: No registered users and 0 guests