[openstack-dev] [oslo][keystone][documentation][gate] Babel dependency for oslo.log
Davanum Srinivas
davanum at gmail.com
Tue Apr 19 13:25:20 UTC 2016
Doug,
The right thing to add in projects is a dependency on oslo.i18n, which
will then transitively pull in a good version of Babel. So when we do
want to throw exceptions or log messages, we should add oslo.i18n and
not Babel directly.
Thanks,
Dims
On Tue, Apr 19, 2016 at 9:17 AM, Doug Hellmann <doug at doughellmann.com> wrote:
> Excerpts from Andreas Jaeger's message of 2016-04-19 08:34:53 +0200:
>> On 2016-04-18 22:34, Davanum Srinivas wrote:
>> > On Mon, Apr 18, 2016 at 4:28 PM, Joshua Harlow <harlowja at fastmail.com> wrote:
>> >> Okie, the following reviews are up:
>> >>
>> >> https://review.openstack.org/307461 (oslo.concurrency)
>> >> https://review.openstack.org/307463 (oslo.cache)
>> >> https://review.openstack.org/307464 (oslo.privsep)
>> >> https://review.openstack.org/307466 (oslo.middleware)
>> >> https://review.openstack.org/307467 (oslo.log)
>> >> https://review.openstack.org/307468 (oslo.db)
>> >> https://review.openstack.org/307469 (oslo.versionedobjects)
>> >> https://review.openstack.org/307470 (oslo.service)
>> >> https://review.openstack.org/307471 (oslo.reports)
>> >>
>> >> Do note that the following have a dependency on babel but do not depend on
>> >> oslo.il8n:
>> >>
>> >> tooz
>> >> oslo.context
>> >> oslo.serialization
>> >> debtcollector
>>
>> And none of them is setup in infra for translations, so Babel can be
>> removed,
>
> Let's leave them. It was my intent, when I was PTL, that we set up
> translations for Oslo libraries that throw exceptions or log messages
> for operators. I think all of these are just incompletely implemented.
>
> Doug
>
> __________________________________________________________________________
> 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