tarantool / tarantool/tt

`tt rocks list` does not detect LuaRocks packages installed from luarocks.org

Open
#1,233 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
113
Forks
18
Avg merge
4d 11h
Merged PRs (30d)
23

Description

Steps to reproduce

Install rock:

luarocks install \
  --local \
  --tree=$PWD/.rocks \
  --lua-version 5.1 \
  lua-multipart-post 1.0-0

Check installed via luarocks:

luarocks list --tree=$PWD/.rocks --lua-version 5.1

output:

Rocks installed for Lua 5.1 in /home/user/dev/.rocks
-----------------------------------------------------------------------------

lua-multipart-post
   1.0-0 (installed) - /home/user/dev/.rocks/lib/luarocks/rocks-5.1

Check installed via tt:

tt rocks list --tree=$PWD/.rocks --lua-version 5.1

Result:

  • lua-multipart-post is not listed
  • only Tarantool-specific rocks (http, checks, expirationd) are shown
Environment
  • Tarantool CLI version 2.10.0, linux/amd64. commit: b75f14c

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the tt rocks list entry point and compare its behavior with luarocks list --tree=$PWD/.rocks --lua-version 5.1 for the reproduced lua-multipart-post installation. Done means tt rocks list includes that LuaRocks package alongside the Tarantool-specific rocks.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, lua
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.