Hi, all

I would have a question regarding versioning of packages, especially concerning the Lua (www.lua.org) scripting language.

Current package in Fink is 5.0, by the name 'lua'. Latest stable release is 5.0.2, which is compatible and causes no problems.

However, in the Lua tradition, backwards compatibility is not an absolute requirement. Things can and will change, which causes problems to version dependent systems like Fink. How to deal with this?

a) could do 'lua5' and 'lua6' and so forth package names, but should these all "Provides: lua" or not? The user expects the command name to be 'lua' regardless of version. For _most_ Lua scripts, the version will not make a difference.

b) just keep as is. then a module or script package dependent on Lua would need to "Requires: lua (>= 5.02 <= 5.99) or similar, until it is confirmed that it actually does run in the future (not yet existing) Lua 6.

c) even so, also minor versions may have changes, s.a. 5.1w4 (development version) is not completely 5.0.2 backwards compatible. There are positive changes, but those may break some occasional script.

So...  do you see the problem?  How about a solution?


I am not the Lua package author, but would like to expose a couple of Lua utilities I've made, via fink. In order to do this, I'd need a 5.0.2 package, and a course set up for future Lua releases.


-asko



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to