summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* feat(init): add --no-gitignore, --no-wrapper-scripts, --wrapper-dirHisham Muhammad2024-02-172-32/+129
| | | | Closes #1513.
* fix: handle error when failing to create local_cacheHisham Muhammad2024-02-171-1/+6
| | | | | | Closes #1514. Co-Authored-By: FractalU <r.beckmann@protonmail.com>
* fix: sysdetect: prefer interpreter to avoid multiarch shell on macOSHisham Muhammad2024-02-171-1/+1
| | | | | | Thanks @RunsFor for the suggested workaround! Fixes #1529.
* refactor: reduce some aliasingHisham Muhammad2024-02-172-11/+13
| | | | | | | Reduce some variable aliasing, just in case this is what is triggering possible LuaJIT bugs on the MIPS-based LoongArch architecture. See #1553.
* fix: avoid cross-device linksHisham Muhammad2024-02-171-4/+1
| | | | Fixes #1559
* fix: `build.install_command` doesn't execute on windowsSewbacca2024-02-162-6/+16
|
* fix: build_dependencies can use a dependency found anywhereHisham Muhammad2024-02-161-1/+1
|
* fix: avoid nil crash if config_files is not fully filledHisham Muhammad2024-02-151-1/+6
| | | | | | | | I couldn't track down which scenarios cause this, but it has happened on Windows: See: https://github.com/lunarmodules/luasystem/pull/17 See: https://github.com/lunarmodules/luasystem/actions/runs/7907096563/job/21583369125?pr=17
* Introduce locking for concurrent access control (#1557)Hisham Muhammad2023-12-1312-10/+100
| | | Fixes #1540
* improve rockspec.source.dir detection by moving it later (#1555)Hisham Muhammad2023-12-125-43/+88
|
* fs.tools: do not cd to initial directoryHisham Muhammad2023-12-121-3/+5
| | | | Fixes #1545
* fix: Add value specified via --tree to cfg.rocks_trees (#1549)leso-kn2023-12-111-0/+3
| | | | * Fixes a crash in `fulfill_dependency()` on musl
* Don't use floats to parse the Lua version (#1552)Michael Savage2023-12-111-4/+2
|
* feat: auto-add luarocks-build-<build.type> build dependency (#1542)Hisham Muhammad2023-10-312-0/+156
|
* tests: auto-find interpreter at /usr/bin/lua (#1544)Hisham Muhammad2023-10-311-16/+33
|
* Strip quotes for tools in paths on Windows (#1498)dundargoc2023-10-311-1/+2
| | | | | | | | | | | | As mentioned by @erw7 in https://github.com/luarocks/luarocks/issues/1443#issuecomment-1483816481, quotes is required when using io.popen but causes problems when using io.iopen. This makes luarocks unable to find its own md5sum.exe it is shipped with. Fixes https://github.com/luarocks/luarocks/issues/1443 Fixes https://github.com/neovim/neovim/issues/22752 Co-authored-by: erw7 <erw7.github@gmail.com>
* luajit: ignore extra version info in jit.version (#1519)wojas2023-10-311-1/+2
| | | | | | | | | | | Ignore any extra version info in jit.version when separated by a space. A normal LuaJIT jit.version string looks like "LuaJIT 2.1.0-beta3". Since official LuaJIT releases have all but stopped, various forks continue to use the same version for all forks. This change allows forks and patched rebuilds to add additional version information at the end of the string without breaking luarocks version detection, e.g. "LuaJIT 2.1.0-beta3 some-extra-version-info".
* admin: remove now works with the file protocol (#1536)Pavel Balaev2023-10-311-3/+11
| | | | | | | `admin add` can add rockspec using the file protocol without any problems: ./bin/luarocks-admin add testapp-scm-1.rockspec --server '/tmp/rocks/orig' But deletion only works using the rsync protocol. This patch adds deletion via file protocol.
* Fix problems in path normalisation algorithm (#1541)Aleksei Volkov2023-10-302-4/+15
| | | | | | | | Current implementation of path normalisation contains various flaws: - Trailing `.` and `..` at the end of path don't get normalised, - Path `/` turns into an empty string after normalisation. This patch changes implementation of normalisation to fix these.
* update domain name of mirror (luafr.org -> loadk.com) (#1517)Pierre Chapuis2023-07-261-1/+1
|
* upload.api: using CURLNOCERTFLAG in curl_cmd instead of hardcoded -k (#1490)Sebastian Hübner2023-03-021-1/+1
|
* CHANGELOG: update for 3.9.2Hisham Muhammad2022-12-081-0/+20
|
* Merge branch '3.9.2'Hisham Muhammad2022-12-080-0/+0
|\
| * Windows binary build tweaksv3.9.2Hisham Muhammad2022-12-083-2/+138
| |
| * Windows binary: update zlib to 1.2.13Hisham Muhammad2022-12-081-1/+1
| |
| * Release 3.9.2Hisham Muhammad2022-12-085-6/+7
|/
* build.builtin: added support for clang on Windows (#1466)Apoorv Sachan2022-12-081-2/+10
|
* path.path_to_module: accept custom extensions in package.(c)path (#1468)Hisham Muhammad2022-12-071-13/+18
|
* Create SECURITY.mdHisham Muhammad2022-12-011-0/+21
|
* Do not auto-add "bug" labels to new issuesHisham Muhammad2022-11-282-5/+4
|
* fix `test --prepare` with non-busted rocks (#1453)Pierre Chapuis2022-11-282-1/+14
| | | * fix `test --prepare` with non-busted rocks
* update CHANGELOGHisham Muhammad2022-09-271-0/+33
| | | | Closes #1437
* Fix badge in the READMESergey Bronnikov2022-09-091-1/+1
|
* cfg: follow standard enviromental variablesArtturin2022-08-261-33/+33
| | | | distributions use these to use the correct compiler and other tools
* tests: run quiet curl in mock API callsHisham Muhammad2022-08-261-1/+1
|
* luarocks test: add nil checkHisham Muhammad2022-08-261-1/+1
|
* tests: only run luasocket rollback test on minimal environmentHisham Muhammad2022-08-261-22/+24
|
* CI: bump gh-actions-lua to master to use Lua 5.4.4Hisham Muhammad2022-08-261-1/+1
|
* tests: run full tests with LuaSecHisham Muhammad2022-08-262-5/+9
|
* luarocks test: check all dependency kindsHisham Muhammad2022-08-261-4/+11
| | | | | | When running tests we usually need runtime, build and test dependencies. This avoid having CI setups need to run `luarocks make --only-deps` in order to run `luarocks test`.
* persist: create directory for file to be savedHisham Muhammad2022-08-261-0/+2
|
* mingw: default to x86_64 compiler on 64-bit WindowsHisham Muhammad2022-08-261-3/+8
|
* CI: run test workflow on pull requestsHisham Muhammad2022-08-251-1/+5
|
* tests: Use upstream provided GH Action for LuacheckCaleb Maclennan2022-08-253-26/+14
|
* update copyright noticeHisham Muhammad2022-08-251-1/+2
| | | | | | | | | | | | | | | | I was involved with Kepler as a funded project from 2006-2009; the project continued for a few years laters in a volunteer basis without an actual legal entity. This outdated copyright notice was maintained out of inertia, and I don't think anyone else involved in Kepler back in the day would claim ownership of LuaRocks beyond Kepler's original incarnation. To avoid any misunderstandings moving forward and to give credit to the many contributors over the years, I am updating this copyright notice to reflect the actual existence of Kepler, having spoken with original Kepler folks such as @carregal and @mascarenhas about it. The "LuaRocks project authors" notice follows the example of other projects such as V8; look at the Git history for the detailed credits.
* avoid crash if variables.LUA* are unsetHisham Muhammad2022-08-251-3/+3
| | | | Fixes #1418
* Merge branch '3.9.1'Hisham Muhammad2022-07-010-0/+0
|\
| * Release 3.9.1v3.9.1Hisham Muhammad2022-07-015-6/+7
|/
* deps: sanity check on luajitverHisham Muhammad2022-06-061-1/+1
|
* tests: tests for util.variable_substitutionsHisham Muhammad2022-06-061-0/+25
|