Opened 7 years ago

Last modified 10 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.

https://trac.edgewall.org/wiki/CommitTicketUpdater

Change History (3)

comment:1 by pulkomandy, 7 years ago

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.

comment:2 by nephele, 10 months ago

Would be good to try this after moving to trac 1.6

comment:3 by pulkomandy, 10 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.