Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tests: add smoke testadd-smoke-test | Hisham Muhammad | 2018-07-20 | 3 | -5/+76 |
| | |||||
* | fs.unix.tools: hotfix for touch format | Hisham Muhammad | 2018-07-20 | 1 | -1/+1 |
| | |||||
* | install.bat: updates for 3.0.0-rc1 | Hisham Muhammad | 2018-07-20 | 1 | -34/+23 |
| | |||||
* | minor luacheck fixes | Hisham Muhammad | 2018-07-18 | 2 | -2/+3 |
| | |||||
* | forward error messages from fs.unzip | Hisham Muhammad | 2018-07-18 | 2 | -4/+4 |
| | |||||
* | Windows binary: build libbz2 dependency | Hisham Muhammad | 2018-07-18 | 1 | -1/+15 |
| | |||||
* | fs: make unpack_archive platform-agnostic using specific fs functions | Hisham Muhammad | 2018-07-18 | 7 | -191/+504 |
| | | | | | | | Use luarocks.tools.tar for handling tar files, and add platform-specific functions fs.zip, fs.unzip, fs.bunzip2, fs.gunzip, giving them native implementations using Lua modules or alternative implementations using third-party tools. | ||||
* | fs: support both table and number in set_time | Hisham Muhammad | 2018-07-18 | 3 | -1/+32 |
| | |||||
* | fs: add filter_file | Hisham Muhammad | 2018-07-18 | 1 | -0/+30 |
| | |||||
* | binary: add lua-bz2 dependency | Hisham Muhammad | 2018-07-18 | 2 | -0/+45 |
| | |||||
* | tar: compatibility improvement tweaks | Hisham Muhammad | 2018-07-18 | 1 | -24/+45 |
| | |||||
* | Tests: tweak dependencies for env=full tests | Hisham Muhammad | 2018-07-18 | 1 | -11/+10 |
| | |||||
* | Tests: support running with the default detected OpenSSL locations | Hisham Muhammad | 2018-07-18 | 4 | -16/+12 |
| | |||||
* | cmd: only detect sysconfdir on Unix | Hisham Muhammad | 2018-07-18 | 1 | -3/+3 |
| | | | | On the Windows single-binary this produces a weird "src/" path. | ||||
* | cmd: fix displayed program name in single-binary | Hisham Muhammad | 2018-07-18 | 1 | -1/+1 |
| | |||||
* | cmd: portability fixes, don't check LuaJIT for Lua > 5.1 | Hisham Muhammad | 2018-07-18 | 1 | -3/+12 |
| | |||||
* | cmd: support --lua-version without --lua-dir | Hisham Muhammad | 2018-07-18 | 1 | -1/+9 |
| | |||||
* | cfg: detect Visual Studio Developer Console | Hisham Muhammad | 2018-07-18 | 1 | -1/+8 |
| | |||||
* | fun: add fun.partial and fun.flip | Hisham Muhammad | 2018-07-18 | 1 | -0/+37 |
| | |||||
* | configure: recommend `make` instead of `make build` | Hisham Muhammad | 2018-07-18 | 1 | -1/+1 |
| | |||||
* | Makefile: remove ./ from build targets | Hisham Muhammad | 2018-07-18 | 1 | -6/+6 |
| | | | | Improves compatibility with FreeBSD | ||||
* | write_rockspec: detect ISC license | Hisham Muhammad | 2018-07-18 | 1 | -5/+11 |
| | |||||
* | write_rockspec: detect git+ssh and hg+ssh | Hisham Muhammad | 2018-07-18 | 1 | -4/+13 |
| | |||||
* | build.command: don't export LD or CFLAGS | Hisham Muhammad | 2018-07-18 | 1 | -2/+2 |
| | | | | | This avoids breakage with existing rockspecs that don't expect it, as seen when building the single-binary. | ||||
* | Tests: use fixtures for some build integration tests | George Roman | 2018-07-18 | 1 | -24/+80 |
| | |||||
* | Reorder Appveyor tests | George Roman | 2018-07-18 | 1 | -24/+25 |
| | |||||
* | Add general improvements to the fs module | George Roman | 2018-07-16 | 5 | -44/+61 |
| | |||||
* | Update the behavior of fs.set_permissions on Windows | George Roman | 2018-07-16 | 2 | -20/+45 |
| | |||||
* | Tests: add tests for the dynamic commands | George Roman | 2018-07-16 | 1 | -0/+57 |
| | |||||
* | Use $(CURDIR) instead of $(PWD) in Makefiles | Peter Melnichenko | 2018-07-10 | 2 | -7/+7 |
| | | | | | | | $(CURDIR) is built-in and is guaranteed to always work. $(PWD) is inherited from the shell and may be incorrect or missing. In particular, it is invalid if make is run by some program that changes current directory prior to the execution. | ||||
* | cfg: detect sysconfdir based on location of sources | Hisham Muhammad | 2018-07-10 | 1 | -20/+39 |
| | | | | | | | | | | This will help a stand-alone luarocks.loader find the system config file without any environment variable or hardcoded value, in most common situations (i.e. unless a non-standard sysconfdir was given during installation -- but then a stand-alone luarocks.loader loaded by a third-party program probably shouldn't assume non-standard configurations anyway; and when they do they should set up their environment accordingly, preloading luarocks.core.hardcoded.) | ||||
* | luarocks, luarocks-admin: load cfg first, for luarocks.loader | Hisham Muhammad | 2018-07-10 | 2 | -0/+6 |
| | | | | | Load luarocks.core.cfg first so that luarocks.loader knows it is running inside LuaRocks. | ||||
* | configure: add --with-lua-interpreter option | Hisham Muhammad | 2018-07-10 | 1 | -14/+26 |
| | | | | | Support using any interpreter name, even if it doesn't start with 'lua'. | ||||
* | Tests: remove redundant build tests | George Roman | 2018-07-05 | 1 | -43/+0 |
| | |||||
* | Tests: unit tests for build.builtin | George Roman | 2018-07-05 | 1 | -19/+454 |
| | |||||
* | Tests: separate OPENSSL_DIRS into OPENSSL_INCDIR and OPENSSL_LIBDIR | George Roman | 2018-07-05 | 4 | -10/+30 |
| | |||||
* | README: clearer installation instructions | Hisham Muhammad | 2018-07-05 | 1 | -7/+10 |
| | |||||
* | md5: fix version checks of tools | Hisham Muhammad | 2018-07-04 | 1 | -2/+2 |
| | |||||
* | help: report LuaJIT version | Hisham Muhammad | 2018-07-04 | 1 | -0/+3 |
| | |||||
* | builtin: detect 'lib' as a directory of Lua sources as well | Hisham Muhammad | 2018-07-04 | 1 | -1/+1 |
| | |||||
* | deps: nicer message with Lua headers are not found | Hisham Muhammad | 2018-07-04 | 1 | -0/+5 |
| | |||||
* | binary: derive library search paths; minor Windows fix | Hisham Muhammad | 2018-07-04 | 2 | -3/+2 |
| | |||||
* | config file: do not assume 'variable' table exists (for compat with LR2) | Hisham Muhammad | 2018-07-04 | 2 | -7/+10 |
| | | | | | | This change results in a default config that works in both LuaRocks 2 and 3. We do not promise a compatible configuration format, but it's nice to avoid unnecessary breakage if we can. | ||||
* | configure: check presence of lua.h | Hisham Muhammad | 2018-07-04 | 1 | -6/+67 |
| | | | | | | | | | | | | Verification of the Lua include path happens at LuaRocks runtime, but we also perform it here just so that the user gets an early failure if they try to install LuaRocks with the Lua interpreter package but not the "development files" that many Linux distros ship separately. We also include a --disable-incdir-check flag for specialized scenarios: if you do not wish to use "luarocks build", (e.g. when only deploying binary packages) you do not need lua.h installed. This flag skips the check for lua.h in "configure". | ||||
* | cmd: dynamically load additional external commands | Thijs Schreijer | 2018-07-04 | 4 | -10/+57 |
| | | | | | | | Instead of a fixed list of commands, a dynamic list of modules residing within the `luarocks.cmd.external.<cmd_name>` in the Lua path will be dynamically added. This allows extending LuaRocks with additional commands. Same for `luarocks.admin.cmd.external.<cmd_name>`. | ||||
* | fs: fix permissions when creating directories and wrappers | Hisham Muhammad | 2018-07-03 | 2 | -2/+2 |
| | | | | | Newly created directories and wrappers need to be executable/traversable by all. | ||||
* | ChangeLog: formatting tweaks | Hisham Muhammad | 2018-07-02 | 1 | -13/+13 |
| | |||||
* | Makefile: minor improvement to wrapper script | Hisham Muhammad | 2018-07-02 | 1 | -2/+2 |
| | |||||
* | Docs: updated Changelog for LuaRocks 3.0 | Hisham Muhammad | 2018-07-02 | 1 | -52/+151 |
| | |||||
* | Experimental Windows cross-compiled binary build | Hisham Muhammad | 2018-07-02 | 9 | -63/+264 |
| | | | | | | | | | | | | This commit consolidates the work that has been ongoing over the last few weeks in producing the single-binary builds of LuaRocks based on the new distribution model described in https://github.com/luarocks/luarocks/wiki/Project:-LuaRocks-new-distribution-model The single-binary build is in a good shape for Linux, it's a work-in-progress for Windows (binaries do build, but some work on the dependencies is still necessary), and is untested in macOS. |