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

Investigate whether Gitolite allows for server-side post-push hooks #29

Open
cannotparse opened this issue Dec 26, 2017 · 2 comments
Open
Labels
Milestone

Comments

@cannotparse
Copy link
Member

As per Jules suggestion:
We should investigate whether Gitolite allows for server-side post-push hooks which we can use either through Pyolite or through a dedicated internal endpoint (i.e. a push to a branch results in a curl requrest to our endpoint or some analogous action, which updates our models).

@cannotparse cannotparse added this to the MVP milestone Dec 26, 2017
@Faeriol
Copy link

Faeriol commented Dec 28, 2017

Im gonna assume we can add our own post-receive hooks server side (because thats a git feature).
And then we get to do whatever we want with that, remembering that we want to avoid long running hooks
Now if I could get a test server going... I could check this out

@cannotparse
Copy link
Member Author

cannotparse commented Dec 28, 2017

Hmmm, well I was able to find this... so I guess we could package a few hooks and on setup we place them in the right spot.
Here is a python example as well

and here's how we add it to the gitolite conf

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