<div dir="ltr">Thanks, Nachi.<div><br></div><div>Doug<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 16, 2013 at 4:47 PM, Nachi Ueno <span dir="ltr"><<a href="mailto:nachi@ntti3.com" target="_blank">nachi@ntti3.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Folks<br>
<br>
Thanks<br>
I'll update code with Jinja2<br>
<br>
2013/7/16 Michael Basnight <<a href="mailto:mbasnight@gmail.com">mbasnight@gmail.com</a>>:<br>
<div class="HOEnZb"><div class="h5">> Also, jinja2 is in requirements. We have no specific requirements on a particular version so feel free to pin it to a specific. We (trove) use it to generate config templates.<br>
><br>
> <a href="https://github.com/openstack/requirements/commit/96f38365ce94d2135f7744c93bae0ce92a747195" target="_blank">https://github.com/openstack/requirements/commit/96f38365ce94d2135f7744c93bae0ce92a747195</a><br>
><br>
> On Jul 16, 2013, at 1:10 PM, Nachi Ueno wrote:<br>
><br>
>> Hi folks<br>
>><br>
>> Jinja2 looks have +3.<br>
>> This is the winner?<br>
>><br>
>> # My code can be done by Jinja2 also.<br>
>><br>
>> so if we choose Jinja2, what's version range is needed?<br>
>><br>
>> Thanks<br>
>> Nachi<br>
>><br>
>><br>
>><br>
>> 2013/7/16 Matt Dietz <<a href="mailto:matt.dietz@rackspace.com">matt.dietz@rackspace.com</a>>:<br>
>>> I'll second the jinja2 recommendation. I also use it with Pyramid, and<br>
>>> find it non-obtrusive to write and easy to understand.<br>
>>><br>
>>> -----Original Message-----<br>
>>> From: Sandy Walsh <<a href="mailto:sandy.walsh@RACKSPACE.COM">sandy.walsh@RACKSPACE.COM</a>><br>
>>> Reply-To: OpenStack Development Mailing List<br>
>>> <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
>>> Date: Tuesday, July 16, 2013 11:34 AM<br>
>>> To: OpenStack Development Mailing List <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
>>> Subject: Re: [openstack-dev] Cheetah vs Jinja<br>
>>><br>
>>>> I've used jinja2 on many projects ... it's always been solid.<br>
>>>><br>
>>>> -S<br>
>>>><br>
>>>> ________________________________________<br>
>>>> From: Solly Ross [<a href="mailto:sross@redhat.com">sross@redhat.com</a>]<br>
>>>> Sent: Tuesday, July 16, 2013 10:41 AM<br>
>>>> To: OpenStack Development Mailing List<br>
>>>> Subject: [openstack-dev] [Change I30b127d6] Cheetah vs Jinja<br>
>>>><br>
>>>> (This email is with regards to <a href="https://review.openstack.org/#/c/36316/" target="_blank">https://review.openstack.org/#/c/36316/</a>)<br>
>>>><br>
>>>> Hello All,<br>
>>>><br>
>>>> I have been implementing the Guru Meditation Report blueprint<br>
>>>> (<a href="https://blueprints.launchpad.net/oslo/+spec/guru-meditation-report" target="_blank">https://blueprints.launchpad.net/oslo/+spec/guru-meditation-report</a>), and<br>
>>>> the question of a templating engine was raised. Currently, my version of<br>
>>>> the code includes the Jinja2 templating engine (<a href="http://jinja.pocoo.org/" target="_blank">http://jinja.pocoo.org/</a>),<br>
>>>> which is modeled after the Django templating engine (it was designed to<br>
>>>> be an implementation of the Django templating engine without requiring<br>
>>>> the use of Django), which is used in Horizon. Apparently, the Cheetah<br>
>>>> templating engine (<a href="http://www.cheetahtemplate.org/" target="_blank">http://www.cheetahtemplate.org/</a>) is used in a couple<br>
>>>> places in Nova.<br>
>>>><br>
>>>> IMO, the Jinja template language produces much more readable templates,<br>
>>>> and I think is the better choice for inclusion in the Report framework.<br>
>>>> It also shares a common format with Django (making it slightly easier to<br>
>>>> write for people coming from that area), and is also similar to template<br>
>>>> engines for other languages. What does everyone else think?<br>
>>>><br>
>>>> Best Regards,<br>
>>>> Solly Ross<br>
>>>><br>
>>>> _______________________________________________<br>
>>>> OpenStack-dev mailing list<br>
>>>> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
>>>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> OpenStack-dev mailing list<br>
>>>> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
>>>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> OpenStack-dev mailing list<br>
>>> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
>>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
>><br>
>> _______________________________________________<br>
>> OpenStack-dev mailing list<br>
>> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
><br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div></div></div>