valberg / djangit

A git repo browser written in django and dulwich
http://djang.it
9 stars 1 forks source link

Git hooks #13

Open halfd opened 10 years ago

halfd commented 10 years ago

There should be global git hooks, that update the database whenever a repo is touched.

Also look at how hooks can be exposed through the djangit frontend, such that the user can edit events to take place at different parts of the git process.

valberg commented 10 years ago

Good idea. Following questions come to mind:

I'm thinking something in the directions of having some templates that get filled with information provided by the user, and then written to the pre/post-receive hooks of a repository.