Vault 4.0 Deny Exclusive Checkouts
Moderator: SourceGear
Vault 4.0 Deny Exclusive Checkouts
I just looked at Vault 4.0 today. Is there still no way to prevent people from checking out files exclusively?
Are you serious? Only one person other than myself made this request? The CVS style checkout is veritably worthless without it. I'm stunned that it even needed to be requested. Think about it. If you want to enforce CVS style check-outs, you can't if users can still request exclusive checkouts via VS and the old API.
This is close to a deal killer for me. I desperately want to move to merge style checkout system but if I cannot enforce it, then Vault looks less viable and a product like Perforce starts to make more sense.
This is close to a deal killer for me. I desperately want to move to merge style checkout system but if I cannot enforce it, then Vault looks less viable and a product like Perforce starts to make more sense.
-
- Posts: 22
- Joined: Thu Jan 19, 2006 10:05 am
- Location: Tam Tam BV, The Netherlands
- Contact:
I second that motion
Not that we have any real problems with this, but I do agree that this should be a repository of server option !
A quick note, even with this feature, disallowing exclusive checkouts will never fully go away. Non mergable or binary files will always require exclusive checkouts as a merge of other changes is not possible.
Is there a reason user's are escalating to exclusive locks? Assuming your repository's file extension list is up to date (or the files are marked as mergeable), then all checkout locks should be non-exclusive. Also note, in Edit, Merge, and Commit mode you do not have to necessarily checkout files. Just start editing them within the working folder, and Vault will handle the rest.
Is there a reason user's are escalating to exclusive locks? Assuming your repository's file extension list is up to date (or the files are marked as mergeable), then all checkout locks should be non-exclusive. Also note, in Edit, Merge, and Commit mode you do not have to necessarily checkout files. Just start editing them within the working folder, and Vault will handle the rest.
Jeff Clausius
SourceGear
SourceGear
Correct me if I'm wrong, but the default API in Visual Studio is the old MSSCCI API. The developer has to consciously change the configuration in their instance of Vault in order to enable Edit-Merge-Commit style checkouts. Is that not correct?
If my goal is to move developers off of exclusive checkouts onto Edit-Merge-Commit style I have no way of forcing them to change. What's worse is that they can revert at any time.
If my goal is to move developers off of exclusive checkouts onto Edit-Merge-Commit style I have no way of forcing them to change. What's worse is that they can revert at any time.
For unbound projects, no. The Vault 4/Fortress 1 installation configures the new VSIP (VS 2005 IDE) client as default. But for projects already bound to previous versions of Vault, Visual Studio will still use the bindings found in the solution / project files.ThomasC wrote:Correct me if I'm wrong, but the default API in Visual Studio is the old MSSCCI API. The developer has to consciously change the configuration in their instance of Vault in order to enable Edit-Merge-Commit style checkouts. Is that not correct?
Here's the scoop. If you're using the MSSCCI IDE client (Vault 3.5.2 and earlier or Vault 4/Fortress 1 VS 2003 Compatible IDE Client), then Microsoft forces a Checkout, Edit, Merge, and Commit model. That is the nature of Microsoft's API.
However, with our new VS 2005 IDE Client for Vault 4/Fortress VS 2005 , then you can choose either Checkout, Edit, Merge, and Commit or Edit, Merge, and Commit.
If you change the bindings to the new VS 2005 IDE client, then all other developers will be switched to the new VS2005 client once they've done a GET of the newly bound solution / project(s). Then it is just a matter of them switching their SCC options to use Edit, Merge, and Commit.ThomasC wrote:If my goal is to move developers off of exclusive checkouts onto Edit-Merge-Commit style I have no way of forcing them to change. What's worse is that they can revert at any time.
Last edited by jclausius on Tue Jun 05, 2007 9:23 am, edited 2 times in total.
Jeff Clausius
SourceGear
SourceGear
The Admin configures the repository to always use exclusive locks or do not enforce exclusive locks. In regards to a setting to not allowing exclusive locks, as stated above, exclusive locks can never be fully eliminated due to binary and non-mergeable files.ThomasC wrote:Let me add one more thought, does it not seem obvious that if you are going to provide a feature that lets Admins restrict users to one style of checkout (Require exclusive checkouts) that it makes sense to have a feature that let's Admins restrict users to the other style checkout?
FWIW, if exclusive locks are not enforced on the repository and the file is recognized as mergeable, then it is up to the user to decide the lock type. This can be done on the checkout dialogs within the Vault GUI or the Visual Studio IDE for each and every checkout when using Checkout, Edit, Merge, and Commit mode.
If a file is mergeable and exclusive locks are still being applied, then it is most likely the file is not set as mergeable in its properties, or within the repository's mergeable file extension list.
Jeff Clausius
SourceGear
SourceGear
I'd love to but the problem is that I have developers with a range of experience in separate locations and they can be difficult to control. ;-> The real bugger is project files. I can somewhat live with exclusive checkouts on individual cs and markup files but allowing developers to exclusively checkout the project file makes life a chore because no one can add files to the project while someone has it checked out exclusively.
I don't want any of my users checking anything out exclusively, if I have such an option set to deny. I have had problems where another developer loses a day of work because another developer has something checked out exclusively. I try to tell them how to configure SCC but regardless, I check via Vault GUI and they have exclusive checkouts! I would actually like a permission such that a permission group can checkout exclusive, but "regular" users would not have this privilege. Only experienced devs in my organization would be allowed exclusive checkout, or program managers, etc.