[openstack-dev] [oslo] Graduate cliutils.py into oslo.utils

Davanum Srinivas davanum at gmail.com
Tue Nov 10 12:30:28 UTC 2015


Julien, Victor,

How about - oslo.cli = apiclient/*.py + cliutils.py - since we already
have a spec for a new library for apiclient

-- Dims

On Tue, Nov 10, 2015 at 5:58 AM, Julien Danjou <julien at danjou.info> wrote:
> On Tue, Nov 10 2015, Victor Stinner wrote:
>
>> It was also proposed to reuse openstackclient or the openstack SDK. I don't
>> understand how novaclient can use openstackclient, since openstackclient
>> depends on python-novaclient... The OpenStack SDK project is also a large
>> library no? (I don't know well the OpenStack SDK project.)
>
> I'd think the idea was rather to reuse openstack-sdk in novaclient, no?
>
> There's often confusion about openstackclient and openstack-sdk, so
> might be the source of that.
>
>> I would prefer to move cliutils.py to oslo.utils. Only 3 clients use
>> cliutils.py but don't depend on oslo.utils yet. The 8 remaining clients using
>> cliutils.py already depends on oslo.utils.
>>
>> An alternative is to create yet another oslo library. But it means creating a
>> library for a single file of 280 lines.
>>
>> What do you think?
>
> What about killing it?
>
>> On 29 "python-*client" projects, I found 11 clients using cliutils.py:
>>
>> python-ceilometerclient
>
> We barely use it and I pretty sure we'll kill it in the long run.
>
> --
> Julien Danjou
> // Free Software hacker
> // https://julien.danjou.info
>
> __________________________________________________________________________
> 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