Hi,
I can't get rid of the per-request synchronization.
Here's the setup:
- Ubuntu Server 16.04.6
- Trac 1.2.5
- Git 2.7.4
I have a single Trac project with 2 svn repositories. I've defined post-commit hooks for them and everything works as expected (surce browsing, timeline, ticket referencing).
But now I'm trying to add a third repository, a git one.
I configured a post-receive hook:
#!/bin/sh
export PYTHON_EGG_CACHE="/tmp/python_egg_cache"
/usr/local/bin/trac-admin /path/to/my_trac_env changeset added "$1" "$2"
But it doesn't the job!
I can browse the source code, i can see commits in the timeline, but the commits aren't added to the tickets.
This behaviour (timeline has commits, tickets don't) is often connected with sync_per_request. But as far as I can see, I don't have it enabled.
The trac.ini doesn't have it on and in the "repository" table the "sync_per_request"-option ist set to false for the git repository.
What else can I do? Where can I control the sync-behaviour?
Thanks in advance,
Thomas