trac-code-comments-plugin icon indicating copy to clipboard operation
trac-code-comments-plugin copied to clipboard

Doesn't work for multiple repos

Open rcarmo opened this issue 13 years ago • 5 comments

I've been testing this a bit further and realized that there's also no support for multiple repos (even though I get the "Code Comments" top level menu, and a comment listing, source browser links are not generated with the repo name in them).

I'm still trying to pin this down, since it may well be the reason why I can't see any comments (all the Trac instances I'm running have multiple repos).

rcarmo avatar May 14 '12 10:05 rcarmo

yes, this is a pain, it supports only 'default' repository :(

livedata avatar May 16 '12 19:05 livedata

Looking at the code, it might not be only a matter of prepending the right path name. It would appear that comments would require a repository field as well.

On 16/05/2012, at 20:09, [email protected] wrote:

yes, this is a pain, it supports only 'default' repository :(


Reply to this email directly or view it on GitHub: https://github.com/Automattic/trac-code-comments-plugin/issues/14#issuecomment-5749165

rcarmo avatar May 16 '12 19:05 rcarmo

I am sorry for this, honestly, I didn't know that Trac supported multiple repositories.

Patches are welcome :-)

nb avatar May 17 '12 12:05 nb

I tried, but I had other things to do, and since you were doing other stuff I thought it best not to break things.

FYI, I'm running this plugin for Git support: https://github.com/rcarmo/trac-git-plugin, and managing a fairly large Trac installation with hundreds of projects and repos, so I can test this extensively and let you know if it plays along nicely with other things.

I'd recommend pointing Trac at your own local Git repo for testing - it'll work just fine with any SVN repos.

rcarmo avatar May 17 '12 15:05 rcarmo

have the patches been integrated into the released version yet? do they work? I guess I will try them out since I ran into this problem and was completely baffled as to why the trac instance was empty when i went to /code-comments

iheartvagina avatar Sep 04 '15 19:09 iheartvagina