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

Add Gitolite support #391

Open
SirIntellegence opened this issue Mar 5, 2021 · 3 comments
Open

Add Gitolite support #391

SirIntellegence opened this issue Mar 5, 2021 · 3 comments

Comments

@SirIntellegence
Copy link

Gitolite adds an update hook for itself in the git repository that returns an error when trying to do an svn check-in. See the second item at https://gitolite.com/gitolite/emergencies.html#common-errors. Removing/renaming the update hook so it doesn't get executed fixes git-as-svn while breaking Gitolite.

@slonopotamus
Copy link
Collaborator

slonopotamus commented Mar 5, 2021

Uh. I've got news for you. It's very likely that you're the very first person in the world that tries to set up git-as-svn on top of Gitolite. There are successful installations of git-as-svn + Gitea, git-as-svn + GitLab and git-as-svn + raw git repo. But it is very likely that Gitolite requires some special handling. Link that you gave says that Gitolite does not want its ssh access to be bypassed, but that's exactly how git-as-svn works! We will most likely need to figure out what things exactly Gitolite expects and pass it (in the context of the user who makes a commit through git-as-svn).

But first, would you kindly show your git-as-svn.conf (with all secred data redacted, obviously).

@SirIntellegence
Copy link
Author

I have moved to Gita. It is a bit more than I need, but it works with git-as-svn. I am going to leave this open for now though in case someone else wants it?

@slonopotamus
Copy link
Collaborator

slonopotamus commented Mar 8, 2021

Yep, let's leave it open. Gitolite support is something that could be worth adding to git-as-svn.

@slonopotamus slonopotamus changed the title Repository push error when used with Gitolite Add Gitolite support Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants