Since the Lua does not guarantee backward compatibility the best solution
IMO would be the list all versions to which the rocks are intended to work.
It doesn't really make sense to use a '>=' operator once new Lua releases
can actually break current implementation.
Something like "lua = 5.1 or 5.2" makes more sense for me. But wait, in
fact in this case the ">=" operator is saying exactly the same thing. :-/
Maybe the real problem is lack of validation. We should assume that when
one puts "lua >= 5.1" then he is saying "lua5.2 is ok for me" but if he
didn't test the code there's a failure in the development process not in
the versioning. The code will work for lua5.1 and will have a bug for
lua5.2.
Let's supose one restricts the max lua version specifying <5.2. If this guy
doesn't test his 5.1 code, it has a chance to break as well, despite the
fact he has "correctly" specified de lua dependency.
The problem is a bit complex due to the nature of new Lua releases.
---
Eric
2013/5/6 Jack Lawson <ajacksif...@gmail.com>
>
> 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.
>
> Are there that many rocks that fail when switching to 5.2 that this is a
> major issue? 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.
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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