Jump to content

Require comments on checkin?


Recommended Posts

Hi Andy,

 

I'm afraid there is no option to make sure a checkin has a comment by default, but you could create a before checkin trigger that ensures there is one.

You have an example that does that exactly here: 

https://www.plasticscm.com/documentation/triggers/plastic-scm-version-control-triggers-guide

 

Best regards,

Héber.

Link to comment
Share on other sites

  • 1 month later...

Thanks for that link. For future google searches, the exact link to the example is here:

https://www.plasticscm.com/documentation/triggers/plastic-scm-version-control-triggers-guide#Trigger_Sample_Checkin_Comments

@Héber, does ruby come installed with PlasticSCM? We can't install ruby on client machines, I'm not sure if that example would actually work on all the machines. Is there a generic variant or does ruby work with all Plastic installs?

We can install ruby on our server if there is a server-trigger that would work for the same purposes.

Link to comment
Share on other sites

Hi Andy,

 

No, Plastic doesn't install Ruby, but it was given as an example. You can use the same trigger in the language that better suits you. For example, a lot of users use Python.

Quote

We can install ruby on our server if there is a server-trigger that would work for the same purposes.

That would be an option too. Server-side triggers do work for checkin operations, so it should be fine.

Let me know how it goes or if you need asistance with it.

 

Best,

Héber.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...