Closed
Description
- Gitea version (or commit ref): v1.1
- Git version: 2.10.1 (Apple Git-78)
- Operating system: OSX/Ubuntu
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
Hi, in case that your discourse forum currently is empty, I hopefully may ask this question here.
I currently use gitolite for a fine granulated rights management but like to replace it due to the nice interface from gitea and easier user experience.
It seems to me easy just to create some additional git-hooks to gitea which are working like gitolite.
Where is the "best place" to automatically integrate such kind of hooks. As I saw, the hooks from gitea, are prepared at models/repo.go->createDelegateHooks
https://github.com/go-gitea/gitea/blob/master/models/repo.go#L948-L981
Would this be the right place to also add some additional default hooks?
Thanks for a short hint how you would suggest to proceed.
Tom