Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Release 3.1.1v3.1.1 | Hisham Muhammad | 2019-05-06 | 5 | -7/+8 |
| | |||||
* | Tests: add smoke test | Hisham Muhammad | 2019-05-06 | 3 | -6/+77 |
| | |||||
* | Add rockspec | Hisham Muhammad | 2019-05-06 | 1 | -0/+36 |
| | |||||
* | fix: handle errors in lua wrapper check | daurnimator | 2019-05-06 | 1 | -3/+10 |
| | |||||
* | refactor: reorganise code in get_lua_version | daurnimator | 2019-05-06 | 1 | -7/+10 |
| | |||||
* | fix: don't try to look in home_tree if not available | daurnimator | 2019-05-06 | 1 | -4/+5 |
| | |||||
* | Merge branch '3.1.0' | Hisham Muhammad | 2019-04-29 | 1 | -36/+0 |
|\ | |||||
| * | Release 3.1.0v3.1.0 | Hisham Muhammad | 2019-04-26 | 5 | -8/+9 |
| | | |||||
| * | Tests: add smoke test | Hisham Muhammad | 2019-04-26 | 3 | -6/+77 |
|/ | |||||
* | Tests: cleanup signature before signing | Hisham Muhammad | 2019-04-26 | 2 | -0/+4 |
| | |||||
* | Fix build of binaries | Hisham Muhammad | 2019-04-26 | 2 | -1/+2 |
| | |||||
* | Tests: add test for fs.wrap_script | Hisham Muhammad | 2019-04-19 | 1 | -13/+53 |
| | |||||
* | bin wrapper: revert from LUA_INIT back to -e | Hisham Muhammad | 2019-04-19 | 2 | -14/+16 |
| | | | | Fixes #980. | ||||
* | hardcode "windows" platform in Windows binary to help Wine | Hisham Muhammad | 2019-04-17 | 1 | -4/+3 |
| | | | | | | | platform autodetection at runtime is apparently failing on Wine, but we don't really need it when using `luarocks.exe`. Fixes #996. | ||||
* | travis: use pip (not pip2) with hererocks | Hisham Muhammad | 2019-04-17 | 1 | -1/+1 |
| | |||||
* | repos: prevent fs.move from failing | Hisham Muhammad | 2019-04-17 | 1 | -0/+2 |
| | | | | | | | | | | | | Prevent fs.move from failing with ``` File already exists: /usr/local/share/lua/5.1/luasec_0_6_2-ssl.lua ``` when overwriting a stale file. This should have already been handled, but in case the manifest is out of sync for some reason this should make the behavior more smooth. | ||||
* | patch lockfile: do not rely on relative paths | Hisham Muhammad | 2019-04-16 | 1 | -2/+2 |
| | | | | This should fix the Windows build. | ||||
* | fix: handle all-negative supported_platforms rockspec field | Leo P | 2019-04-16 | 1 | -1/+3 |
| | |||||
* | fix: correctly print current platforms | Leo P | 2019-04-16 | 1 | -1/+6 |
| | |||||
* | make: use a lockfile for patching on first `luarocks make` run | Hisham Muhammad | 2019-04-09 | 1 | -4/+17 |
| | |||||
* | spec/init_spec.lua: cleanup test | Hisham Muhammad | 2019-04-09 | 1 | -3/+1 |
| | |||||
* | init: robustness improvements | Hisham Muhammad | 2019-04-09 | 1 | -20/+44 |
| | | | | | Check that Lua settings are usable and regenarate ./lua wrapper when safe. Should render --reset less necessary. | ||||
* | fs: separate cache_timeout and cache_fail_timeout | Hisham Muhammad | 2019-04-09 | 2 | -5/+10 |
| | | | | Makes failure to search for manifest-5.4 cache for a full day. | ||||
* | search: add report and opt-out for checking other Lua versions | Hisham Muhammad | 2019-04-09 | 7 | -21/+35 |
| | |||||
* | persist: save_default_lua_version | Hisham Muhammad | 2019-04-09 | 2 | -10/+17 |
| | | | | refactor into a separate function | ||||
* | Improve runtime detection of Lua interpreter | Hisham Muhammad | 2019-04-09 | 2 | -9/+39 |
| | | | | Do not confuse the project ./lua wrapper with a valid interpreter. | ||||
* | cmd: Fix use of sysconfdir for default-lua-version.lua search | Hisham Muhammad | 2019-04-09 | 1 | -3/+3 |
| | |||||
* | init: rewrite project config when it's safe to do so | Hisham Muhammad | 2019-04-09 | 1 | -14/+18 |
| | |||||
* | config: add modes for reading, writing and unsetting individual entries | Hisham Muhammad | 2019-04-03 | 11 | -198/+534 |
| | | | | | | | | | | | | | | | | | | | | 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` | ||||
* | Add --global, improve relationship between project and --local | Hisham Muhammad | 2019-04-03 | 4 | -11/+18 |
| | |||||
* | Simplify issue with superuser cache and avoid annoying message | Hisham Muhammad | 2019-04-03 | 6 | -68/+20 |
| | | | | | When running as root, simply switch to use /var/cache/luarocks as a cache. | ||||
* | manif: use temp dir if local cache can't be created | Hisham Muhammad | 2019-04-03 | 1 | -1/+6 |
| | |||||
* | util: more informative message: "Lua 5.x interpreter not found" | Hisham Muhammad | 2019-04-03 | 1 | -1/+4 |
| | |||||
* | fs.lua: cache failures as well | Hisham Muhammad | 2019-04-03 | 1 | -16/+34 |
| | |||||
* | Cache manifest more aggressively | Hisham Muhammad | 2019-04-03 | 5 | -28/+65 |
| | | | | | | | * Introduce cache_timeout config option (default 10 seconds) * Do not re-check for the last-modified time of a file to be downloaded for cfg.cache_timeout seconds * Do not re-unzip if zip file was fetched from cache | ||||
* | update to luacov 0.13.1 + cluacov 0.1.1 | Hisham Muhammad | 2019-04-03 | 5 | -14/+17 |
| | |||||
* | util: fix refactor mistake | Hisham Muhammad | 2019-04-01 | 1 | -1/+1 |
| | |||||
* | Reorder Travis tests | Hisham Muhammad | 2019-04-01 | 1 | -35/+35 |
| | |||||
* | install, build, make: add --verify and --sign options | Hisham Muhammad | 2019-04-01 | 10 | -95/+236 |
| | | | | | | The --verify options of build and make check the signature of rockspec and src.rock files; the --sign option is meant to be used alongside --pack-binary-rock. | ||||
* | Refactor opts_table from build to reuse in install | Hisham Muhammad | 2019-04-01 | 2 | -34/+37 |
| | |||||
* | upload: add --sign option | Hisham Muhammad | 2019-04-01 | 2 | -3/+34 |
| | |||||
* | Add --sign option to `luarocks pack` | Hisham Muhammad | 2019-04-01 | 11 | -2/+53 |
| | | | | | | | | * 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 | ||||
* | tar: do not attempt to create directory more than once | Hisham Muhammad | 2019-04-01 | 1 | -3/+4 |
| | |||||
* | fs: versions of exists, is_file, is_dir for Unix and Windows that do not fork | Hisham Muhammad | 2019-04-01 | 9 | -53/+97 |
| | | | | | | | | Implements versions of exists, is_file, is_dir for POSIX and Windows using io.open only, based on the semantics of their error codes on these platforms. Drops the dependency on TEST.EXE on Windows. | ||||
* | init: ensure --reset resets lua wrapper and config file | Hisham Muhammad | 2019-04-01 | 1 | -20/+24 |
| | |||||
* | fun: add find and memoize functions | Hisham Muhammad | 2019-04-01 | 1 | -0/+40 |
| | |||||
* | cmd: refactor detection code and improve detection of project dir | Hisham Muhammad | 2019-04-01 | 4 | -172/+189 |
| | |||||
* | Add rockspec | Hisham Muhammad | 2019-04-01 | 1 | -0/+36 |
| | |||||
* | upload: accept non-200 codes | Hisham Muhammad | 2019-03-29 | 1 | -3/+4 |
| | | | | | | | | | This will try to JSON-decode any response, and if it succeds, will return it regardless of status code. If the body cannot be JSON-decoded, then the status code and URL are returned as an error. Fixes #975. | ||||
* | appveyor: improve caching | Hisham Muhammad | 2019-03-22 | 1 | -18/+45 |
| |