Skip to content
Snippets Groups Projects
  • Roman Tsisyk's avatar
    9e7c4217
    Add minimal viable package manager based on LuaRocks · 9e7c4217
    Roman Tsisyk authored
    Usage:
    
        tarantoolctl rocks install ROCK - install a rock
        tarantoolctl rocks remove ROCK - remove a rock
        tarantoolctl rocks show ROCK - show information about an installed rock
        tarantoolctl rocks search PATTERN - search repository for rocks
        tarantoolctl rocks list - list all installed rocks
    
    There are no other commands, options, configuration files. Our official
    repository (http://rocks.tarantool.org) works out of the box. All rocks
    are installed to ${PWD}/.rocks directory to support separate rocks trees
    per project, as proposed by #2067. Rockspec can use "tarantool >= 1.7.x"
    inside dependencies = {} block to depend on a specific Tarantool version.
    
    LuaRocks has been slightly hacked to support custom configuration
    via site_config.lua. There are no other changes in the upstream code.
    It is not a fork and it isn't going to be a fork. All formats, layouts
    and rockspecs are 100% compatible with the upstream LuaRocks 2017-07-10.
    
    This feature intentionally doesn't have CMake option to disable it,
    because it should be provided on all available platforms out of the box.
    
    Other changes:
    
     * Add ${PWD}/.rocks to default package.path/package.cpath
     * Hack tarantoolctl to display subcommands in --help.
       Currently command line arguments handling are not perfect, but
       it can be fixed only by a new argparse implementation.
    
    Closes #2067
    9e7c4217
    History
    Add minimal viable package manager based on LuaRocks
    Roman Tsisyk authored
    Usage:
    
        tarantoolctl rocks install ROCK - install a rock
        tarantoolctl rocks remove ROCK - remove a rock
        tarantoolctl rocks show ROCK - show information about an installed rock
        tarantoolctl rocks search PATTERN - search repository for rocks
        tarantoolctl rocks list - list all installed rocks
    
    There are no other commands, options, configuration files. Our official
    repository (http://rocks.tarantool.org) works out of the box. All rocks
    are installed to ${PWD}/.rocks directory to support separate rocks trees
    per project, as proposed by #2067. Rockspec can use "tarantool >= 1.7.x"
    inside dependencies = {} block to depend on a specific Tarantool version.
    
    LuaRocks has been slightly hacked to support custom configuration
    via site_config.lua. There are no other changes in the upstream code.
    It is not a fork and it isn't going to be a fork. All formats, layouts
    and rockspecs are 100% compatible with the upstream LuaRocks 2017-07-10.
    
    This feature intentionally doesn't have CMake option to disable it,
    because it should be provided on all available platforms out of the box.
    
    Other changes:
    
     * Add ${PWD}/.rocks to default package.path/package.cpath
     * Hack tarantoolctl to display subcommands in --help.
       Currently command line arguments handling are not perfect, but
       it can be fixed only by a new argparse implementation.
    
    Closes #2067
.gitmodules 983 B
[submodule "third_party/luajit"]
	path = third_party/luajit
	url = https://github.com/tarantool/luajit.git
	ignore = dirty
	branch = tarantool-1.7
[submodule "third_party/libyaml"]
	path = third_party/libyaml
	url = https://github.com/tarantool/libyaml.git
	ignore = dirty
[submodule "src/lib/msgpuck"]
	path = src/lib/msgpuck
	url = https://github.com/tarantool/msgpuck.git
	ignore = dirty
[submodule "third_party/luafun"]
	path = third_party/luafun
	url = https://github.com/rtsisyk/luafun.git
	ignore = dirty
[submodule "test-run"]
	path = test-run
	url = https://github.com/tarantool/test-run.git
	ignore = dirty
[submodule "src/lib/small"]
	path = src/lib/small
	url = https://github.com/tarantool/small.git
	ignore = dirty
[submodule "third_party/zstd"]
	path = third_party/zstd
	url = https://github.com/tarantool/zstd.git
	ignore = dirty
[submodule "third_party/luarocks"]
	path = third_party/luarocks
	url = https://github.com/tarantool/luarocks.git
	branch = tarantool-1.7