[Buildroot] [PATCH 1/3] package/lua-debug: new package

François Perrad francois.perrad at gadz.org
Fri Dec 28 16:09:31 UTC 2018


Le ven. 28 déc. 2018 à 16:16, Thomas Petazzoni <thomas.petazzoni at bootlin.com>
a écrit :

> Hello François,
>
> Thanks a lot for your feedback on this series.
>
> On Fri, 28 Dec 2018 15:32:39 +0100, François Perrad wrote:
>
> > > +# lua-debug
> >
> > This rock uses the namespace std.
> > So, in order to avoid future name collision, it must be named
> lua-std-debug
>
> Just for my own understanding, could you give a few more details about
> this? We don't have any package today named lua-std-<something>, so I'm
> interested in understanding this "namespace std" thing and the
> namespace pollution issue.
>
>
The risk of collision is with `debug` and `normalize` which are very common
word, not with `std`.

On luarocks, their name are std._debug & std.normalize.
See https://luarocks.org/modules/gvvaughan/std._debug and
https://luarocks.org/modules/gvvaughan/std.normalize

Also, is your automated luarocks package generation logic
> (http://patchwork.ozlabs.org/patch/1015895/) going to name such a
> package lua-std-debug and not lua-debug ?
>

You could run :
    $ luarocks buildroot std._debug lua-std-debug

std._debug allows to find it on luarocks
lua-std-debug is our name on BR

François


> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181228/f37187e7/attachment.html>


More information about the buildroot mailing list