phlegx / redmine_gitlab_hook

This plugin allows you to update your local Git repositories in Redmine when changes have been pushed to GitLab.
MIT License
218 stars 73 forks source link

Do I Understand setup correctly? #5

Closed punkrokk closed 10 years ago

punkrokk commented 10 years ago

Do I actually need to create the cronjob from the redmine setup? Or just do an initial repo sync? Also - Can I have 2 repos synced with one project or no?

octoquad commented 10 years ago

Just an intial repo sync with git clone --mirror git@example.com:namespace/project.git.

You should be able to sync two repos for a project. Setup the additional repo to sync in the project under Repositories tab in Redmine and set the identifier. Then use that identifier in GitLab when setting a project hook.