Re: [openstack-dev] [Oslo.db] Configuration options

2013-08-22 Thread Joshua Harlow
Thx mark, good to know this happens before it is librarized. Is there any place where these common set of refactoring tasks is written down (so that info can be referred to instead of a question on the mailing list)? Sent from my really tiny device... On Aug 21, 2013, at 10:20 PM, Mark

[openstack-dev] [Oslo.db] Configuration options

2013-08-21 Thread Joshua Harlow
Another question related to making oslo.db a pypi library and relevant to how taskflow is used. Currently taskflow has a persistence layer, its using a copy of oslo-incubator db module to do this. That copied code (soon to be library I hope) has the following: db_opts = [

Re: [openstack-dev] [Oslo.db] Configuration options

2013-08-21 Thread Mark Washenberger
Josh thanks for highlighting this. This example is a good reason why oslo libraries should decouple their useful bits from any configuration assumptions. Much of the code already allows use without requiring you to adopt configuration code. But we should make all of it like that. On Wed, Aug 21,

Re: [openstack-dev] [Oslo.db] Configuration options

2013-08-21 Thread Mark McLoughlin
On Thu, 2013-08-22 at 01:14 +, Joshua Harlow wrote: Agreed, any thoughts from the oslo folks on how this could be done (without a major refactoring??). Can it even be done? It will be a continuous problem for libraries which want to be integrated with the various openstack projects,