Hi all

Im trying to get MultiRepoSearchPlugin to work but I have a problem: New 
changes in the repository are not indexed automatically. The only way I've 
found is "trac-admin $ENV reindex_all", which is very time-consuming. As I 
understand it, MultiRepoSearchPlugin should automatically index the changed 
files when Trac is notified of a new commit.

To isolate the issue, I'm running Trac from a virtualenv with Python 2.7:

$ venv/bin/pip freeze
Babel==0.9.6
Genshi==0.6
Pygments==1.6
Trac==0.12
pysqlite==2.6.3
pytz==2013d
virtualenv==1.10.1
wsgiref==0.1.2

Plus the following plugins:

$ ls $ENV/plugins
TracAccountManager-0.4.3-py2.7.egg
TracSQLHelper-0.2.2-py2.7.egg
trac_MultiRepoSearchPlugin-0.6-py2.7.egg

When I create a new commit and notify Trac manually, I see the following:

$ venv/bin/trac-admin $ENV changeset added '(default)' r24
[plugins get loaded]
16:19:34 Trac[api] DEBUG: Event changeset_added on  for changesets (u'r24',)
16:19:34 Trac[svn_fs] DEBUG: Subversion bindings imported
16:19:34 Trac[cache] INFO: repos rev [24] != cached rev [23]
16:19:34 Trac[cache] INFO: Trying to sync revision [24]
16:19:34 Trac[cache] DEBUG: Caching node change in [24]: (u'trunk/test.txt', 
'file', 'edit', u'trunk/test.txt', 23L)

The source code browser is showing the new commit but MultiRepoSearchPlugin 
will not pick up the changes until I issue a "reindex_all". Does the automatic 
re-indexing of MultiRepoSearchPlugin work for anyone here? If yes, what 
versions of Trac and the plugin are you using?

Thanks for any help
Michael

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to