Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work for multiple repos #14

Open
rcarmo opened this issue May 14, 2012 · 5 comments
Open

Doesn't work for multiple repos #14

rcarmo opened this issue May 14, 2012 · 5 comments

Comments

@rcarmo
Copy link

rcarmo commented May 14, 2012

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).

@livedata
Copy link

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

@rcarmo
Copy link
Author

rcarmo commented May 16, 2012

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:
#14 (comment)

@nb
Copy link
Contributor

nb commented May 17, 2012

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

Patches are welcome :-)

@rcarmo
Copy link
Author

rcarmo commented May 17, 2012

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.

Orio91 pushed a commit to Orio91/trac-code-comments-plugin that referenced this issue Aug 16, 2012
Orio91 pushed a commit to Orio91/trac-code-comments-plugin that referenced this issue Sep 5, 2012
Orio91 pushed a commit to Orio91/trac-code-comments-plugin that referenced this issue Sep 10, 2012
schwuk added a commit to schwuk/trac-code-comments-plugin that referenced this issue Aug 9, 2014
Create table for subscriptions.

Populate table with subscriptions for attachments and revisions.

Subscriptions will support multiple repositories and Git, even though
code comments themselves don't currently (trac-hacks#13 and trac-hacks#14).
schwuk added a commit to schwuk/trac-code-comments-plugin that referenced this issue Aug 9, 2014
Create table for subscriptions.

Populate table with subscriptions for attachments and revisions.

Subscriptions will support multiple repositories and Git, even though
code comments themselves don't currently (trac-hacks#13 and trac-hacks#14).
@iheartvagina
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants