Addons designed for LuaRocks will probably need to follow certain conventions so they can be easily identified and discovered.
This is what I propose:
-
The package field (its name) should start with lls-addon-, to clearly differentiate them from normal rocks that offer functionality at runtime.
-
If the addon reflects the types of an existing module, like penlight:
- the
package field should also reflect the original rock's package name, e.g. lls-addon-penlight.
- the
version field should start with the original rock's version followed by a dot and the addon rock's version, e.g. 1.14.0.1.0-1. Hopefully, this should make it so that if a rock decides to make the addon rock a build dependency, it only needs to specify something like "lls-addon-penlight ~> 1.14.0.1".
Addons designed for LuaRocks will probably need to follow certain conventions so they can be easily identified and discovered.
This is what I propose:
The
packagefield (its name) should start withlls-addon-, to clearly differentiate them from normal rocks that offer functionality at runtime.If the addon reflects the types of an existing module, like penlight:
packagefield should also reflect the original rock's package name, e.g.lls-addon-penlight.versionfield should start with the original rock's version followed by a dot and the addon rock's version, e.g.1.14.0.1.0-1. Hopefully, this should make it so that if a rock decides to make the addon rock a build dependency, it only needs to specify something like"lls-addon-penlight ~> 1.14.0.1".