[openstack-dev] [oslo] dropping namespace packages

Davanum Srinivas davanum at gmail.com
Sun Jan 11 20:39:08 UTC 2015


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+project:openstack/nova+branch:master+topic:remove-oslo-namespace,n,z

On Sat, Jan 10, 2015 at 9:26 PM, Jay S. Bryant
<jsbryant at electronicjungle.net> wrote:
> 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.
>
> Jay
>
> On 01/08/2015 12:24 PM, Ihar Hrachyshka wrote:
>>
>> 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 chance old namespace usage will sneak
>> in, and then we'll need to get back to updating imports. I would rather
>> avoid that and get migration committed with enforcement.
>>
>> /Ihar
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



-- 
Davanum Srinivas :: https://twitter.com/dims



More information about the OpenStack-dev mailing list