#1721 `prosodyctl about` does not report correct LuaRocks version
Reporter
gerald
Owner
Nobody
Created
Updated
Stars
★ (1)
Tags
Status-Accepted
Priority-Medium
Type-Defect
gerald
on
What steps will reproduce the problem?
1. Run `prosodyctl about`
2. Observe "LuaRocks: Installed (2.x+)" in the output
3. Compare with `luarocks --version` output
What is the expected output?
Versions should be the same
What do you see instead?
They're not the same.
`luarocks --version` reports 3.8.0
What version of the product are you using? On what operating system?
* Prosody trunk, build 1631, 50fcd3879482
* Debian Stable, lua-5.2-dev
* Luarocks 3.8.0 from prosody.im repo
Please provide any additional information below.
Zash
on
Thanks for the report.
Part of the problem is that luarocks does not really expose any good way to detect this short of shelling out to `luarocks --version`.
Ref https://github.com/luarocks/luarocks/issues/747
What steps will reproduce the problem? 1. Run `prosodyctl about` 2. Observe "LuaRocks: Installed (2.x+)" in the output 3. Compare with `luarocks --version` output What is the expected output? Versions should be the same What do you see instead? They're not the same. `luarocks --version` reports 3.8.0 What version of the product are you using? On what operating system? * Prosody trunk, build 1631, 50fcd3879482 * Debian Stable, lua-5.2-dev * Luarocks 3.8.0 from prosody.im repo Please provide any additional information below.
Thanks for the report. Part of the problem is that luarocks does not really expose any good way to detect this short of shelling out to `luarocks --version`. Ref https://github.com/luarocks/luarocks/issues/747
Changes