bzr - trac integration

Pieter pieter.cogghe at gmail.com
Tue Feb 19 15:33:53 GMT 2008


Thanks, it's working: I had to add
[components]
tracbzr.* = enabled
to trac.ini

Do you have other tips to work with bzr and trac? Do you commit
bugfixes with the ticket nnumber so they automatically get marked as
resolved when you commit them?

thanks a lot,

Pieter

2008/2/19, Alexander Belchenko <bialix at ukr.net>:
> I should say that I'm using Windows and I'm installing all components yourself
> manually. My best guess so far you should enable trac-bzr plugin in trac.ini
> of your trac environment, because you're using system-wide install of trac-bzr.
>
> Pieter пишет:
> > Hi Alexander,
> >
> > Sorry, I 'm kind of unsure which information I should provide. It's a
> > fresh install of Ubuntu Gutsy server. I installed bzr, bzr-tools,
> > trac-bzr, trac, using apt-get. Is set up a test-repo, then initialized
> > a trac project en ran the integrated trac server (tracd --port 8000).
> > I open my web browser, click on the test project and then trac gives
> > the error I described in my first mail.
> >
> > Then I saw this: https://bugs.launchpad.net/trac-bzr/+bug/162970, it
> > should be resolved by now it seems (do you how I can check the version
> > of trac-bzr I have installed?). I did sudo apt-get install
> > python-setuptools as suggested.
> >
> > I'll try to check bzrlib or trac-bzr egg, can I install these through
> > apt-get or is this something I should do using python?
> >
> > thanks a lot,
> >
> > Pieter
> >
> > 2008/2/19, Alexander Belchenko <bialix at ukr.net>:
> >> Pieter пишет:
> >>> Hi all,
> >>>
> >>> I'm working at a project at Ghent University College
> >>> (http://www.socverification.be/). We're trying to find out what the
> >>> best set up is to work with bzr (which i found to be very user
> >>> friendly so far). Yesterday we set up a 'server' (Ubuntu Gutsy). We
> >>> ended up with a shared repo, that we access through ssh (with an
> >>> ssh-key). (hope this sounds reasonable)
> >>>
> >>> Now we want to integrate some bugtracker/wiki/... . I was trying to
> >>> figure out how I could set up trac to coorporate with bzr. I installed
> >>> the bzr-trac plugin, but that didn't work. Trac doesn't recognize bzr:
> >> We are using Trac and Bazaar together in my company. And it works pretty well.
> >> I'm not sure what the root of your problem but it seems like you don't install
> >> either bzrlib or trac-bzr egg in your system.
> >>
> >> If you provide more details about your setup, probably I could help.
> >>
> >>> Traceback (most recent call last):
> >>>   File "/var/lib/python-support/python2.5/trac/web/main.py", line 406,
> >>> in dispatch_request
> >>>     dispatcher.dispatch(req)
> >>>   File "/var/lib/python-support/python2.5/trac/web/main.py", line 191,
> >>> in dispatch
> >>>     chosen_handler = self._pre_process_request(req, chosen_handler)
> >>>   File "/var/lib/python-support/python2.5/trac/web/main.py", line 263,
> >>> in _pre_process_request
> >>>     chosen_handler = f.pre_process_request(req, chosen_handler)
> >>>   File "/var/lib/python-support/python2.5/trac/versioncontrol/api.py",
> >>> line 73, in pre_process_request
> >>>     self.get_repository(req.authname).sync()
> >>>   File "/var/lib/python-support/python2.5/trac/versioncontrol/api.py",
> >>> line 94, in get_repository
> >>>     ((self.repository_type,)*2))
> >>> TracError: Unsupported version control system "bzr". Check that the
> >>> Python bindings for "bzr" are correctly installed.
> >>>
> >>> In the terminal where I started the standalone trac server:
> >>>
> >>> tracd --port 8000 .
> >>> /var/lib/python-support/python2.5/trac/web/clearsilver.py:128:
> >>> RuntimeWarning: Python C API version mismatch for module neo_util:
> >>> This Python has API version 1013, module neo_util has version 1012.
> >>>   import neo_cgi
> >>> /var/lib/python-support/python2.5/trac/web/clearsilver.py:128:
> >>> RuntimeWarning: Python C API version mismatch for module neo_cs: This
> >>> Python has API version 1013, module neo_cs has version 1012.
> >>>   import neo_cgi
> >>> /var/lib/python-support/python2.5/trac/web/clearsilver.py:128:
> >>> RuntimeWarning: Python C API version mismatch for module neo_cgi: This
> >>> Python has API version 1013, module neo_cgi has version 1012.
> >>>   import neo_cgi
> >>>
> >>> All I found about this:
> >>> http://ubuntuforums.org/showthread.php?t=620466. But that didn't help.
> >>> If someone could point me to a step by step guide how to setup bzr and
> >>> trac together, that would be great (haven't much experience with
> >>> setting up these kind of things). For us it's not obligatory to use
> >>> trac, we just want some bugtracker integration and a wiki, don't know
> >>> whether there are other options that work better with bzr?
> >>>
> >>> thanks a lot,
> >>>
> >>> Pieter
> >>>
> >>
> >
> >
>
>


-- 
Pieter Cogghe
Ganzendries 186
9000 Gent
0487 10 14 21


More information about the bazaar mailing list