Repository not being automatically created
Added by mipper mipper over 12 years ago
I’m trying to configure the scm_creator plugin to automatically create a repo upon project creation but I’m not having much success. The new project page has the Repository module correctly checked and greyed out. Once create is clicked no repository is created and the Repository checkbox on the modules tab of the project settings page is unchecked.
If I turn the Repository checkbox on and save, the Repository tab becomes visible and switching to it allows a repository to be created. (Though the URL defaults to a path with ignores the path: setting in the config file.)
What am I doing wrong? I’ve tried this for subversion and git and I’ve tried auto_create as force & true to no avail.
production:
deny_delete: true
auto_create: force
force_repository: true
only_creator: true
allow_add_local: false
allow_pickup: false
max_repos: 1
pre_create: /usr/local/bin/pre-create.sh
post_create: /usr/local/bin/post-create.sh
pre_delete: /usr/local/bin/pre-delete.sh
post_delete: /usr/local/bin/post-delete.sh
svn:
path: /var/scm/svn
svnadmin: /opt/bitnami/subversion/bin/svnadmin
#url: svn
git:
path: /var/scm/git
git: /opt/bitnami/git/bin/git
options: --bare
#url: http://10.0.2.15/
update_server_info: true
git_ext: true
append: trunk
Replies (1)
RE: Repository not being automatically created - Added by Andriy Lesyuk about 12 years ago
Can only guess, what’s wrong... Is your scm.yml
correctly formatted? I.e., are configs padded with spaces at the beginning? Please attach the config instead of pasting it.