[openstack-dev] common codes

2013-07-15 Thread Gareth
Hi, all

There are some common codes in most of projects, such as opnstack/common,
db, and some else (?). I know a good way is using 'import oslo' is ok,
instead of copy those codes here and there. And now we already have project
oslo and trove, but how and when do we handle old codes, remove that in
next major release?

-- 
Gareth

*Cloud Computing, OpenStack, Fitness, Basketball*
*OpenStack contributor*
*Company: UnitedStack http://www.ustack.com*
*My promise: if you find any spelling or grammar mistakes in my email from
Mar 1 2013, notify me *
*and I'll donate $1 or ¥1 to an open organization you specify.*
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] common codes

2013-07-15 Thread Michael Basnight
On Jul 15, 2013, at 7:22 PM, Gareth academicgar...@gmail.com wrote:

 Hi, all
 
 There are some common codes in most of projects, such as opnstack/common, db, 
 and some else (?). I know a good way is using 'import oslo' is ok, instead of 
 copy those codes here and there. And now we already have project oslo and 
 trove, but how and when do we handle old codes, remove that in next major 
 release?

From the trove perspective we are trying to keep our Oslo code updated as often 
as possible. Once the code leaves incubator status (the code copy you mention), 
we will adopt the individual libraries. I believe oslo.messaging is the next on 
our list. 

As for timeline, we try to stay current with one caveat. We stop pulling large 
updates in as milestone deadlines approach. So pull in updates early in the 
milestone, so that they are there for the milestone, and eventually the 
release. We have a review inflight waiting for the h2 cutoff so we can merge it 
[1] that has the latest oslo. This approach may very somewhat from other 
projects so ill let the PTLs chime in :)

Is there specific code you are referring to? 

[1] https://review.openstack.org/#/c/36140/___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] common codes

2013-07-15 Thread Yaguang Tang
we put openstack common code in oslo
, and sync to other projects to keep the common code in each project is
aways up to date, when oslo is mature enough, then we will publish oslo as
a openstack common library.  the common code in each project just need to
change from from nova.openstack.common import something
to from oslo.openstack.common import something after oslo is released ,
as the common code is aways sync from oslo, so there isn't any big change.

correct me if my understanding is wrong.
在 2013-7-16 上午10:25,Gareth academicgar...@gmail.com写道:

 Hi, all

 There are some common codes in most of projects, such as opnstack/common,
 db, and some else (?). I know a good way is using 'import oslo' is ok,
 instead of copy those codes here and there. And now we already have project
 oslo and trove, but how and when do we handle old codes, remove that in
 next major release?

 --
 Gareth

 *Cloud Computing, OpenStack, Fitness, Basketball*
 *OpenStack contributor*
 *Company: UnitedStack http://www.ustack.com*
 *My promise: if you find any spelling or grammar mistakes in my email
 from Mar 1 2013, notify me *
 *and I'll donate $1 or ¥1 to an open organization you specify.*

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] common codes

2013-07-15 Thread Gareth
Michael, thanks for your perspective. It's easy to understand. But I just
have some questions, not specific problems.

Yaguang, I like the 'import' way too. But is there a global timeline of
making oslo mature? Is this decided by oslo team or release plan?


On Tue, Jul 16, 2013 at 11:00 AM, Yaguang Tang
yaguang.t...@canonical.comwrote:

 we put openstack common code in oslo
 , and sync to other projects to keep the common code in each project is
 aways up to date, when oslo is mature enough, then we will publish oslo as
 a openstack common library.  the common code in each project just need to
 change from from nova.openstack.common import something
 to from oslo.openstack.common import something after oslo is released ,
 as the common code is aways sync from oslo, so there isn't any big change.

 correct me if my understanding is wrong.
 在 2013-7-16 上午10:25,Gareth academicgar...@gmail.com写道:

 Hi, all

 There are some common codes in most of projects, such as opnstack/common,
 db, and some else (?). I know a good way is using 'import oslo' is ok,
 instead of copy those codes here and there. And now we already have project
 oslo and trove, but how and when do we handle old codes, remove that in
 next major release?

 --
 Gareth

 *Cloud Computing, OpenStack, Fitness, Basketball*
 *OpenStack contributor*
 *Company: UnitedStack http://www.ustack.com*
 *My promise: if you find any spelling or grammar mistakes in my email
 from Mar 1 2013, notify me *
 *and I'll donate $1 or ¥1 to an open organization you specify.*

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




-- 
Gareth

*Cloud Computing, OpenStack, Fitness, Basketball*
*OpenStack contributor*
*Company: UnitedStack http://www.ustack.com*
*My promise: if you find any spelling or grammar mistakes in my email from
Mar 1 2013, notify me *
*and I'll donate $1 or ¥1 to an open organization you specify.*
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] common codes

2013-07-15 Thread Zhongyue Luo
Gareth,

https://wiki.openstack.org/wiki/Oslo#Principles

I believe this link will answer most of your answers.


On Tue, Jul 16, 2013 at 11:16 AM, Gareth academicgar...@gmail.com wrote:

 Michael, thanks for your perspective. It's easy to understand. But I just
 have some questions, not specific problems.

 Yaguang, I like the 'import' way too. But is there a global timeline of
 making oslo mature? Is this decided by oslo team or release plan?


 On Tue, Jul 16, 2013 at 11:00 AM, Yaguang Tang yaguang.t...@canonical.com
  wrote:

 we put openstack common code in oslo
 , and sync to other projects to keep the common code in each project is
 aways up to date, when oslo is mature enough, then we will publish oslo as
 a openstack common library.  the common code in each project just need to
 change from from nova.openstack.common import something
 to from oslo.openstack.common import something after oslo is released ,
 as the common code is aways sync from oslo, so there isn't any big change.

 correct me if my understanding is wrong.
 在 2013-7-16 上午10:25,Gareth academicgar...@gmail.com写道:

  Hi, all

 There are some common codes in most of projects, such as
 opnstack/common, db, and some else (?). I know a good way is using 'import
 oslo' is ok, instead of copy those codes here and there. And now we already
 have project oslo and trove, but how and when do we handle old codes,
 remove that in next major release?

 --
 Gareth

 *Cloud Computing, OpenStack, Fitness, Basketball*
 *OpenStack contributor*
 *Company: UnitedStack http://www.ustack.com*
 *My promise: if you find any spelling or grammar mistakes in my email
 from Mar 1 2013, notify me *
 *and I'll donate $1 or ¥1 to an open organization you specify.*

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




 --
 Gareth

 *Cloud Computing, OpenStack, Fitness, Basketball*
 *OpenStack contributor*
 *Company: UnitedStack http://www.ustack.com*
 *My promise: if you find any spelling or grammar mistakes in my email
 from Mar 1 2013, notify me *
 *and I'll donate $1 or ¥1 to an open organization you specify.*

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




-- 
*Intel SSG/STOD/DCST/CIT*
880 Zixing Road, Zizhu Science Park, Minhang District, 200241, Shanghai,
China
+862161166500
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev