Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | persist: handle keys that are keywords correctly. | Hisham Muhammad | 2018-12-10 | 2 | -13/+70 | |
| | | | | Closes #947. | |||||
* | fs.win32: fix setting permissions for all users (#943) | FYP | 2018-11-21 | 1 | -1/+1 | |
| | ||||||
* | only report on local cache ownership if we can check it | Hisham Muhammad | 2018-11-12 | 1 | -1/+5 | |
| | | | | Closes #901. | |||||
* | makedist: add 'binary' and 'sign' steps | Hisham Muhammad | 2018-10-30 | 1 | -0/+44 | |
| | ||||||
* | Merge branch '3.0.4' | Hisham Muhammad | 2018-10-30 | 1 | -36/+0 | |
|\ | ||||||
| * | Release 3.0.4v3.0.4 | Hisham Muhammad | 2018-10-30 | 5 | -9/+10 | |
| | | ||||||
| * | Tests: add smoke test | Hisham Muhammad | 2018-10-30 | 3 | -4/+75 | |
|/ | ||||||
* | Tests: add tests for luarocks.core.sysdetect (#939) | Hisham Muhammad | 2018-10-30 | 2 | -0/+74 | |
| | ||||||
* | Smarter default rockspec, based on current dir basename | Hisham Muhammad | 2018-10-30 | 1 | -0/+8 | |
| | | | | | | | | | | | | This allows the following to work: ``` git clone https://github.com/example/foo cd foo luarocks download --rockspec bar luarocks test # will still use the foo rockspec # regardless of the presence of bar rockspec ``` | |||||
* | Unbundle pe-parser from LuaRocks sources | Hisham Muhammad | 2018-10-30 | 2 | -1/+1 | |
| | ||||||
* | core.sysdetect: add fork-free OS detection (#938) | Hisham Muhammad | 2018-10-30 | 5 | -48/+447 | |
| | | | | | 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 | 2 | -5/+22 | |
| | | | | | | (Amended with a regression test.) Co-authored-by: Hisham Muhammad <hisham@gobolinux.org> | |||||
* | test: rename a misinterpretable vararg (#936) | Oliver Vartiainen | 2018-10-22 | 1 | -7/+7 | |
| | | | Fixes #931 | |||||
* | pack: fix packing installed rock | FYP | 2018-10-17 | 1 | -2/+2 | |
| | ||||||
* | Fix dependency pattern matching for patterns including "+" | Hisham Muhammad | 2018-10-01 | 1 | -1/+1 | |
| | ||||||
* | Tests: add shebang test for fs.is_lua | Hisham Muhammad | 2018-09-26 | 1 | -0/+6 | |
| | ||||||
* | Improve error messages when external tools are not found | Hisham Muhammad | 2018-09-26 | 5 | -7/+23 | |
| | | | | | | Give informative error messages when external tools are not installed. In particular, give a nicer error on `luarocks pack` when 'zip' is not installed. | |||||
* | write_rockspec: fix representation of Lua version dependency | Hisham Muhammad | 2018-09-25 | 2 | -0/+28 | |
| | | | | | | | | 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. | |||||
* | Remove unnecessary old check from fs.set_permissions | George Roman | 2018-09-16 | 1 | -5/+3 | |
| | ||||||
* | fs: fix target pathname in wrap_script | Hisham Muhammad | 2018-09-16 | 2 | -24/+21 | |
| | | | | | | The second argument is always the full pathname of the target script to be created (except for the wrapper suffix ".bat" on Windows). | |||||
* | core.util: be more resilient when reading command outputs | Hisham Muhammad | 2018-09-16 | 1 | -2/+9 | |
| | | | | | | When luarocks.loader runs from within another process, we may end up getting an Interrupted signal when reading from a pipe, which is not handled by Lua. | |||||
* | Update .gitignore | George Roman | 2018-09-16 | 1 | -3/+2 | |
| | ||||||
* | Merge branch '3.0.3' | Hisham Muhammad | 2018-09-15 | 0 | -0/+0 | |
|\ | ||||||
| * | Release 3.0.3v3.0.3 | Hisham Muhammad | 2018-09-13 | 5 | -9/+10 | |
| | | ||||||
| * | Tests: add smoke test | Hisham Muhammad | 2018-09-13 | 3 | -5/+76 | |
|/ | ||||||
* | makedist: add version check for configure | Hisham Muhammad | 2018-09-13 | 1 | -0/+6 | |
| | ||||||
* | Tests: add regression test for luarocks.loader startup | Hisham Muhammad | 2018-09-11 | 2 | -1/+15 | |
| | ||||||
* | cfg: fix cosmetic improvement in LUA variable | Hisham Muhammad | 2018-09-11 | 1 | -1/+1 | |
| | ||||||
* | fs.win32: fix wrapper generation when a folder with the same basename exists | Hisham Muhammad | 2018-09-11 | 1 | -2/+2 | |
| | | | | Fixes #908. | |||||
* | builtin: autogenerate valid variable names for libraries with symbols | Hisham Muhammad | 2018-09-07 | 1 | -1/+1 | |
| | ||||||
* | cfg: cosmetic improvement in LUA variable | Hisham Muhammad | 2018-09-07 | 1 | -1/+1 | |
| | ||||||
* | cfg: allow an empty rocks_trees in a config-5.x.lua file | Hisham Muhammad | 2018-09-07 | 2 | -4/+3 | |
| | | | | This is so a project uses only the auto-inserted project tree | |||||
* | init: add --reset option | Hisham Muhammad | 2018-09-07 | 2 | -1/+18 | |
| | | | | | This allows for easier switching between Lua versions in a project directory. | |||||
* | init: store cmd_interpreter and luajit_version in generated config | Hisham Muhammad | 2018-09-07 | 1 | -0/+6 | |
| | ||||||
* | write_rockspec, init: rename --lua-version to --lua-versions | Hisham Muhammad | 2018-09-07 | 4 | -9/+10 | |
| | | | | | | | 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. | |||||
* | cmd: look for proper Lua version in $PATH when --lua-version is given | Hisham Muhammad | 2018-09-07 | 1 | -15/+38 | |
| | ||||||
* | builtin: improve skiplist for module autodetection | Hisham Muhammad | 2018-09-07 | 1 | -18/+22 | |
| | | | | Skips spec/ files even when there is no src/ | |||||
* | 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 | |||||
* | repos: fix upgrade and downgrade of files when module names clash | Hisham Muhammad | 2018-09-04 | 2 | -187/+262 | |
| | | | | | | | | | This reworks the logic of upgrading/downgrading multiple versions of the same package (or different packages) when they have different files that resolve to the same module name (foo.lua and foo.so). For a concrete example, this was hitting LuaSec downgrades. | |||||
* | show: base listing of modules on rock_manifest | Hisham Muhammad | 2018-09-03 | 3 | -26/+47 | |
| | | | | | | List modules based on rock_manifest, for better precision. Overall management of modules should be moved to use rock_manifest instead of the modules list from the general local manifest, but this is a good first step. | |||||
* | fs/unix/tools: Throw error if umask output is invalid | daurnimator | 2018-08-14 | 1 | -0/+3 | |
| | ||||||
* | fs/unix/tools: Use 'umask -S', the only form of umask with a standardised ↵ | daurnimator | 2018-08-14 | 1 | -3/+12 | |
| | | | | output form | |||||
* | fs/unix: hoist constants out of function | daurnimator | 2018-08-14 | 1 | -15/+14 | |
| | ||||||
* | configure: add a version identifier | Hisham Muhammad | 2018-08-13 | 1 | -1/+1 | |
| | ||||||
* | deps: detect include/lua5x/lua.h (FreeBSD-style LUA_INCDIR) | Hisham Muhammad | 2018-08-13 | 1 | -0/+2 | |
| | | | | This matches the change done in #872. | |||||
* | configure: Add include path template for FreeBSD style | daurnimator | 2018-08-13 | 1 | -0/+1 | |
| | ||||||
* | configure: Remove duplicate from list of include path templates | daurnimator | 2018-08-13 | 1 | -1/+0 | |
| | ||||||
* | GNUmakefile: remove sysconfdir as it's set in config.unix. | Hisham Muhammad | 2018-08-12 | 1 | -1/+0 | |
| | | | | Fixes #889. | |||||
* | add mkdir to the list of WIN_TOOLS used in non-binary Windows mode | Hisham Muhammad | 2018-08-11 | 1 | -1/+1 | |
| | ||||||
* | GNUmakefile: add back install-config target | Hisham Muhammad | 2018-08-11 | 1 | -0/+2 | |
| | | | | | As a convenience to distro maintainers who may want to distribute multiple versions of the LuaRocks configuration. |