Opened 7 years ago
Last modified 8 months ago
#14097 new enhancement
Trac: post-commit hook
Reported by: | korli | Owned by: | nielx |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Website/Trac | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Trac could react to keywords in commits. For instance: Fixes Closes.
Change History (3)
comment:1 by , 7 years ago
comment:3 by , 8 months ago
Git support in Trac 1.6 is still not great. For example it doesn't handle git branches very well, and in particular doesn't have a notion of a default branch. I don't think there was much work on performance improvements for large repositories either.
It can be tried but I don't have high hopes.
Note:
See TracTickets
for help on using tickets.
The CommitTicketUpdater won't work in our case, because our Trac is not connected to our git repo in any way. When we switched to git, Trac was just starting to support it and there were performance problems. So we set up cgit and a few customizations to trac to recognize "hrev" and link to cgit.
So, if we want this to work, we will need to re-enable tracking of the git repo in Trac, and making sure the performance problems are now gone.