summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 3.6.0v3.6.0Hisham Muhammad2021-03-305-7/+8
|
* makedist: build binaries using Lua 5.3Hisham Muhammad2021-03-301-1/+1
| | | | luaposix wasn't updated for Lua 5.4 yet
* fix: pack: rockspec with a bare file in the urlHisham Muhammad2021-03-226-6/+129
|
* pack: check that directory inside archive actually existsHisham Muhammad2021-03-223-1/+32
|
* repos: fix renaming of versioned bin/ entry back to non-versionedHisham Muhammad2021-03-191-1/+1
|
* repos: search for "foo" in manifest when processing "foo.init"Hisham Muhammad2021-03-191-0/+8
| | | | | | | | | Older versions of LuaRocks (< 3) registered "foo.init" files as "foo" (which caused problems, so that behavior was changed). But look for that in the manifest anyway for backward compatibility. See https://github.com/luarocks/luarocks/commit/65c417e0ecda55f44c691df032163a8c08f0b52a See #1276.
* repos: double-check that all files from a rock are installedHisham Muhammad2021-03-197-9/+129
| | | | | | | Ensure that `luarocks` fails if an installation does not successfully deploy all files registered in the `rock_manifest`. See #1276.
* repos.delete_version: remove entry from manifest if rock is already missingHisham Muhammad2021-03-191-1/+8
| | | | | | | If rock_manifest could not be found, the entry in manifest is unusable: without the list of files from rock_manifest, we can't scan the repository to remove files. This means the entry in the repo manifest is a leftover from an incomplete removal. Remove the entry from the repo manifest.
* Fix auto-detecting cygwin: src/luarocks/core/sysdetect.lua (#1264)Lemures Lemniscati2021-03-161-1/+1
|
* Add filesystem abstraction for NetBSD (#1267)Lawrence Hoffman2021-03-161-0/+14
| | | | | | | * Add fs abstraction file for NetBSD * Add init function with verification that the unzip binary is available Co-authored-by: Lawrence Hoffman <lawrence.hoffman@block-g.com>
* configure: make shellcheck happyHisham Muhammad2021-03-161-1/+1
|
* manif: remove dead codeHisham Muhammad2021-03-161-44/+0
|
* editorconfig: trim trailing whitespaceHisham Muhammad2021-03-16103-673/+674
|
* manif.writer: be more resilient to a mismatched "x.init" module name in manifestHisham Muhammad2021-03-161-8/+17
| | | | | Old versions of LuaRocks might get confused with modules called "x.init". This makes the manifest writer more resilient to that.
* configure: check that version of lua.h matchesHisham Muhammad2021-03-161-2/+5
| | | | This is to match the behavior of luarocks.deps
* Fix fs.is_tool_available invocation for SVNHisham Muhammad2021-03-161-1/+1
| | | | closes #1280
* install.bat: add >NUL redirects to all msvc compiler environment commandsHisham Muhammad2021-03-161-3/+3
|
* redirect output from vcvarsall.bat to nul (#1288)dwenegar2021-03-161-1/+1
|
* .gitignore: add .luacheckcacheHisham Muhammad2021-03-151-0/+1
|
* Run Luacheck in CI & fix reported errors (#1285)Carl Smedstad2021-03-1523-37/+56
| | | | | | | | Tried to do this as non-intrusively as possible, mostly by ignoring the issues in-line. Set the option unused_secondaries to false as suggested by @hishamhm. This makes named but ununsed return values, that serves a documenting purpose, allowed.
* Add .luacheckrcHisham Muhammad2021-02-171-0/+30
| | | | I realized I had this around for ages but never committed it.
* Fix duplicated unpack compatdaurnimator2021-02-061-1/+0
|
* config: fix typo in usage textdaurnimator2021-02-061-1/+1
|
* Fix running with empty PATHdaurnimator2021-01-133-4/+4
|
* Add changelog for version 3.5.0Hugo Musso Gualandi2021-01-111-0/+10
| | | | | Add a changelog for version 3.5, summarizing the announcement posted to the lua-l mailing list.
* Handle MACOSX versions >10 or with 2 dotssharpobject2021-01-032-14/+16
| | | | Fixes #1238.
* Respect CC/CFLAGS/LDFLAGS on FreeBSD (#1246)Po-Chuan Hsieh2020-12-181-2/+4
| | | Reference: https://svnweb.freebsd.org/ports/head/devel/lua-luarocks/files/patch-src_luarocks_core_cfg.lua?revision=477367&view=markup (based on)
* Merge branch '3.5.0'Hisham Muhammad2020-12-100-0/+0
|\
| * 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
|