Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Tests: add a couple of tests for dir.normalize | Hisham Muhammad | 2019-06-03 | 1 | -6/+17 | |
| | ||||||
* | cmd: fix crash if LuaRocks is given a bad LUA_DIR | Hisham Muhammad | 2019-06-03 | 1 | -0/+34 | |
| | | | | Includes a regression test. | |||||
* | Tests: cleanup signature before signing | Hisham Muhammad | 2019-04-26 | 2 | -0/+4 | |
| | ||||||
* | Tests: add test for fs.wrap_script | Hisham Muhammad | 2019-04-19 | 1 | -13/+53 | |
| | ||||||
* | spec/init_spec.lua: cleanup test | Hisham Muhammad | 2019-04-09 | 1 | -3/+1 | |
| | ||||||
* | config: add modes for reading, writing and unsetting individual entries | Hisham Muhammad | 2019-04-03 | 1 | -65/+176 | |
| | | | | | | | | | | | | | | | | | | | | Includes special config keys `lua_dir` and `lua_version`, which are essentially persistent versions of --lua-dir and --lua-version: * `lua_dir` writes a number of LUA_* variables and cfg.lua_interpreter in the current scope's config file. * `lua_version` writes default-lua-version.lua to the given scope. Also deprecates the "flag" versions for various getters: * `--lua-incdir`: use `luarocks config variables.LUA_INCDIR` * `--lua-libdir`: use `luarocks config variables.LUA_LIBDIR` * `--lua-ver`: use `luarocks config lua_version` * `--system-config`: use `luarocks config config_files.system.file` * `--user-config`: use `luarocks config config_files.user.file` * `--rock-trees`: use `luarocks config rocks_trees` | |||||
* | update to luacov 0.13.1 + cluacov 0.1.1 | Hisham Muhammad | 2019-04-03 | 5 | -14/+17 | |
| | ||||||
* | upload: add --sign option | Hisham Muhammad | 2019-04-01 | 1 | -1/+5 | |
| | ||||||
* | Add --sign option to `luarocks pack` | Hisham Muhammad | 2019-04-01 | 6 | -0/+12 | |
| | | | | | | | | * Introduce a new module, `luarocks.signing` * Add `--sign` option to `luarocks pack`, which produces a detached GPG signature * Includes a basic test, along with some fixtures with a password-less GPG key | |||||
* | cmd: refactor detection code and improve detection of project dir | Hisham Muhammad | 2019-04-01 | 1 | -1/+3 | |
| | ||||||
* | Support installations without documentation | George Roman | 2019-02-12 | 1 | -2/+6 | |
| | ||||||
* | persist: handle keys that are keywords correctly. | Hisham Muhammad | 2018-12-10 | 1 | -0/+8 | |
| | | | | Closes #947. | |||||
* | Tests: add tests for luarocks.core.sysdetect (#939) | Hisham Muhammad | 2018-10-30 | 1 | -0/+73 | |
| | ||||||
* | core.sysdetect: add fork-free OS detection (#938) | Hisham Muhammad | 2018-10-30 | 1 | -2/+2 | |
| | | | | | Detect operating system and architecture without forking subprocesses, doing `file`-like detection reading data from well-known system executables. | |||||
* | cmd: fix setting up deployment paths from a tree | FYP | 2018-10-29 | 1 | -0/+17 | |
| | | | | | | (Amended with a regression test.) Co-authored-by: Hisham Muhammad <hisham@gobolinux.org> | |||||
* | Tests: add shebang test for fs.is_lua | Hisham Muhammad | 2018-09-26 | 1 | -0/+6 | |
| | ||||||
* | write_rockspec: fix representation of Lua version dependency | Hisham Muhammad | 2018-09-25 | 1 | -0/+21 | |
| | | | | | | | | The Lua version dependency specified with --lua-versions was using the internal table format. This commit ensures that it is stored in rockspecs using the string format. Includes a regression test. | |||||
* | Tests: add regression test for luarocks.loader startup | Hisham Muhammad | 2018-09-11 | 2 | -1/+15 | |
| | ||||||
* | write_rockspec, init: rename --lua-version to --lua-versions | Hisham Muhammad | 2018-09-07 | 1 | -5/+5 | |
| | | | | | | | Fixes conflict between the use of --lua-version in write_rockspec to list supported Lua versions in a rockspec (now renamed to --lua-versions) and the general --lua-version flag used to select a Lua interpreter. | |||||
* | Tests: add test cases for rocks with conflicting module names | Hisham Muhammad | 2018-09-04 | 8 | -1/+159 | |
| | | | | | This tests the behavior of upgrades and downgrades on rocks that deploy both foo.lua and foo.so | |||||
* | Fix: do not detect .luarocks/config-5.x.lua and lua_modules as modules | Hisham Muhammad | 2018-08-02 | 1 | -1/+51 | |
| | | | | | | | | | | | | | Running luarocks init a second time after deleting the rockspec was mis-detects .luarocks/config-5.x.lua as a module, creating an entry `["luarocks.config-5.3"] = ".luarocks/config-5.3.lua"` in `build.modules`. Same problem happened with modules under `lua_modules`. This excludes `.luarocks` and `lua_modules` from module detection. Includes a regression test. Closes #847. | |||||
* | Do not rewrite path in util.cleanup_path if the desired version is a ↵ | Ryan Hartlage | 2018-08-01 | 1 | -0/+14 | |
| | | | | | | | | substring of the version (#868) * Do not rewrite path in util.cleanup_path if the desired version is a substring of the version * Improve test coverage for core.util.cleanup_path | |||||
* | Tests: refactor and add fixtures for the doc tests | George Roman | 2018-07-31 | 2 | -37/+122 | |
| | ||||||
* | fs: fix rwx_to_number, add negated mask mode | Hisham Muhammad | 2018-07-26 | 1 | -0/+22 | |
| | | | | Fixes #856. | |||||
* | Tests: add test_env.run_in_tmp utility function | George Roman | 2018-07-24 | 4 | -265/+217 | |
| | ||||||
* | Tests: add more unit tests for fun.lua | George Roman | 2018-07-24 | 1 | -0/+57 | |
| | ||||||
* | fs.copy: skip copying if the source and destination are the same files | George Roman | 2018-07-22 | 1 | -1/+1 | |
| | ||||||
* | Tests: use more fixtures in the build tests | George Roman | 2018-07-22 | 3 | -53/+101 | |
| | ||||||
* | fs: make unpack_archive platform-agnostic using specific fs functions | Hisham Muhammad | 2018-07-18 | 2 | -0/+16 | |
| | | | | | | | Use luarocks.tools.tar for handling tar files, and add platform-specific functions fs.zip, fs.unzip, fs.bunzip2, fs.gunzip, giving them native implementations using Lua modules or alternative implementations using third-party tools. | |||||
* | Tests: tweak dependencies for env=full tests | Hisham Muhammad | 2018-07-18 | 1 | -11/+10 | |
| | ||||||
* | Tests: support running with the default detected OpenSSL locations | Hisham Muhammad | 2018-07-18 | 4 | -16/+12 | |
| | ||||||
* | Tests: use fixtures for some build integration tests | George Roman | 2018-07-18 | 1 | -24/+80 | |
| | ||||||
* | Add general improvements to the fs module | George Roman | 2018-07-16 | 2 | -34/+36 | |
| | ||||||
* | Update the behavior of fs.set_permissions on Windows | George Roman | 2018-07-16 | 1 | -4/+4 | |
| | ||||||
* | Tests: add tests for the dynamic commands | George Roman | 2018-07-16 | 1 | -0/+57 | |
| | ||||||
* | Tests: remove redundant build tests | George Roman | 2018-07-05 | 1 | -43/+0 | |
| | ||||||
* | Tests: unit tests for build.builtin | George Roman | 2018-07-05 | 1 | -19/+454 | |
| | ||||||
* | Tests: separate OPENSSL_DIRS into OPENSSL_INCDIR and OPENSSL_LIBDIR | George Roman | 2018-07-05 | 4 | -10/+30 | |
| | ||||||
* | Experimental Windows cross-compiled binary build | Hisham Muhammad | 2018-07-02 | 1 | -0/+11 | |
| | | | | | | | | | | | | This commit consolidates the work that has been ongoing over the last few weeks in producing the single-binary builds of LuaRocks based on the new distribution model described in https://github.com/luarocks/luarocks/wiki/Project:-LuaRocks-new-distribution-model The single-binary build is in a good shape for Linux, it's a work-in-progress for Windows (binaries do build, but some work on the dependencies is still necessary), and is untested in macOS. | |||||
* | Tests: improve isolation of tests | Hisham Muhammad | 2018-07-01 | 2 | -10/+14 | |
| | ||||||
* | Tests: remove outdated test | Hisham Muhammad | 2018-07-01 | 1 | -20/+0 | |
| | | | | | Remove regression test for #304 because LuaRocks no longer conflates foo and foo.init as the same module. | |||||
* | Tests: remove precompiled header added incorrectly | Hisham Muhammad | 2018-07-01 | 1 | -0/+0 | |
| | ||||||
* | Let LuaRocks find LUA_LIBDIR and LUA_INCDIR by itself | Hisham Muhammad | 2018-07-01 | 2 | -14/+4 | |
| | ||||||
* | Tests: config: no need for special-casing Windows | Hisham Muhammad | 2018-07-01 | 2 | -37/+20 | |
| | ||||||
* | Tests: improve hardcoded defaults | Hisham Muhammad | 2018-07-01 | 1 | -12/+28 | |
| | ||||||
* | Tests: try some smarter defaults for Windows | Hisham Muhammad | 2018-07-01 | 1 | -3/+6 | |
| | ||||||
* | Tests: do not run installer on Windows | Hisham Muhammad | 2018-07-01 | 1 | -35/+38 | |
| | ||||||
* | Tests: speed up downloading rocks reusing HTTP connection | Hisham Muhammad | 2018-07-01 | 1 | -8/+15 | |
| | ||||||
* | cmd, Tests: ensure versioned directory is tried first | Hisham Muhammad | 2018-07-01 | 1 | -2/+2 | |
| | ||||||
* | Tests: ensure that tests do not accidentally find a project dir | Hisham Muhammad | 2018-07-01 | 1 | -0/+1 | |
| |