Jump to content
Sign in to follow this  
JanetGilbert

Exclusive locks

Recommended Posts

How do I set up the cloud edition so that artists can use exclusive locks but coders don't have to? I want it to give an error if a developer tries to push a checkin to the server that tries to change a file that an artist has checked out.

Is this possible?

I see a lot of references to lock.conf in the documentation, but I'm not sure if this is needed for the cloud. I've set up the cloud admin page to have lock rules for the repository in question, but it didn't create a lock.conf file on disk... was it meant to?

Share this post


Link to post
Share on other sites

Hi,

From your organization panel at "cloud.plasticscm.com" you can configure custom lock rules for your repos based and path, file extension...You don't need to manually create a "lock.conf". This is only necessary for hosted servers. For cloud servers, you just need to use this panel

If you are going to use locks, you have to follow a centralized workflow, users directly committing to the central cloud server. If the developers are following a distributed workflow (push/pull branches from a local repo), the locking is not going to work.

More info regarding the locking workflow:

https://www.plasticscm.com/book/#_locking_avoiding_merges_for_unmergeable_files

Regards,

Carlos.

Share this post


Link to post
Share on other sites

I have a repository "MyProj@local" pointing to "MyProj@MyCompany@cloud"

I presume you mean I need to get rid of MyProj@local?

How do I do this? I set it up with the default settings.

Share this post


Link to post
Share on other sites

The default workflow for the Plastic GUI is working distributed (no locks) and the default workflow for Gluon is working centralized (with locks).

But you can also configure the Plastic GUI to work fully centralized with locks.

Regards,

Carlos.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...