[bitbake-devel] [Openembedded-architecture] [PATCH] data_smart: Drop default expand=False to getVar [API change]

Otavio Salvador otavio.salvador at ossystems.com.br
Wed Feb 3 10:11:47 UTC 2016


On Tue, Feb 2, 2016 at 9:55 PM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> At some point in the future, getVar should expand by default. To get
> there from the current position, we need a period of time where the
> expand parameter is mandatory.
>
> This patch starts that process. Clear errors will result from any code
> which doesn't provide this. Layers can be fixed with an expression
> like:
>
> sed -e 's:\(\.getVar([^,()]*, [^,()]*\)):\1, False):g' -i `grep -ril getVar *`
>
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

I am in favor of making it mandatory but I fail to see what we gain in
making it expand by default in future.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the bitbake-devel mailing list