Open moteus opened 9 years ago
That would be awesome to have, but to implement that we would have to have a list of modules that a rockspec generates. We don't have that (yet) because to produce this list we'd have to run the build (and it could produce different lists from platform to platform). I don't know a good solution for this.
I think it is possible for builtin
build mode.
May be luarocks also could provide manual list in description section for other types. (Not good idea I know)
Yes, it's possible for builtin but it would be an incomplete solution. Well, since 80% of rocks use builtin maybe it's not that bad of an idea...
I think it would be convinient to be able check if this module name already used in some library. E.g. LuaSocket library uses not only
socket
module name but alsomime
andltn12
. But some libraries may use same base module name (e.g.LuaCov
andLuaCov-coveralls
) libraryes use same namespaceluacov
. So I thinkluarocks upload
and web UI should get warning if some one try create new library that contein modules with such names.@hishamhm ping.