Hi, Today I committed some more changes towards Lua 5.2 compatibility. I didn't do extensive tests yet but I reworked the appropriate parts of the configure script and managed to run some luarocks commands under Lua 5.2, while maintaining Lua 5.1 compatibility, of course.
There's some auto-detection in place, and also a --lua-version flag in configure. One pending issue I spotted: the lib/luarocks/rocks/ directory needs to be versioned too. While in theory a tree can hold both Lua 5.1 and 5.2 packages, in practice that won't work because the dependencies list cannot be shared. I'm wondering if the remote rocks server URL should be versioned as well -- I'm hoping not, as I don't want to keep two repositories. Hopefully with proper dependencies specified in rockspecs we'll be able to get away with a single repository (some rockspecs will need to be revised to explicitly mention (in)compatibility with Lua 5.2). Bug reports, patches and pull requests related to Lua 5.2 support are definitely welcome. Cheers, -- Hisham http://hisham.hm/ ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
