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

Doesn't Trigger Git Hooks #143

Open
glassresistor opened this issue Jun 15, 2016 · 2 comments
Open

Doesn't Trigger Git Hooks #143

glassresistor opened this issue Jun 15, 2016 · 2 comments

Comments

@glassresistor
Copy link

So I've been building a project with this assuming git hooks would work so I could do things like sync a github repo with the local wiki copy.

I went ahead and setup a server debugged a bunch of issues then found out the post-commit(and the rest) hook isn't being triggered.

Any ideas how get this to work?

Also I've been looking at your code and it would be easy to add a push command here
https://github.com/scragg0x/realms-wiki/blob/master/realms/modules/wiki/models.py#L146-L150

and then allow people to define the remote and branch to go for.

Based on this and the bugs associated with Google at work(my other issue) I'm considering working on this myself if you want to coordinate let me know.

@gazpachoking
Copy link
Collaborator

Hmm, it appears dulwich should already be executing the hooks...
https://github.com/jelmer/dulwich/blob/master/dulwich/repo.py#L626

I haven't done any testing though.

@gazpachoking
Copy link
Collaborator

I did a quick test and it didn't seem to work for me either. Didn't dig in to why, but did start #155 which I think would be an even nicer solution.

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

No branches or pull requests

2 participants