[openstack-dev] [nova][novaclient]novaclient backward compatible changes
sean at dague.net
Tue Mar 15 14:10:19 UTC 2016
On 03/15/2016 10:02 AM, Chen CH Ji wrote:
> From , some questions raised is whether and how we will guarantee the
> return value of novaclient? e.g some tools
> such as openstackclient utilize novaclient return value , we don't have
> microversion mechanism (and seems not helpful
> and too heavy) to do those kind of changes... so novaclient should make
> every changes backward compatible?
> BTW:  seems not mandatory(better to have), so the question is related
> to the patch, just for general idea..
>  https://review.openstack.org/#/c/291915/1
Yes, this is a library. Changing the return value on existing functions
isn't a thing you can do. If you want a different return, introduce a
new method which does that, and we can deprecate the old one out over time.
More information about the OpenStack-dev