Hi!

Am 06.05.2013 22:09 schröbte Jack Lawson:
> On Mon, May 6, 2013 at 12:28 PM, Doug Currie <doug.cur...@gmail.com> wrote:
>
>> no rockspec may be posted on the official repositories unless it specifies
>> a maximum compatible version of Lua.
>
>
> Completely disagree; I think it'd be far better that a majority of older
> rocks work without having to force updates from authors / takeover rocks,
> and the few that do fail can be updated to < 5.2.

So if I understand you correctly, you would be ok with fixing the 
dependencies of rocks that are proven to break for Lua 5.2 -- some form 
of faithful dependency: If nobody complains we assume the rocks are 
compatible with the latest Lua version.
That would already help a lot to get the repository to a state where it 
can be used with Lua 5.2.

>
> Are there that many rocks that fail when switching to 5.2 that this is a
> major issue?

Most C bindings break. Lua-only modules should be ok, unless they use 
setfenv.

> Trying to install a rock and having it say "nope, not
> compatible" even though it *actually is* seems more of a problem to me, in
> my experience.
>

When you say "in my experience", do you mean experience with rocks, or 
some other version management system? Because in case of rocks there is 
not much opportunity to get this impression:

total rockspecs:        795
rockspecs with lua dependency   677
lua ~> 5.1      23
         date-2.0.1-1.rockspec
         flu-20101020-1.rockspec
         flu-20121106-1.rockspec
         flu-20121212-1.rockspec
         luadate-2.0.1-1.rockspec
         lub-1.0.0-1.rockspec
         lunary-20101009-1.rockspec
         lunary-20121108-1.rockspec
         lunary-20121212-1.rockspec
         lunary-core-20101009-1.rockspec
         lunary-core-20121108-1.rockspec
         lunary-core-20121212-1.rockspec
         lunary-optim-20101009-1.rockspec
         lunary-optim-20121108-1.rockspec
         lunary-optim-20121212-1.rockspec
         lut-1.0.0-1.rockspec
         lzlib-0.4-1.rockspec
         prtr-dump-20121106-1.rockspec
         prtr-dump-20121212-1.rockspec
         prtr-path-20121107-1.rockspec
         prtr-path-20121212-1.rockspec
         prtr-test-20121212-1.rockspec
         yaml-0.2-1.rockspec
lua = 5.1       1
         schema-1.0.0-1.rockspec
lua >= 5.1, < 5.2       8
         bit32-5.2.0alpha.1-1.rockspec
         lanes-2.0-1.rockspec
         lanes-2.0-2.rockspec
         lanes-2.0.3-1.rockspec
         lanes-2.0.3-2.rockspec
         luafilesystem-1.5.0-3.rockspec
         luasocket-2.0.2-5.rockspec
         lunit-0.5-2.rockspec
lua >= 5.1, < 5.3       5
lua >= 5.1, <= 5.2      8
lua == 5.2      1
lua >= 5.2      4
lua >= 5.1      616
lua >= 5.0      7
lua == 5.1      4
         lbci-20090306-1.rockspec
         vert-0.0.1-1.rockspec
         vert-0.0.2-1.rockspec
         vert-0.0.3-1.rockspec


Only 36 rockspecs specify that they don't run on Lua 5.2 (and for the 
listed yaml, lfs, luasocket, and lbci versions I *know* this to be true).

Philipp




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to