nvim-neorocks / rocks

An alternative frontend app for luarocks.org
MIT License
12 stars 0 forks source link

[Suggestion]: Ignore version data inside filenames #21

Open vhyrro opened 1 month ago

vhyrro commented 1 month ago

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.