Fire an event whenever a new set of commits is processed by our repo refresh code. Use the existing post_event
/event_handler
functionality.
Is there a way to pass data in events? We should include the # of commits, perhaps not all the details though since that could be huge on an import. Eventually we need a flag to denote whether the commits are new or were reprocessed.
Use-case for this is to have separate code (not in Allura) define an event handler for commits, and update an external database timestamp whenever a project's repo has been updated.
Diff:
Created #180: [#4820] Create event when new commits are processed (2cp)
Related
Tickets:
#4820Closed #180. Branch 42cc_4820.