Re: bitfrost python modules mess

2009-06-26 Thread Martin Dengler
On Fri, Jun 26, 2009 at 04:00:46PM +0100, Daniel Drake wrote:
> Hi,
> 
> In the latest sugar, the activity updater doesn't work because it can't
> import bitfrost.update.actutils

Here's the kludge that works around the problem just for the activity
updater:

https://bugzilla.redhat.com/show_bug.cgi?id=481333

> Finally sugar-update-control would depend on the specific subpackage
> bitfrost-update. This would depend on the core bitfrost package, which
> would install /usr/lib/python2.6/site-packages/bitfrost/__init__.py and
> not much more. This bug would be fixed and things would be more
> organised.
> 
> Thoughts?

Sounds like a much better approach.

> Daniel

Martin




pgp1Qvf1CmdOc.pgp
Description: PGP signature
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


bitfrost python modules mess

2009-06-26 Thread Daniel Drake
Hi,

In the latest sugar, the activity updater doesn't work because it can't
import bitfrost.update.actutils

The entire bitfrost.update python module tree is shipped by
sugar-update-control, not any separate package.

The error appears because these 2 (empty) files are missing:
/usr/lib/python2.6/site-packages/bitfrost/__init__.py
/usr/lib/python2.6/site-packages/bitfrost/update/__init__.py
These files are needed to identify the directories as python modules.

...and this raises the question on which package should have
installed /usr/lib/python2.6/site-packages/bitfrost/__init__.py?

Up to this point, the different python bitfrost modules have been
scattered through various packages including sugar-update-control,
olpc-contents, olpc-update, ...

I think it's time that we cleared this up a bit. I propose that that we
create a new "bitfrost" git repo, and step by step we move in all the
python bitfrost modules.

This would go into fedora as a new package called "bitfrost" which would
have subpackages for "update", "contents", "leases", etc.

Finally sugar-update-control would depend on the specific subpackage
bitfrost-update. This would depend on the core bitfrost package, which
would install /usr/lib/python2.6/site-packages/bitfrost/__init__.py and
not much more. This bug would be fixed and things would be more
organised.

Thoughts?
Daniel


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel