summaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-09-25Release 3.4.0v3.4.0Hisham Muhammad1-2/+2
2020-09-25makedist: fix argument handlingHisham Muhammad1-11/+13
2020-09-25publishrelease: update URLsHisham Muhammad1-3/+3
2020-09-25update changelog for 3.4.0Hisham Muhammad1-2/+36
2020-09-25win32: generate proper temp filenameHisham Muhammad1-1/+6
Closes #1224. See https://github.com/luarocks/luarocks/pull/1224/files#r493011698 Co-authored-by: dwenegar <simone.livieri@gmail.com>
2020-09-23manif: keep scanning on non-default trees (#1227)Hisham Muhammad1-12/+12
2020-09-23manif: keep scanning on non-default treesHisham Muhammad1-12/+12
2020-09-23Support --pin and --only-deps together (#1222)Hisham Muhammad2-0/+39
2020-09-21fix(new_version): keep the old url if the md5 doesn't change.Simone Livieri1-4/+14
2020-09-16Add the `--no-install` option to the `make` command (#1213)dwenegar7-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.
2020-09-16specify eol for batch files in `.editorconfig`.Simone Livieri2-1230/+1233
2020-09-16silence the MSVC env setup scriptSimone Livieri1-1230/+1230
2020-08-26Do not assume Lua 5.3 includes bit32Hisham Muhammad1-1/+1
We can't autodetect this either because the interpreter running LuaRocks may not be the same one running Lua. Fixes #1204.
2020-08-24Bundle dkjson in the all-in-one binaryHisham Muhammad1-0/+1
2020-08-17add CLI variable DEPS_DIRFrancois Perrad1-0/+2
2020-07-21it's 2020, use HTTPSPierre Chapuis1-1/+1
2020-07-21change URL of luafr repoPierre Chapuis1-1/+1
the name "moonrocks" is legacy
2020-07-21Update tools.lua - use --help flag versus -hCasey Vega1-1/+1
If you're using busybox, luarocks fails despite unzip being installed. Using the --help flag works in GNU, Busybox, and OSX
2020-07-21tests: check that builtin auto-reads lua/ when modules table is emptyHisham Muhammad1-0/+21
Test case for issue reported at https://github.com/Kong/kong/issues/5017
2020-07-21show: don't crash when rockspec description is emptyHisham Muhammad1-1/+1
2020-07-09Escape % when feeding it to second arg of string.gsubHisham Muhammad1-0/+3
Fixes #1200
2020-04-22Check version of lua.h to ensure it matchesHisham Muhammad2-7/+16
2020-04-22Print more info about the location of LuaHisham Muhammad5-17/+70
2020-04-22config: be smarter when configuring the location of LuaHisham Muhammad1-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.
2020-04-22improve warning messageHisham Muhammad1-2/+3
2020-04-21use busted-htestHisham Muhammad4-6/+9
2020-04-16Handle quoting at the application level (#1181)Hisham Muhammad2-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.
2020-04-16Avoid uninitialized variable check, for Terra compatibility (#1182)Elliott Slaughter1-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.
2020-04-13fix regression in dependency matching of luarocks.loaderHisham Muhammad2-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.
2020-04-13fix detection of Lua path based on arg variableHisham Muhammad1-2/+17
2020-04-13fs.lua: be more resilient on errors getting the unixtimeHisham Muhammad1-1/+1
2020-04-13report on errors if running from the binaryHisham Muhammad1-0/+3
2020-04-13do not call Lua interpreter when making wrapper for luarocks binaryHisham Muhammad4-0/+27
Closes #1174.
2020-04-13Fix code for disabling mirrors on network errorsHisham Muhammad1-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.
2020-04-02configure: remove incorrect documentation in help screenHisham Muhammad1-4/+1
2020-02-20fs: always check for failure of fs.which_tool (#1157)Hisham Muhammad5-23/+48
2020-02-14changelog updatesHisham Muhammad1-0/+3
2020-02-14make: support --only-depsHisham Muhammad2-4/+19
Closes #1156.
2020-02-14tests: shorter descriptionsHisham Muhammad29-162/+156
2020-02-14accept --deps-only as an alias to --only-depsHisham Muhammad3-2/+3
2020-02-13show: accept a substring when unambiguous and matches a single entryHisham Muhammad4-3/+37
2020-02-12remove debuggingHisham Muhammad1-1/+0
2020-02-07Release 3.3.1v3.3.1Hisham Muhammad5-7/+8
2020-02-07Changelog for 3.3.1Hisham Muhammad1-0/+8
2020-02-07fix downgrades of rocks containing directories (#1151)Hisham Muhammad3-15/+17
Fixes #1141
2020-02-05fs.lua: fix error message when source file is missingHisham Muhammad2-2/+18
Fixes #1147.
2020-02-02Add OpenBSD specific dependency paths.Jan S2-0/+2
This commit enables luarocks to be configured and build on OpenBSD.
2020-01-28publishrelease: add Windows 64-bit supportHisham Muhammad1-3/+7
2020-01-28changelog: add all entries in the 3.x seriesHisham Muhammad1-0/+137
2020-01-28changelog for LuaRocks 3.3.0Hisham Muhammad1-1/+75