Project

General

Profile

Redmine+GIT integration, missing field for Repository path

Added by Andre Nandes over 9 years ago

Good morning everyone.

I have been recently implementing a redmine server on an Ubuntu server. I have succeeded, but now I'm struggling on the simple task of integrating GIT.

Most tutorials I have seen here on the HowTo's and a couple of forums as well say that we should go into Administration/Settings/Repositories , enable the proper SCM (in this case, GIT) and insert the Repository path for such SCM. However, on my Redmine, I don't have such a field. I have attached a screenshot of the page (repo.jpg).

I have 2 folders in my computer, I'm not using GitHub:
- the local git folder (created with git init) on /usr/share/redmine/.git
- the "remote" bare git folder (created with git init --bare) on /usr/local/remoteGit
And I am only on the master branch so far. I have commited 1 file so far, a simple text file so the repo isn't empty.

I have tried editing the config/configuration.yml file to add the repository URL to the scm_git_command:, but no luck.

I have also attached the Information page containing all versions of the relevant pieces (redmine 3.0.3, ruby 1.9.3, git 2.4.2, etc)

Am I missing something really basic? I'm not realizing my mistake from the available documentation. How do I integrate my GIT repository on my Redmine?

Hoping for your help.
Thank you very much in advance.

repo.JPG (54.8 KB) repo.JPG Screenshot of repository page
info.JPG (44.5 KB) info.JPG Information of versions

Replies (2)

RE: Redmine+GIT integration, missing field for Repository path - Added by Dmitry Alifanov over 9 years ago

Create project. Include module Repjsitories. In settings -> Repositories -> New repository. Path to repository.

RE: Redmine+GIT integration, missing field for Repository path - Added by Andre Nandes over 9 years ago

Wow, that was easy. I was looking at the general Repository instead of the project related Repository, which I didn't notice was a thing. Thanks a lot Dmitry!

    (1-2/2)