|
Hi,
Source versioning relates to a published API, so if a module does not change its API for Lua 5.1 but compiles for it, ideally the module source should remain at the same major.minor version (the third number would change if the source has modifications but not the API). Note that this is valid for both C and Lua modules.
What if the API is the same for Lua 5.1 and Lua 5.0, but the source code is not? That's what I am talking about. It would become a mess. You would have several files named luasocket-2.0.tar.gz, each for each version of Lua, but all implementing the same API as far as Lua code is concerned. What David suggested is to make this part of the distribution file name. Regards, Diego.