Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Release 3.4.0v3.4.0 | Hisham Muhammad | 2020-09-25 | 1 | -2/+2 |
| | |||||
* | win32: generate proper temp filename | Hisham Muhammad | 2020-09-25 | 1 | -1/+6 |
| | | | | | | | | Closes #1224. See https://github.com/luarocks/luarocks/pull/1224/files#r493011698 Co-authored-by: dwenegar <simone.livieri@gmail.com> | ||||
* | manif: keep scanning on non-default trees | Hisham Muhammad | 2020-09-23 | 1 | -12/+12 |
| | |||||
* | Support --pin and --only-deps together (#1222) | Hisham Muhammad | 2020-09-23 | 1 | -0/+3 |
| | |||||
* | fix(new_version): keep the old url if the md5 doesn't change. | Simone Livieri | 2020-09-21 | 1 | -4/+14 |
| | |||||
* | Add the `--no-install` option to the `make` command (#1213) | dwenegar | 2020-09-16 | 7 | -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. | ||||
* | Do not assume Lua 5.3 includes bit32 | Hisham Muhammad | 2020-08-26 | 1 | -1/+1 |
| | | | | | | | We can't autodetect this either because the interpreter running LuaRocks may not be the same one running Lua. Fixes #1204. | ||||
* | add CLI variable DEPS_DIR | Francois Perrad | 2020-08-17 | 1 | -0/+2 |
| | |||||
* | it's 2020, use HTTPS | Pierre Chapuis | 2020-07-21 | 1 | -1/+1 |
| | |||||
* | change URL of luafr repo | Pierre Chapuis | 2020-07-21 | 1 | -1/+1 |
| | | | | the name "moonrocks" is legacy | ||||
* | Update tools.lua - use --help flag versus -h | Casey Vega | 2020-07-21 | 1 | -1/+1 |
| | | | If you're using busybox, luarocks fails despite unzip being installed. Using the --help flag works in GNU, Busybox, and OSX | ||||
* | show: don't crash when rockspec description is empty | Hisham Muhammad | 2020-07-21 | 1 | -1/+1 |
| | |||||
* | Escape % when feeding it to second arg of string.gsub | Hisham Muhammad | 2020-07-09 | 1 | -0/+3 |
| | | | | Fixes #1200 | ||||
* | Check version of lua.h to ensure it matches | Hisham Muhammad | 2020-04-22 | 2 | -7/+16 |
| | |||||
* | Print more info about the location of Lua | Hisham Muhammad | 2020-04-22 | 4 | -12/+65 |
| | |||||
* | config: be smarter when configuring the location of Lua | Hisham Muhammad | 2020-04-22 | 1 | -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 message | Hisham Muhammad | 2020-04-22 | 1 | -2/+3 |
| | |||||
* | Handle quoting at the application level (#1181) | Hisham Muhammad | 2020-04-16 | 1 | -0/+13 |
| | | | | | | | 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 Slaughter | 2020-04-16 | 1 | -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.loader | Hisham Muhammad | 2020-04-13 | 1 | -2/+8 |
| | | | | | | | | | | | | 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 variable | Hisham Muhammad | 2020-04-13 | 1 | -2/+17 |
| | |||||
* | fs.lua: be more resilient on errors getting the unixtime | Hisham Muhammad | 2020-04-13 | 1 | -1/+1 |
| | |||||
* | report on errors if running from the binary | Hisham Muhammad | 2020-04-13 | 1 | -0/+3 |
| | |||||
* | do not call Lua interpreter when making wrapper for luarocks binary | Hisham Muhammad | 2020-04-13 | 3 | -0/+26 |
| | | | | Closes #1174. | ||||
* | Fix code for disabling mirrors on network errors | Hisham Muhammad | 2020-04-13 | 1 | -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. | ||||
* | fs: always check for failure of fs.which_tool (#1157) | Hisham Muhammad | 2020-02-20 | 3 | -22/+31 |
| | |||||
* | make: support --only-deps | Hisham Muhammad | 2020-02-14 | 1 | -4/+7 |
| | | | | Closes #1156. | ||||
* | accept --deps-only as an alias to --only-deps | Hisham Muhammad | 2020-02-14 | 3 | -2/+3 |
| | |||||
* | show: accept a substring when unambiguous and matches a single entry | Hisham Muhammad | 2020-02-13 | 2 | -3/+19 |
| | |||||
* | remove debugging | Hisham Muhammad | 2020-02-12 | 1 | -1/+0 |
| | |||||
* | fix downgrades of rocks containing directories (#1151) | Hisham Muhammad | 2020-02-07 | 1 | -3/+3 |
| | | | | Fixes #1141 | ||||
* | fs.lua: fix error message when source file is missing | Hisham Muhammad | 2020-02-05 | 1 | -1/+15 |
| | | | | Fixes #1147. | ||||
* | Add OpenBSD specific dependency paths. | Jan S | 2020-02-02 | 1 | -0/+1 |
| | | | | This commit enables luarocks to be configured and build on OpenBSD. | ||||
* | Windows: force .lib for LUALIB | Hisham Muhammad | 2020-01-25 | 1 | -0/+4 |
| | |||||
* | speed up external dependency check | Hisham Muhammad | 2020-01-25 | 1 | -20/+39 |
| | |||||
* | build: do not download sources when building only deps | Hisham Muhammad | 2020-01-25 | 1 | -1/+1 |
| | |||||
* | Remove hack intended to make dashed commands work | Paul Ouellette | 2020-01-23 | 5 | -11/+4 |
| | | | | | | It didn't work and is no longer necessary. Also simplifies the addition of some hidden aliases for old option names. | ||||
* | util: use native slashes | Hisham Muhammad | 2020-01-14 | 1 | -3/+3 |
| | |||||
* | util: portable tmpname that gives a full path on Windows | Hisham Muhammad | 2020-01-14 | 1 | -1/+4 |
| | | | | Fixes #1058. | ||||
* | cfg: remove redundant assignment | Hisham Muhammad | 2020-01-14 | 1 | -2/+0 |
| | |||||
* | cmd: cleanup slashes | Hisham Muhammad | 2020-01-14 | 1 | -2/+3 |
| | |||||
* | cmd: fallback to actual PATH search | Hisham Muhammad | 2020-01-14 | 2 | -19/+38 |
| | |||||
* | fs: be verbose about builtin fs functions as well | Hisham Muhammad | 2020-01-14 | 1 | -1/+15 |
| | |||||
* | Add hidden command and option aliases | Paul Ouellette | 2020-01-14 | 1 | -7/+29 |
| | |||||
* | git: add support for shallow recommendations | Pedro Tammela | 2019-12-17 | 1 | -1/+10 |
| | | | | | | | | | | | | | In more recent versions of git, the .gitmodules file can be configured to recommend if a submodule should be cloned as shallow or not. Add support for this feature since it gives the rock maintainer more control over which submodules should be shallow cloned. The rock maintainer may set the boolean `shallow` to true or false in .gitmodules. If omitted it is treated as false. Signed-off-by: Pedro Tammela <pctammela@gmail.com> | ||||
* | win32: fix split root for quoted absolute path handling | Hisham Muhammad | 2019-12-12 | 2 | -19/+36 |
| | |||||
* | Refactor command line handling of namespaces | Paul Ouellette | 2019-12-02 | 20 | -113/+108 |
| | |||||
* | Add quotes around usernames to handle usernames with space on Windows | Stephen Baynham | 2019-12-02 | 1 | -2/+2 |
| | |||||
* | Add --no-manifest flag to skip creating/updating a global manifest | daurnimator | 2019-11-30 | 5 | -4/+25 |
| | |||||
* | dependency pinning: luarocks.lock file and --pin flag | Hisham Muhammad | 2019-11-29 | 10 | -113/+368 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for pinning dependencies in projects and rocks: * Adds a new flag called `--pin` which creates a `luarocks.lock` when building a rock with `luarocks build` or `luarocks make`. This lock file contains the exact version numbers of every direct or indirect dependency of the rock (in other words, it is the transitive closure of the dependencies.) For `make`, the `luarocks.lock` file is created in the current directory. The lock file is also installed as part of the rock in its metadata directory alongside its rockspec. When using `--pin`, if a lock file already exists, it is ignored and overwritten. * When building a rock with `luarocks make`, if there is a `luarocks.lock` file in the current directory, the exact versions specified there will be used for resolving dependencies. * When building a rock with `luarocks build`, if there is a `luarocks.lock` file in root of its sources, the exact versions specified there will be used for resolving dependencies. * When installing a `.rock` file with `luarocks install`, if the rock contains a `luarocks.lock` file (i.e., if its dependencies were pinned with `--pin` when the rock was built), the exact versions specified there will be used for resolving dependencies. |