Skip to content

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

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

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

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

dgeo opened this issue Dec 17, 2014 · 3 comments
Assignees
Labels

Comments

@dgeo
Copy link

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 self-assigned this Dec 20, 2014
n-rodriguez pushed a commit that referenced this issue Dec 20, 2014
@n-rodriguez
Copy link
Contributor

You now owe me 2 beers :)

@dgeo
Copy link
Author

dgeo commented Dec 21, 2014

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

@n-rodriguez
Copy link
Contributor

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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants