Gitlab hooks for Studio
Hi
I am in the process of trying to implement version control software with studio. Has anyone got any recommendations (either Linux based/windows based) as a place to start I have installed Gitlab and I wanted to know whether anyone has come across any obstacles using this.
I was also wondering whether anyone has developed any hooks for Gitlab that works well with Studio as I would prefer if there was a more integrated solution with studio? Any help with this would be great.
Thank you.
Kind Regards,
Salma
Why would you hack around Studio to mimic what is ready to use in Atelier ?
Possibly the OP has to work with a version of Cache / Ensemble etc that doesn't support Atelier?
Use any of the existing Git hooks for Studio or Atelier. They would work with GitHub and GitLab both.
See this thread which discusses several options for server-side Studio hooks for Git:
https://community.intersystems.com/post/are-there-server-side-git-studio...
NOTE - in my use-case I was looking for server-side hooks in order to allow concurrent server-based development, and I discovered that Git is very poorly suited for that purpose. I ended up abandoning Git and using Perforce instead for my demo (Perforce is very well suited for server-side hooks with concurrent server-based development). If you are you already operating in a single-developer / single instance setup and if you can move to one of the very latest versions of the product (2017.2.0+ or 2017.1.2+) then you should take a look at Atelier with client-side source control hooks.
For a thorough review of the different development models (private instance vs shared instance) and the different source control hook approaches (client-side vs server-side), I highly recommend that you watch the following session from last year' Global Summit:
https://learning.intersystems.com/course/view.php?id=713
2021 Update - there is now a solution available that fills this need: https://community.intersystems.com/post/git-shared-development-environments
If you're not already committed(!) to using Git, maybe consider Deltanji from George James Software (my employer) as a source code management solution running natively inside the InterSystems environment.
Hi All,
Thank you all for your comments, I am currently using 2017.1 of Healthshare/Healthconnect, I am assuming I can use Atelier with this version. How different is Atelier to studio and are there downsides to using Atelier. Thank you so much for your help.
Kind Regards,
Salma
Salma