On Mon, Jul 25, 2011 at 12:47 PM, James Graves <[email protected]> wrote: > Hi All, > > I've pushed some more changes for luarocks to support Lua 5.2 beta. > It is the 'multi_version' branch here: > > https://github.com/ansible07/luarocks > > I'm still testing it. I don't think I've done anything to mess up > compatibility with Lua 5.1. At any rate, I invite people to review > the changes and send me comments. I'd be glad to fix anything to make > it acceptable for inclusion.
Hi! Many thanks for your work on this! I'm looking at the commits and will look into merging them in. We need to have in mind what exactly do we want in terms of compatibility: 1) Do we want LuaRocks to be able to mantain Lua 5.2 trees? 2) Do we want LR to be able to run with Lua 5.1 and Lua 5.2? 3) Do we want the same installed instance of LR to run with Lua 5.1 or Lua 5.2? 4) Do we want the same installed instance of LR to maintain Lua 5.1 and Lua 5.2 trees? I don't think 3 is worth it, because we'd have to install the luarocks modules under share/lua/5.1 or share/lua/5.2 anyway, so just installing two instances (with the hash-bang line pointing to the right version) sounds less confusing in terms of setup and configuration. Not sure about 4, but it seems to fall under the same case. I don't have a migration plan yet, but it seems we can pull off a smooth transition. Coding in the common subset of Lua 5.1 and 5.2 and testing everything twice doesn't sound very pleasant, but it's probably better than maintaining two trees. Since 5.2 isn't even released yet, I'll expect to keep 5.1 support around for a good while. -- -- Hisham http://hisham.hm/ - http://colorbleed.com.br/ ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
