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

v 0.7.7 : issue with hierarchical redmine managed repo #275

Closed
raphaelkong opened this issue Sep 22, 2014 · 2 comments
Closed

v 0.7.7 : issue with hierarchical redmine managed repo #275

raphaelkong opened this issue Sep 22, 2014 · 2 comments
Assignees
Labels

Comments

@raphaelkong
Copy link

Did you managed to make the plugin work with sub repo in hierarchical mode ?

It doesn t seem to work very well when I want to push to a hierarchical repo ;
See logs below:

Here on a repo / project on the redmine root :

2014-09-22 16:59:34 +0200 INFO [GitCache] Removed '0' expired cache entries for repository 'MY_PROJECT'
2014-09-22 16:59:34 +0200 DEBUG [GitHosting] Lookup for git_cache_id with repository path 'repositories/MY_PROJECT.git' ...
2014-09-22 16:59:34 +0200 DEBUG [GitHosting] Found git_cache_id ('MY_PROJECT'), call cache...
2014-09-22 16:59:34 +0200 DEBUG [GitHosting] Send GitCommand : '/srv/redmine/redmine-2.5.2/plugins/redmine_git_hosting/bin/run_git_cmd_as_gitolite_user' '--git-dir' 'repositories/MY_PROJECT.git' '-c' 'core.quotepath=false' '-c' 'log.decorate=no' 'branch' '--no-color' '--verbose' '--no-abbrev'
2014-09-22 16:59:34 +0200 DEBUG [GitCache] Probing cache entry
2014-09-22 16:59:34 +0200 DEBUG [GitCache] '/srv/redmine/redmine-2.5.2/plugins/redmine_git_hosting/bin/run_git_cmd_as_gitolite_user' '--git-dir' 'repositories/MY_PROJECT.git' '-c' 'core.quotepath=false' '-c' 'log.decorate=no' 'branch' '--no-color' '--verbose' '--no-abbrev'
2014-09-22 16:59:35 +0200 DEBUG [GitCache] Inserting cache entry for repository 'MY_PROJECT'
2014-09-22 16:59:35 +0200 DEBUG [GitCache] '/srv/redmine/redmine-2.5.2/plugins/redmine_git_hosting/bin/run_git_cmd_as_gitolite_user' '--git-dir' 'repositories/MY_PROJECT.git' '-c' 'core.quotepath=false' '-c' 'log.decorate=no' 'branch' '--no-color' '--verbose' '--no-abbrev'
2014-09-22 16:59:35 +0200 DEBUG [GitHosting] Lookup for git_cache_id with repository path 'repositories/MY_PROJECT.git' ...
2014-09-22 16:59:35 +0200 DEBUG [GitHosting] Found git_cache_id ('MY_PROJECT'), call cache...
2014-09-22 16:59:35 +0200 DEBUG [GitHosting] Send GitCommand : '/srv/redmine/redmine-2.5.2/plugins/redmine_git_hosting/bin/run_git_cmd_as_gitolite_user' '--git-dir' 'repositories/MY_PROJECT.git' '-c' 'core.quotepath=false' '-c' 'log.decorate=no' 'log' '--no-color' '--encoding=UTF-8' '--raw' '--date=iso' '--pretty=fuller' '--parents' '--stdin' '--reverse'
2014-09-22 16:59:35 +0200 DEBUG [GitCache] Probing cache entry
2014-09-22 16:59:35 +0200 DEBUG [GitCache] '/srv/redmine/redmine-2.5.2/plugins/redmine_git_hosting/bin/run_git_cmd_as_gitolite_user' '--git-dir' 'repositories/MY_PROJECT.git' '-c' 'core.quotepath=false' '-c' 'log.decorate=no' 'log' '--no-color' '--encoding=UTF-8' '--raw' '--date=iso' '--pretty=fuller' '--parents' '--stdin' '--reverse'
[GitCache]28577b7f589033a0998bff9bf839328f640254e9

Here a repo with a hierarchical structure

2014-09-22 17:02:52 +0200 INFO [GitCache] Removed '0' expired cache entries for repository 'MY_SUB_PROJECT'
2014-09-22 17:02:52 +0200 DEBUG [GitHosting] Lookup for git_cache_id with repository path 'repositories/MY_SUB_PROJECT.git' ...
2014-09-22 17:02:52 +0200 DEBUG [GitHosting] Found git_cache_id ('MY_SUB_PROJECT'), call cache...
2014-09-22 17:02:52 +0200 DEBUG [GitHosting] Send GitCommand : '/srv/redmine/redmine-2.5.2/plugins/redmine_git_hosting/bin/run_git_cmd_as_gitolite_user' '--git-dir' 'repositories/MY_SUB_PROJECT.git' '-c' 'core.quotepath=false' '-c' 'log.decorate=no' 'branch' '--no-color' '--verbose' '--no-abbrev'
2014-09-22 17:02:52 +0200 DEBUG [GitCache] Probing cache entry
2014-09-22 17:02:52 +0200 DEBUG [GitCache] '/srv/redmine/redmine-2.5.2/plugins/redmine_git_hosting/bin/run_git_cmd_as_gitolite_user' '--git-dir' 'repositories/MY_SUB_PROJECT.git' '-c' 'core.quotepath=false' '-c' 'log.decorate=no' 'branch' '--no-color' '--verbose' '--no-abbrev'
2014-09-22 17:02:52 +0200 DEBUG [GitCache] Inserting cache entry for repository 'MY_SUB_PROJECT'
2014-09-22 17:02:52 +0200 DEBUG [GitCache] '/srv/redmine/redmine-2.5.2/plugins/redmine_git_hosting/bin/run_git_cmd_as_gitolite_user' '--git-dir' 'repositories/MY_SUB_PROJECT.git' '-c' 'core.quotepath=false' '-c' 'log.decorate=no' 'branch' '--no-color' '--verbose' '--no-abbrev'
2014-09-22 17:02:52 +0200 ERROR [GitCache] Git exited with non-zero status : 128
2014-09-22 17:02:52 +0200 DEBUG [GitHosting] /srv/redmine/redmine-2.5.2/plugins/redmine_git_hosting/bin/run_git_cmd_as_gitolite_user --git-dir='repositories/system/server/puppet/MY_SUB_PROJECT.git' rev-list --reverse 7087ee9f0aaa32d48579f201ad3aa97fbc0d9a26 2>&1

Regards,

@n-rodriguez n-rodriguez self-assigned this Sep 24, 2014
@n-rodriguez
Copy link
Contributor

Did you managed to make the plugin work with sub repo in hierarchical mode ?

Yes! But I guess you didn't read it : #199.

@raphaelkong
Copy link
Author

In fact, in my case (migration from redmine 1.2 to 2.5) I think the main issue was the data inside the table ; once clean up (field extra_info) most of my issue disapears :D
Thx for your answer !

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

No branches or pull requests

2 participants