There is already a similar “Hosted Solution for Version Control — with pre-commit hooks?” question on SO. However, the user who asked that question only needed client-side hooks, and I’m looking for a Git host that allows you to configure server-side hooks.
(The reason I’m looking for this is so that we can prevent developers from being able to “push -f” on specific branches. Client-side hooks are of no minimal use for solving this problem.)
So, can anyone recommend a Git host that allows its users to set server-side hooks?
(Bonus points if said host also offers an integrated bug tracker.)
* EDIT *
This question has already been answered, and the bounty awarded … but if there are any Git hosts out there that make it easier to prevent “push -f” (either by providing that level of permissioning themselves, or by providing access to publish pre-recieve hooks, which would then let me use already-written/standard pre-recieve scripts) I would LOVE to hear about them.
the list of hooks available on github is here: https://github.com/{user}/{repository}/admin/hooks
they have a generic post-receive hook, but not a generic pre-receive
you can code up your own here: https://github.com/github/github-services