[Tarantool-patches] [PATCH v2 1/1] luarock: change a way to create manifest
Kirill Yukhin
kyukhin at tarantool.org
Fri Jul 10 11:28:59 MSK 2020
Hello,
On 09 июл 19:45, imeevma at tarantool.org wrote:
> Whenever a rock is installed it's being added to the repository
> manifest. And if a manifest doesn't exist yet, luarocks creates
> one by scanning the directory.
>
> It causes a problem when *.all.rock with dependencies is installed
> into an empty directory. Luarocks unpacks the all.rock before
> installing dependencies, and it's modules are captured during
> manifest creation. After the installation finishes, luarocks adds
> the all.rock to the manifest once again (now intentionally),
> detects collision of module names and renames them uniquely, like
> "cartridge_1_2_0_1". As a result, "require()" function doesn't
> work.
>
> This patch changes the way of manifest creation: instead of
> scanning repo luarocks creates an empty one.
>
> Closes tarantool/tarantool#4704
I've checked your patch into tarantool/luarocks's tarantool-1.7
branch and bumped a new version in 1.10 branch.
--
Regards, Kirill Yukhin
More information about the Tarantool-patches
mailing list