Andy Moore Posted April 8, 2020 Report Share Posted April 8, 2020 Is there a way to require comments on checkin? I keep accidentally hitting the checkin button and away things go. I don't mean the "warn about empty comments" on the client, but an actual server-config that requires them from everybody? Link to comment Share on other sites More sharing options...
Héber Posted April 13, 2020 Report Share Posted April 13, 2020 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 More sharing options...
Andy Moore Posted May 29, 2020 Author Report Share Posted May 29, 2020 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 More sharing options...
Héber Posted June 1, 2020 Report Share Posted June 1, 2020 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now