Last month I posted on Mario Rodriguez's blog post in which he was requesting community feedback regarding TFS Version Control Check-In policies. As a result of the feedback which was received, the TFS Version Control team is going to be releasing a Control Check-In Policy Pack.
In his latest post the current goals of the pack of policies are described:
Check-in policy granularity: there is one already in Code Gallery and what we will do is package this, change some of the UI and take out some of the complexity
Work-Item Associations: This is a very cool one that I hope many of you will find useful. You get to specify a query and if the associated work items by the developer are not part of the query results the check-in is blocked. This is very useful when it comes to making sure that check-ins are always associated with approved bugs.
Banned files: this policy allows you to specify a file extension or a regular expression in order to keep files that you don’t want out of version control. This is usually used for dll’s, build artifacts, or some website files that are automatically generated.
Check-in Comments: this policy gets shipped as part of the SDK. It looks at the check-in comments and makes sure it is not blank.