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

inconsistent url's of hierarchical repositories in sub-projects #317

Closed
dgeo opened this Issue Dec 17, 2014 · 3 comments

Comments

Projects
None yet
2 participants
@dgeo

dgeo commented Dec 17, 2014

Hi !
I re-read #199 and #217 (and #210), re-tested with v0.7.8 (but not 0.8), and I still have a problem this case:

  • hierarchical repositories/non-unique identifiers
  • create a project 'parentproject'
  • create a sub project 'parentproject/subproject'
  • create a non-default repository 'subrepository.git'

Here the inconsistence:

  • real gitolite repo is created as parentproject/subrepository.git (works via ssh, repository page is consistent with that while not initialized) - I expected parentproject/subproject/subrepository.git
  • after first push, nothing new appears, in debug log i find that run_git_cmd_as_gitolite_user is launched with parentproject/subproject/subrepository.git (and returns 128 - it doesn't exist)
  • database's 'repositories.url' and 'repositories.root_url' both list repositories/parentproject/subproject/subrepository.git
  • changing url in database to parentproject/subrepository.git makes all work, but not satisfactory as it should have been in parentproject/subproject/subrepository.git (repositories ID's may conflict in this case)
  • manually changing repository and database to parentproject/subproject/subrepository.git makes all work (mv repository, edit /tmp/redmine_git_hosting/git/gitolite-admin.git/conf/gitolite.conf as redmine user and git push it, change origin url on git clones)

Thank you once more !

ps: I didn't forget I owe your a beer…

@n-rodriguez n-rodriguez added the bug label Dec 20, 2014

@n-rodriguez n-rodriguez self-assigned this Dec 20, 2014

n-rodriguez added a commit that referenced this issue Dec 20, 2014

@n-rodriguez

This comment has been minimized.

Show comment
Hide comment
@n-rodriguez

n-rodriguez Dec 20, 2014

Member

You now owe me 2 beers :)

Member

n-rodriguez commented Dec 20, 2014

You now owe me 2 beers :)

@dgeo

This comment has been minimized.

Show comment
Hide comment
@dgeo

dgeo Dec 21, 2014

Thank you !
2 beers... But next year...
Bon bout d'an

dgeo commented Dec 21, 2014

Thank you !
2 beers... But next year...
Bon bout d'an

@n-rodriguez

This comment has been minimized.

Show comment
Hide comment
@n-rodriguez

n-rodriguez Dec 21, 2014

Member

Pas de soucis :)
Bon bout d'an à toi aussi !

Member

n-rodriguez commented Dec 21, 2014

Pas de soucis :)
Bon bout d'an à toi aussi !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment