Skip to contentSkip to conversation

meta-openstack Python support recipes

DISCUSSION Paul Eggleton 2 participants 5 messages Aug 11, 2014

lore
Share & tools
lore
#0 lore raw

Hi there,

There are quite a few Python support recipes in meta-openstack. Now that the meta-python layer has been established, would it be reasonable to move those that are generic and not related to virtualisation over to meta-python and make meta-openstack depend upon that, so that those recipes can be (a little) more easily reused by others?

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#1 lore raw
Quoted 7 lines · Paul Eggleton

Hi there,

There are quite a few Python support recipes in meta-openstack. Now that the meta-python layer has been established, would it be reasonable to move those that are generic and not related to virtualisation over to meta-python and make meta-openstack depend upon that, so that those recipes can be (a little) more easily reused by others?

At this point no. I intend to keep them all in meta-openstack, since the version and cadence is tightly coupled to the core components, and spreading them across multiple layers is a recipe for chaos.

Bruce

Quoted 13 lines

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
#2 lore raw
Quoted 11 lines · On Monday 11 August 2014 12:09:18 Bruce Ashfield wrote:
Quoted 5 lines · Paul Eggleton

There are quite a few Python support recipes in meta-openstack. Now that the meta-python layer has been established, would it be reasonable to move those that are generic and not related to virtualisation over to meta-python and make meta-openstack depend upon that, so that those recipes can be (a little) more easily reused by others?

At this point no. I intend to keep them all in meta-openstack, since the version and cadence is tightly coupled to the core components, and spreading them across multiple layers is a recipe for chaos.

OK, understood - so I guess that being the case we may end up having some duplication between there and meta-python. Not that I intend to do any wholesale copying, but if we need a dependency or if it makes sense to add a recipe currently in meta-openstack to meta-python for the purposes of making it more widely usable, I don't see much of an option but to have it in both places.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#3 lore raw
Quoted 13 lines · Paul Eggleton
Quoted 11 lines · On Monday 11 August 2014 12:09:18 Bruce Ashfield wrote:
Quoted 5 lines · Paul Eggleton

There are quite a few Python support recipes in meta-openstack. Now that the meta-python layer has been established, would it be reasonable to move those that are generic and not related to virtualisation over to meta-python and make meta-openstack depend upon that, so that those recipes can be (a little) more easily reused by others?

At this point no. I intend to keep them all in meta-openstack, since the version and cadence is tightly coupled to the core components, and spreading them across multiple layers is a recipe for chaos.

Quoted 6 lines

OK, understood - so I guess that being the case we may end up having some duplication between there and meta-python. Not that I intend to do any wholesale copying, but if we need a dependency or if it makes sense to add a recipe currently in meta-openstack to meta-python for the purposes of making it more widely usable, I don't see much of an option but to have it in both places.

Yep, and that's fine. Just drop an email if you do make a copy, and maybe some can move. But generally speaking, openstack breaks in weird and wonderful ways when dependencies change, so I can't be at the whim of another layer updating and causing continual breakage.

At some point, there is such a thing as "over layerization", I've been down that road before :)

Bruce

Quoted 8 lines

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
#4 lore raw
Quoted 24 lines · On Monday 11 August 2014 12:26:54 Bruce Ashfield wrote:
Quoted 15 lines · Paul Eggleton
Quoted 10 lines · On Monday 11 August 2014 12:09:18 Bruce Ashfield wrote:

On Mon, Aug 11, 2014 at 8:43 AM, Paul Eggleton

Quoted 6 lines · <[email protected]> wrote:

There are quite a few Python support recipes in meta-openstack. Now that
the meta-python layer has been established, would it be reasonable to move those that are generic and not related to virtualisation over to meta-python and make meta-openstack depend upon that, so that those recipes can be (a little) more easily reused by others?

Quoted 3 lines

At this point no. I intend to keep them all in meta-openstack, since the version and cadence is tightly coupled to the core components, and spreading them across multiple layers is a recipe for chaos.

Quoted 6 lines

OK, understood - so I guess that being the case we may end up having some duplication between there and meta-python. Not that I intend to do any wholesale copying, but if we need a dependency or if it makes sense to add a recipe currently in meta-openstack to meta-python for the purposes of making it more widely usable, I don't see much of an option but to have it in both places.

Quoted 4 lines

Yep, and that's fine. Just drop an email if you do make a copy, and maybe some can move. But generally speaking, openstack breaks in weird and wonderful ways when dependencies change, so I can't be at the whim of another layer updating and causing continual breakage.

Yep, I definitely get that; python modules especially on the web side of things do seem to break across versions and I can understand the desire to avoid that.

Quoted 2 lines

At some point, there is such a thing as "over layerization", I've been down that road before :)

True, that could happen. The main goal with meta-python though is to bring in some additional maintenance and interest around the recipes within it, which wasn't always easy when those recipes (the ones we're starting with) were in the meta-oe layer.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre