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

svn: E165001: Hook /opt/gitlab/embedded/service/gitaly-ruby/git-hooks/pre-receive failed with output: error executing git hook "error executing git hook" on svn commit... #355

Closed
wehall opened this issue Jun 29, 2020 · 3 comments
Labels
bug gitlab GitLab integration

Comments

@wehall
Copy link

wehall commented Jun 29, 2020

gitlab-ce v13.1.1-ce svn commit fails as titled,
"level=fatal msg="error when getting repository: GITALY_REPO not found" in /var/log/gitlab/gitaly/gitaly_hooks.log

git push environment includes GITALY_REPO variable:
GITALY_REPO={"storageName":"default","relativePath":"@hashed/d4/73/d4735e3a265e16eee03f59718b9b5d03019c07d8b6c51f90da3a666eec13ab35.git","glRepository":"project-2","glProjectPath":"root/testproject"}

@slonopotamus slonopotamus added bug gitlab GitLab integration labels Jun 29, 2020
@slonopotamus
Copy link
Collaborator

GitLab guys can't stop adding more and more env variables required to run hooks :(

slonopotamus added a commit to slonopotamus/git-as-svn that referenced this issue Jun 29, 2020
@slonopotamus
Copy link
Collaborator

https://gitlab.com/gitlab-org/gitaly/-/issues/2902
In 13.2 this stuff is all messed up again :(

slonopotamus added a commit that referenced this issue Jul 27, 2020
resolves #355 fix compatibility with GitLab 13.1+
@slonopotamus
Copy link
Collaborator

This was fixed in git-as-svn 1.27.0

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

No branches or pull requests

2 participants