Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redmine 2.0 support? #161

Open
krische opened this issue Jun 26, 2012 · 3 comments
Open

Redmine 2.0 support? #161

krische opened this issue Jun 26, 2012 · 3 comments

Comments

@krische
Copy link

krische commented Jun 26, 2012

Does this plugin work under Redmine 2.0?

I tried installing it, but when trying to rake, I was getting errors about the RAILS_ROOT constant being uninitialized. So I edited the init.rb file to just hardcode my path instead of using RAILS_ROOT.

However, after doing that, I receive a "cannot load such file -- dispatcher" error.

Any ideas?

@stefanotravelli
Copy link

RAILS_ROOT can be replaced with Rails.root however the result is always "cannot load such file --dispatcher".

Following this http://www.redmine.org/boards/3/topics/30423 I was able to fix this error too, however then other troubles arise.

A proper porting of the plugin to Rails3/Redmine2 would be needed.

@MichaelKling
Copy link

This work seems to work on it: https://github.com/Liberty-Concepts/redmine_git_hosting/commits/master

Don't know yet how good it is working, still researching possibilities for our new software frame.

@MichaelKling
Copy link

ericpaulbishop merged it here in a new branch.

As i said i wanted to test it and its still not fully working.
I had the following problems:

  1. Creating a new repository in the redmine failed - it only works if you choose the option to create a repository automatically on project creation
  2. Redmine didnt push the gitolite settings - in redmine itself key generation and everything was working but nothing in gitolite
  3. In the shell scripts (git to redmine user, redmine user to git, etc..) are hardcoded usernames for the gitolite user. This leads to issues (especially because there is the option in the plugin configuration to change the username - but is not taken into concideration)
  4. It overwrites the "git repository" in redmine, it is not possible to have external not self hosted git repositories and own repositories in the same project.

There are more issues - i will take a closer look tomorrow. Also it is possible that i did things wrong and therefore some of the issues are my fault.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants