summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 3.5.0v3.5.0Hisham Muhammad2020-12-105-7/+8
|
* Revert change in MSVC env setup scriptHisham Muhammad2020-12-101-1/+1
| | | | | | | Reverts 04513372d7d5859ea865252095c3b5ce0762228f Fixes #1232. Fixes #1233.
* Add error messages to lua_h_existsequa2020-11-271-0/+4
| | | | | | | Previously, if LUA_INCDIR was specified but invalid, install and other commands would error without a message, eventually causing a failed assertion in cmd.lua and leaving a hard-to-troubleshoot situation with no information.
* Add support for MSYS2 + Mingw-w64 (#1231)Sutou Kouhei2020-10-281-5/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, LuaRocks supports: * (a) Lua interpreters built for MSYS2 (Lua interpreters depend on msys-2.0.dll). (the "msys" platform) * (b) Lua interpreters built by MinGW (Lua interpreters don't depend on msys-2.0.dll). (the "mingw" platform) This change adds support for (c) Lua interpreters built as native Windows application by MSYS2 + Mingw-w64 (Lua interpreters don't depend on msys-2.0.dll). (the "msys2_mingw_w64" platform) Here are differences between (a), (b) and (c): * (a) can't work without MSYS2 (msys-2.0.dll) * (b) can work without MSYS2 * (c) can work without MSYS2 but is generally used with MSYS2 because MSYS2 provides packages of useful libraries such as libxml2. This change assumes that users use (c) with MSYS2. But this change still uses win32/tools provided by LuaRocks not MSYS2. MSYS2 has LuaRocks package: https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-lua-luarocks It applies a patch to support (c). If this change is merged into LuaRocks, MSYS2 doesn't need to have a patch for LuaRocks.
* Use table.pack so that nil varags aren't dropped (#1229)daurnimator2020-10-285-9/+20
| | | | | * fs: fix verbose mode when an argument is nil * Use table.pack in more places
* publishrelease: fix wiki linksHisham Muhammad2020-09-251-4/+5
|
* makedist: fix dev targetHisham Muhammad2020-09-251-3/+1
|
* Merge branch '3.4.0'Hisham Muhammad2020-09-250-0/+0
|\
| * Release 3.4.0v3.4.0Hisham Muhammad2020-09-255-7/+8
|/
* makedist: fix argument handlingHisham Muhammad2020-09-251-11/+13
|
* publishrelease: update URLsHisham Muhammad2020-09-251-3/+3
|
* update changelog for 3.4.0Hisham Muhammad2020-09-251-2/+36
|
* win32: generate proper temp filenameHisham Muhammad2020-09-251-1/+6
| | | | | | | | Closes #1224. See https://github.com/luarocks/luarocks/pull/1224/files#r493011698 Co-authored-by: dwenegar <simone.livieri@gmail.com>
* Merge branch 'master' of ssh://github.com/luarocks/luarocksHisham Muhammad2020-09-250-0/+0
|\
| * manif: keep scanning on non-default trees (#1227)Hisham Muhammad2020-09-231-12/+12
| |
* | manif: keep scanning on non-default treesHisham Muhammad2020-09-231-12/+12
|/
* Support --pin and --only-deps together (#1222)Hisham Muhammad2020-09-232-0/+39
|
* Merge remote-tracking branch 'origin/refs/pull/1223/head' into masterdaurnimator2020-09-221-4/+14
|\
| * fix(new_version): keep the old url if the md5 doesn't change.Simone Livieri2020-09-211-4/+14
|/
* Add the `--no-install` option to the `make` command (#1213)dwenegar2020-09-167-34/+57
| | | | | | * feat: add --no-install to make Add the --no-install option to the make command to build the rock w/o installing it.
* specify eol for batch files in `.editorconfig`.Simone Livieri2020-09-162-1230/+1233
|
* silence the MSVC env setup scriptSimone Livieri2020-09-161-1230/+1230
|
* Do not assume Lua 5.3 includes bit32Hisham Muhammad2020-08-261-1/+1
| | | | | | | We can't autodetect this either because the interpreter running LuaRocks may not be the same one running Lua. Fixes #1204.
* Bundle dkjson in the all-in-one binaryHisham Muhammad2020-08-241-0/+1
|
* add CLI variable DEPS_DIRFrancois Perrad2020-08-171-0/+2
|
* it's 2020, use HTTPSPierre Chapuis2020-07-211-1/+1
|
* change URL of luafr repoPierre Chapuis2020-07-211-1/+1
| | | | the name "moonrocks" is legacy
* Update tools.lua - use --help flag versus -hCasey Vega2020-07-211-1/+1
| | | If you're using busybox, luarocks fails despite unzip being installed. Using the --help flag works in GNU, Busybox, and OSX
* tests: check that builtin auto-reads lua/ when modules table is emptyHisham Muhammad2020-07-211-0/+21
| | | | Test case for issue reported at https://github.com/Kong/kong/issues/5017
* show: don't crash when rockspec description is emptyHisham Muhammad2020-07-211-1/+1
|
* Escape % when feeding it to second arg of string.gsubHisham Muhammad2020-07-091-0/+3
| | | | Fixes #1200
* Check version of lua.h to ensure it matchesHisham Muhammad2020-04-222-7/+16
|
* Print more info about the location of LuaHisham Muhammad2020-04-225-17/+70
|
* config: be smarter when configuring the location of LuaHisham Muhammad2020-04-221-1/+2
| | | | | | If no system-wide permissions, try storing the config locally by default. Also, if setting both lua_dir and --lua-version explicitly, switch the default Lua version.
* improve warning messageHisham Muhammad2020-04-221-2/+3
|
* use busted-htestHisham Muhammad2020-04-214-6/+9
|
* Handle quoting at the application level (#1181)Hisham Muhammad2020-04-162-0/+17
| | | | | | | This is done to support Windows. Unix handles quoting at the shell level. While quotes are technically valid as part of Unix names, I don't expect this pathological case to be something we need to support. Closes #1173.
* Avoid uninitialized variable check, for Terra compatibility (#1182)Elliott Slaughter2020-04-161-1/+2
| | | | | This patch is required to support for Terra, a language embedded in Lua/LuaJIT with support for JITing high-performance code. The only change here is that Terra uses a strict mode by default, so the attempt to access an undefined global has be wrapped in pcall to make it safe.
* fix regression in dependency matching of luarocks.loaderHisham Muhammad2020-04-132-2/+72
| | | | | | | | | | | | Regression introduced in https://github.com/luarocks/luarocks/commit/65c417e0ecda55f44c691df032163a8c08f0b52a Thanks to @lhemkendreis for the detailed description and suggested fix, which was applied here! Added a regression test which exercises dependency matching. Closes #1175.
* fix detection of Lua path based on arg variableHisham Muhammad2020-04-131-2/+17
|
* fs.lua: be more resilient on errors getting the unixtimeHisham Muhammad2020-04-131-1/+1
|
* report on errors if running from the binaryHisham Muhammad2020-04-131-0/+3
|
* do not call Lua interpreter when making wrapper for luarocks binaryHisham Muhammad2020-04-134-0/+27
| | | | Closes #1174.
* Fix code for disabling mirrors on network errorsHisham Muhammad2020-04-131-6/+6
| | | | | | | | | | The idea is to try each mirror in order, but when one fails with a network error we mark it so we don't keep trying on each dependency. The logic was wrong in that it marked the entire entry (consisting of multiple mirrors) instead of marking mirrors individually. Closes #1179.
* configure: remove incorrect documentation in help screenHisham Muhammad2020-04-021-4/+1
|
* fs: always check for failure of fs.which_tool (#1157)Hisham Muhammad2020-02-205-23/+48
|
* changelog updatesHisham Muhammad2020-02-141-0/+3
|
* make: support --only-depsHisham Muhammad2020-02-142-4/+19
| | | | Closes #1156.
* tests: shorter descriptionsHisham Muhammad2020-02-1429-162/+156
|
* accept --deps-only as an alias to --only-depsHisham Muhammad2020-02-143-2/+3
|