Project templates in Gitlab upon creation
Project templates in Gitlab upon creation
What is the cleanest way to create a project in a self hosted gitlab with predefined (dynamically generated) files?
Concretely, I want to create a git repo on gitlab that upon creation contains all the files of a basic iOS project already. I just have to clone it and just start developing, instead of creating the project locally and then push it up to Gitlab.
Anyone?
I was looking into the gitlab-shell and the creation hook in gitlab-project: https://github.com/gitlabhq/gitlab-shell/blob/master/lib/gitlab_projects.rb
Am I about to embark on a world of pain following this method? Is there something already out there that makes it easy to hook up at the application level?
It's almost builtin gitlab.com/gitlab-org/gitlab-ce/issues/48043
– Joost Evertse
Jun 26 at 7:34
Otherwise create a python or your fav scripting language script that automates the local stuff by using the gitlab api? (or put it in a container)
– Joost Evertse
Jun 26 at 7:35
1 Answer
1
Now supported in Gitlab 11.2: https://about.gitlab.com/2018/08/22/gitlab-11-2-released/
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
have you found any solution to this?
– Stephan
Jun 22 '15 at 12:58