Red Gate forums :: View topic - Require Comment on Commit
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Source Control 3
SQL Source Control 3 forum

Require Comment on Commit

Search in SQL Source Control 3 forum
Post new topic   Reply to topic
Jump to:  
Author Message
JuanP



Joined: 10 Oct 2012
Posts: 3

PostPosted: Wed Oct 10, 2012 10:36 pm    Post subject: Require Comment on Commit Reply with quote

Is it possible to require comments when committing changes?
Back to top
View user's profile Send private message
David Atkinson



Joined: 05 Dec 2005
Posts: 1108

PostPosted: Wed Oct 10, 2012 10:49 pm    Post subject: Reply with quote

Which source control system are you using?
Back to top
View user's profile Send private message Send e-mail
JuanP



Joined: 10 Oct 2012
Posts: 3

PostPosted: Wed Oct 10, 2012 11:00 pm    Post subject: Reply with quote

Microsoft's TFS
Back to top
View user's profile Send private message
David Atkinson



Joined: 05 Dec 2005
Posts: 1108

PostPosted: Wed Oct 10, 2012 11:06 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
JuanP



Joined: 10 Oct 2012
Posts: 3

PostPosted: Wed Oct 10, 2012 11:19 pm    Post subject: Reply with quote

Well, here's to the future. Thanks for the prompt reply.
Back to top
View user's profile Send private message
Anna Hall



Joined: 19 Apr 2013
Posts: 3

PostPosted: Fri Apr 19, 2013 11:02 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group