So far automating the process of creating a project/repo and setting up our workflow has been a breeze with the Gitlab API. The only thing missing would be the possibility to protect the stable (or any) branch for the owner.
But maybe there's another way to do so (automatically) ?
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
I'm not a ruby man so make of it what you will, does the job I need it to. Would be nice to see a proper interface for (un)protecting branches, and a protected attribute in the Branch hash.
By Administrator on 2012-11-27T14:41:17 (imported from GitLab project)
By Administrator on 2012-11-27T14:41:17 (imported from GitLab)
@m4tthumphrey -- Have you opened a pull request to add this in to Gitlab yet? I too am interested in the same functionality. I agree with all of your suggested improvements per the code you posted above.
Thanks,
Micah
By Administrator on 2013-01-17T19:41:53 (imported from GitLab project)
By Administrator on 2013-01-17T19:41:53 (imported from GitLab)
@mphuff No I haven't created a PR because I'm not comfortable enough with Ruby yet, I only added that code to get what I needed out of it. Would need to add a test and I don't know my contribution is good enough/implemented correctly. Feel free to take it and make a PR out of it though!
Also this doesn't provide functionality to unprotect a branch.
By Administrator on 2013-01-17T20:04:55 (imported from GitLab project)
By Administrator on 2013-01-17T20:04:55 (imported from GitLab)