openresty / lua-nginx-module

Embed the Power of Lua into NGINX HTTP servers
https://openresty.org/
11.33k stars 2.03k forks source link

Is there any easy way to find correspondence of version between lua-nginx-module and its dependencies? #2235

Closed yangzhaofeng closed 1 year ago

yangzhaofeng commented 1 year ago

For example, lua-nginx-module v0.10.24 requires lua-resty-core v0.1.26, which also requires lua-resty-lrucache.

I have not found an easy way but looking at lua-resty-core/lib/resty/core/base.lua every time to get the correspondence of the version between lua-nginx-module and lua-resty-core. This means I need to find it out and modify a bunch of numbers of them manually everytime when I am going to update lua-nginx-module.

Is it possible to, for example, use submodules in these repositories so it can be easier for developers to build this module, especially with scripts?

zhuizhuhaomeng commented 1 year ago

Download the source code from https://openresty.org/en/download.html, and then decompress the tarball. You can find the versions of the dependencies.