-
Notifications
You must be signed in to change notification settings - Fork 56
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
Pull webhook stucked, waiting for input (due to known hosts) #101
Comments
Hello Filip, thank you very much for your interest in Waliki! I agree with you about the limitations of the way we are using git, specially in the impact on performance and the "bootleneck" for concurrency it means. undoubtedly, this should be migrated to libgit2 in the future. for this problem in particular, I'd be glad with a pull request. Both ways you propose are ok (your choice) but if it the former, take care to be compatible with the wider range of git versions possible. cheers! |
If I call webhook via
curl -X POST http://waliki.ifrit.eu/wiki/_hooks/pull/origin
it get's stucked and will timeout.If run manually as given user, I get following:
IMHO working with git should be done some better way than calling subprocess or this issue should be solved by
-o StrictHostKeyChecking=no
or callingssh-keyscan
and adding remote host before pulling. Or at least mention this in docs (I am going to write a blog post about seting up and using Waliki soon).The text was updated successfully, but these errors were encountered: