[openstack-dev] [oslo] dropping namespace packages

2014-11-12 Thread Doug Hellmann
We rather quickly came to consensus at the summit that we should drop the use of namespace packages in Oslo libraries [1]. As far as I could tell, everyone was happy with my proposed approach [2] of moving the code from oslo.foo to oslo_foo and then creating a backwards-compatibility shim in osl

Re: [openstack-dev] [oslo] dropping namespace packages

2015-01-05 Thread Doug Hellmann
> On Nov 12, 2014, at 3:32 PM, Doug Hellmann wrote: > > We rather quickly came to consensus at the summit that we should drop the use > of namespace packages in Oslo libraries [1]. As far as I could tell, everyone > was happy with my proposed approach [2] of moving the code from oslo.foo to >

Re: [openstack-dev] [oslo] dropping namespace packages

2015-01-08 Thread Ihar Hrachyshka
On 01/05/2015 04:51 PM, Doug Hellmann wrote: As each library is released, we will send release notes to this list, as usual. At that point the Oslo liaisons should start planning patches to change imports in their projects from "oslo.foo" to “oslo_foo". The old imports should still work for now

Re: [openstack-dev] [oslo] dropping namespace packages

2015-01-08 Thread Doug Hellmann
> On Jan 8, 2015, at 11:29 AM, Ihar Hrachyshka wrote: > > On 01/05/2015 04:51 PM, Doug Hellmann wrote: >> As each library is released, we will send release notes to this list, as >> usual. At that point the Oslo liaisons should start planning patches to >> change imports in their projects from

Re: [openstack-dev] [oslo] dropping namespace packages

2015-01-08 Thread Jay Bryant
We talked about this in Cinder. I am planning to create some hacking checks for us just to be safe. Shouldn't take a ton of effort. Jay On Jan 8, 2015 12:03 PM, "Doug Hellmann" wrote: > > > On Jan 8, 2015, at 11:29 AM, Ihar Hrachyshka > wrote: > > > > On 01/05/2015 04:51 PM, Doug Hellmann wr

Re: [openstack-dev] [oslo] dropping namespace packages

2015-01-08 Thread Ihar Hrachyshka
OK, I was going to implement something for neutron, but if you're going to handle it quickly till the end of the week, I'll wait to steal. ;) On 01/08/2015 07:14 PM, Jay Bryant wrote: We talked about this in Cinder. I am planning to create some hacking checks for us just to be safe. Should

Re: [openstack-dev] [oslo] dropping namespace packages

2015-01-08 Thread Ihar Hrachyshka
On 01/08/2015 07:03 PM, Doug Hellmann wrote: I’m not sure that’s something we need to enforce. Liaisons should be updating projects now as we release libraries, and then we’ll consider whether we can drop the namespace packages when we plan the next cycle. Without a hacking rule, there is a c

Re: [openstack-dev] [oslo] dropping namespace packages

2015-01-10 Thread Jay S. Bryant
Ihar, I agree that we should do something to enforce using the appropriate namespace so that we don't have the wrong usage sneak in. I haven't gotten any rules written yet. Have had to attend to a family commitment the last few days. Hope that I can tackle the namspace changes next week.

Re: [openstack-dev] [oslo] dropping namespace packages

2015-01-11 Thread Davanum Srinivas
Jay, I have a hacking rule in nova already [1] and am updating the rule in the 3 reviews i have for oslo_utils, oslo_middleware and oslo_config [2] in Nova thanks, dims [1] https://github.com/openstack/nova/blob/master/nova/hacking/checks.py#L452 [2] https://review.openstack.org/#/q/status:open

Re: [openstack-dev] [oslo] dropping namespace packages

2015-01-12 Thread Ihar Hrachyshka
You rock, man. Thanks, I'll steal those. :) /Ihar On 01/11/2015 09:39 PM, Davanum Srinivas wrote: Jay, I have a hacking rule in nova already [1] and am updating the rule in the 3 reviews i have for oslo_utils, oslo_middleware and oslo_config [2] in Nova thanks, dims [1] https://github.com/ope

Re: [openstack-dev] [oslo] dropping namespace packages

2014-11-12 Thread Donald Stufft
> On Nov 12, 2014, at 3:32 PM, Doug Hellmann wrote: > > We rather quickly came to consensus at the summit that we should drop the use > of namespace packages in Oslo libraries [1]. As far as I could tell, everyone > was happy with my proposed approach [2] of moving the code from oslo.foo to >