aboutsummaryrefslogtreecommitdiff
path: root/spec/util/git_repo.lua (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-01Tests: ensure that tests do not accidentally find a project dirHisham Muhammad2-0/+3
2018-07-01builtin: only add Lua libdir when linking libluaHisham Muhammad1-2/+3
2018-07-01Tests: minor cleanupsHisham Muhammad2-5/+6
2018-07-01cfg, cmd: major reorganizationHisham Muhammad13-820/+1007
* `--lua-dir` flag, specifying a prefix for the Lua installation to be used. This reconfigures LuaRocks entirely, including allowing a LuaRocks which is itself running using one Lua 5.x version to manage packages for a different Lua 5.y version. The resulting configuration can be checked with `luarocks config --lua-dir=<path>`. * requiring `luarocks.core.cfg` no longer has side-effects * configuration now needs to be initialized with `cfg.init([lua_data])`, where `lua_data` is a table with the configuration of the VM: * `lua_version` - e.g. `"5.3"` * `luajit_version` - e.g. `"2.1.0-beta3"` * `lua_interpreter` - e.g. `"lua5.3"` * `lua_bindir` - e.g. `"/usr/local/bin"` * `lua_libdir` - e.g. `"/usr/local/lib"` * `lua_incdir` - e.g. `"/usr/local/include/lua-5.3"` * `cfg.init` can be called multiple times, reconfiguring the global state. This is important since `luarocks.loader` now calls it, and the `--lua-dir` command line can override the configuration and reconfigure LuaRocks. * `site_config_*` is no more: LuaRocks is no longer dependent on a properly-written site_config file. Instead, it can *optionally* use `luarocks.core.hardcoded` for hardcoded values, or detect its configuration at runtime, based on OS detection, arg[-1] or command-line flags. * reduction of moving parts in the configuration: * `cfg.platforms` is no longer a globally-visible table; instead, `cfg` provides an API of read-only functions: `is_platform`, `each_platform`, `print_platforms`. * `cfg.*_proxy` options are no longer configured via the config files, but rather via the standard `*_proxy` environment variables. * `"windows"` is now the more general platform name of the Windows family. This is technically a breaking change but I don't expect it to cause problems with real-world rockspecs. * internal code reorganization in `luarocks.cmd` module
2018-07-01persist: add save_as_module, for all-in-one binaryHisham Muhammad1-2/+33
2018-07-01build: use cfg.is_platform()Hisham Muhammad1-1/+1
2018-07-01util: support listing Lua versions in descending orderHisham Muhammad1-4/+12
2018-07-01rockspecs: use cfg.each_platform()Hisham Muhammad1-4/+4
2018-07-01cmd: move local functions insideHisham Muhammad1-21/+22
2018-07-01cmd: new command-line initialization sequenceHisham Muhammad4-15/+15
2018-07-01queries: delay initalization of default [arch] entryHisham Muhammad1-1/+6
2018-07-01cmd: move cfg.errorcodes to cmd.errorcodesHisham Muhammad7-28/+24
2018-07-01cmd: rename luarocks.command_line to luarocks.cmdHisham Muhammad4-10/+10
2018-07-01fs: make module loading side-effect free, require explicit init()Hisham Muhammad8-50/+80
2018-06-28fs: perform tool detection at runtime (downloader, md5checker)Hisham Muhammad3-25/+63
2018-06-28core.util: move type_check.merge_under to core.util.deep_merge_underHisham Muhammad3-20/+27
2018-06-28fs.win32.pe-parser: copy get_architecture from install.batHisham Muhammad1-0/+15
2018-06-28config: skip some LuaRocks 2.x cfg optionsHisham Muhammad1-1/+9
2018-06-28config: print out full config when given no argumentsHisham Muhammad1-1/+74
2018-06-28Move win32.pe-parser to luarocks.fs.win32.pe-parserHisham Muhammad3-4/+2
2018-06-28Cleanups: Remove old lfw/ directory, rclauncher.cHisham Muhammad28-1471/+2
2018-06-28Nicer-looking path for project dirHisham Muhammad2-0/+3
2018-06-27Makefile: make `build` a dependency of `install`Hisham Muhammad1-1/+1
Fixes #832.
2018-06-26Update tests README.mdGeorge Roman1-8/+0
2018-06-24makedist: no more unrelated licenses in the root dirHisham Muhammad1-1/+1
2018-06-24COPYING: update dateHisham Muhammad1-1/+1
2018-06-24Move win32-specific licenses to win32/Hisham Muhammad3-0/+0
2018-06-22Tests: test commandGeorge Roman1-0/+170
2018-06-21Tests: replace small fixture files with inline contentGeorge Roman20-151/+269
2018-06-21Tests: improve the tests for the fs moduleGeorge Roman1-4/+139
2018-06-20rockspecs: propagate failure when parsing dependenciesHisham Muhammad1-3/+7
2018-06-20Tests: improve patch.lua testsGeorge Roman5-81/+180