trac-bzr plugin does not work with trac 0.12multirepos (multirepos branch)

Bug #430689 reported by Jean-Luc Geering
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Trac-Bzr
Fix Released
Wishlist
Martin von Gagern

Bug Description

Installed latest trac-bzr plugin into latest trac from 0.12 multirepos branch.
Could add a repository with type 'bzr' in admin console, but cannot browse it.

Tags: trac-0.12
Revision history for this message
Brian Harring (ferringb) wrote :

bzr://bzr.pkgcore.org/ferringb/trac-bzr/ may be of interest... hacked together support for multirepos awhile back, although I wound up having to tear out a fair amount of trac-bzr internally in the process.

Revision history for this message
Martin von Gagern (gagern) wrote :

I'll mark this as a whishlist item for now, as support for Trac 0.12 would be nice to have, but isn't our main aim. If someone has a branch that could be merged with current trac-bzr trunk to address this issue, request a merge and I'll have a look. Until then, things will have to wait until either Trac 0.12 actually gets released, or I find enough spare time to look at this.

Changed in trac-bzr:
importance: Undecided → Wishlist
tags: added: trac-0.12
Revision history for this message
Pieter Scholtz (pieterscholtz) wrote :

Apparently a first beta version of Trac 0.12 is coming soon: http://trac.edgewall.org/milestone/0.12, so perhaps it's good time to bump the priority of this issue. Sadly, the trac-bzr multirepos branch on here does not work with later revisions of Trac SVN. Trac 0.12 with multiple Bzr repositories would be really great.

Revision history for this message
Martin von Gagern (gagern) wrote :

Will try to have a look one of these days, but no promises.

Feel free to report individual issues as you find them, tagged with trac-0.12, and preferrably of course with a branch fixing them.

Revision history for this message
Martin von Gagern (gagern) wrote :

lp:~trac-bzr-team/trac-bzr/trac-0.12 should at least ensure that what used to work so far will continue to work with trac 0.12, i.e. you can have a single bzr style "repository" which contains multiple branches managed by the trac-bzr plugin. Please give it a try.

I haven't tested the multi-repo support at all so far, but I assume that might require some more work. If we need https://blueprints.launchpad.net/trac-bzr/+spec/multirepo to make this work, it will have to wait for trac-bzr 0.4.

Changed in trac-bzr:
status: New → In Progress
Revision history for this message
Pieter Scholtz (pieterscholtz) wrote :

Thanks Martin! I installed the trac-0.12 branch of trac-bzr and it seems to be working perfectly now. I added two branches from two different bzr repositories, so it seems like multiple repositories are working. Will report issues if I find them. Thanks again for the good work.

Revision history for this message
Andrew Schulman (andrex) wrote :

I just installed the trac-0.12 branch (r109). I have Trac 0.12 and a single-repository setup (although I get the same results when I change it to multi-repository). Mostly it works fine, but resynchronization fails:

$ trac-admin . repository resync '*'
Resyncing repository history for (default)...
TypeError: sync() got an unexpected keyword argument 'clean'

Not sure where to go from here (I don't get a traceback) but I'm happy to help troubleshoot.

Revision history for this message
Martin von Gagern (gagern) wrote :

Andrew, does r110 solve the issue for you?

Revision history for this message
Andrew Schulman (andrex) wrote :

Yup, it does:

$ trac-admin . repository resync '*'
Resyncing repository history for (default)...
0 revisions cached.
Done.

Thanks!

Revision history for this message
Andrew Schulman (andrex) wrote :

There is one thing I don't get, though. In the repository browser, at the bottom of each page is a button that says "View changes...", with a hint of "Select revs and paths for Diff". When I click on this button, I always end up at "Error: no such changeset ... No changeset in the repository" Is this a known problem?

Revision history for this message
Martin von Gagern (gagern) wrote : View changes...

On 10.07.2010 04:22, Andrew Schulman wrote:
> There is one thing I don't get, though. In the repository browser, at
> the bottom of each page is a button that says "View changes...", with a
> hint of "Select revs and paths for Diff". When I click on this button,
> I always end up at "Error: no such changeset ... No changeset in the
> repository" Is this a known problem?

Wasn't known to me up until now. Affects trac 0.11 as well. Please file
a separate report for this. Thanks.

Revision history for this message
Andrew Schulman (andrex) wrote :

Done: #604085.

Revision history for this message
Martin von Gagern (gagern) wrote :

trac-bzr 0.4.0 does support Trac 0.12. Please open new items if things don't work as expected, or if you see urgent need to treat each bzr branch under some root as a distinct repository and want to list all of these automatically.

Changed in trac-bzr:
assignee: nobody → Martin von Gagern (gagern)
milestone: none → 0.4.0
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.