Currently, luarocks embeds versioning information in the rock filename itself (rockname-0.0.1-1.rockspec). We should still allow files like this, but we should ideally completely the version that's presented there. Instead we should parse the contents of the file to extract the actual version - this is slightly slower but at greatly increased developer ergonomics.
Currently, luarocks embeds versioning information in the rock filename itself (
rockname-0.0.1-1.rockspec
). We should still allow files like this, but we should ideally completely the version that's presented there. Instead we should parse the contents of the file to extract the actual version - this is slightly slower but at greatly increased developer ergonomics.