8000 Fix remaining problems with Redmine 2.2.1 by ebastien · Pull Request #52 · ivyl/redmine-gitolite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on May 20, 2020. It is now read-only.

Fix remaining problems with Redmine 2.2.1 #52

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ebastien
Copy link

Here are the small changes required on my configuration to get a functional redmine-gitolite on top of Redmine 2.2.1.
By the way, thanks for the plugin, it's really great!
-- Emmanuel

@hidabe
Copy link
hidabe commented Jan 19, 2013

Thanks you,

I have try it and it work, but... i have problem with my configuration, i dont know it has relation with Redmine version.

I have: Repository does not exist. Create one using the instructions below.

If i try git clone... with same params from terminal, i get project, but from Redmine it show me error.

I have tried clone with Redmine user and it is ok. But i use passenger, and i have tried clone with Apache user (www-data), and it dont work).

Any suggest? I think that your fix is ok, do you have check it?

Regards, very thanks!

@hidabe
Copy link
hidabe commented Jan 19, 2013

Uhm... i think that maybe any bug, when i was try configuring SSH keys... it show error,

In log:

Started GET "/public_keys" for 79.148.82.203 at Sat Jan 19 21:05:22 +0100 2013

SyntaxError (/home/redmine/plugins/redmine_gitolite/app/controllers/gitolite_public_keys_controller.rb:19: syntax error, unexpected ':', expecting ')'
scope = scope.where(active: true) if @status
^):
activesupport (3.2.10) lib/active_support/dependencies.rb:251:in require' activesupport (3.2.10) lib/active_support/dependencies.rb:251:inrequire'
...

@ebastien
Copy link
Author

Hi,
As stated in #49, this syntax in only valid with Ruby 1.9.
It can easily be fixed to work with 1.8 though. Replace:

active: true

by

:active => true

But I don't know if the plugin is supposed to be kept backward compatible with Ruby 1.8.
-- Emmanuel

@hidabe
Copy link
hidabe commented Jan 20, 2013

Thanks, very thanks, it work,

Now i only need configure... because it show again: "Repository does not exist. Create one using the instructions below."

Maybe that i need read installation instructions again ;)

@missedone
Copy link

hi,

i have same problem as hidabe stated in comment #issuecomment-12460163:

Repository does not exist. Create one using the instructions below.

even I pushed some changes to the git repo, but I still got the same error when I tried to view the git repo on "Repository" tab of redmine.

there is no error in the log file.

redmine 2.2.3
ruby 1.9.3
rails 3.2.12

@hidabe
Copy link
hidabe commented Feb 20, 2013

Please, help us! ;) thanks

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

Successfully merging this pull request may close these issues.

3 participants
0