luarocks / luarocks-site

LuaRocks website and module host
http://luarocks.org
176 stars 36 forks source link

Dependencies aren't listed correctly #64

Open daurnimator opened 9 years ago

daurnimator commented 9 years ago

e.g. for https://luarocks.org/modules/daurnimator/cqueues I see:

Dependencies

lua == 5.1

Yet it supports 5.1, 5.2 and 5.3

Possibly a side-effect of having multiple rockspecs with different dependencies?

leafo commented 9 years ago

The dependencies are listed for the "current version," which is set as the last one that was uploaded. This module has three concurrent versions for each lua. I'm not sure if this is a common case, and if I should try to detect it and render something that highlights each version and their dependencies in the dependency list. Or I just say "Dependencies for {current_version_name}" on the main module page, and show separate dependencies on each version page.

daurnimator commented 9 years ago

This module has three concurrent versions for each lua. I'm not sure if this is a common case

This was the recommended solution by @hishamhm when there is different makefile targets for each lua version.