I am writing a plug-in for Trac. I would like to add an event to the time line each time the plug-in receives some data from a Git post-receive hook.
Looking at the timeline API, it seems you can only add new source of events. So you are responsible for retrieving and displaying the data. I would prefer saving my event to an existent source.
Where should I look in the Trac API to save events?
ps: my plan is to rely on a remote repository and remote web interface to the code like Github.
pss: The time line has to display commits from the main project git repository and its clones. I don't want to host a copy of every repository that matter to the project.