Hi,

Using bzr-hg and bzr-merge-into, I've:

* merged Trevor's latest changes into the stable branch
* branched from there and merged in Steve's cfbe repo

You can get the cfbe branch with:

% bzr get http://bzr.bugseverywhere.org/feature-cfbe

and try to run cfbe with something like:

% make
% sudo apt-get install python-jinja2 python-cherrypy
% python interfaces/web/cfbe.py .

I've started working on the API changes needed to bring cfbe up to
date with Trevor's branch.  The first is that there's no longer a
root= argument to BugDir():

File "/home/cjb/git/be-test/interfaces/web/web.py", line 20, in __init__
  self.bd = bugdir.BugDir(root=self.bug_root)
TypeError: __init__() got an unexpected keyword argument 'root'

Looks like BugDir() takes a storage instance now, so I gave this a try:

self.storage = storage.get_storage(bug_root)
self.bd = bugdir.BugDir(self.storage)

But that doesn't work:

File "/usr/local/lib/python2.6/dist-packages/libbe/storage/vcs/base.py",
line 271, in path
  if uuid not in self._cache:
AttributeError: 'CachedPathID' object has no attribute '_cache'

I'll look at the code some more -- Trevor, let me know if you happen
to recall how creating a new BugDir() from an existing .be dir should
work.

Thanks,

- Chris.
-- 
Chris Ball   <[email protected]>
One Laptop Per Child

_______________________________________________
Be-devel mailing list
[email protected]
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel

Reply via email to