summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* fs.is_tool_available: if it looks like a pathname, try that firstHisham Muhammad2022-04-111-1/+14
| | | | | Some uses of is_tool_available use binary names that can be overriden by the user via configuration.
* patch: fix check for malformed patchesHisham Muhammad2022-04-111-1/+2
|
* add DragonFly BSD supportHisham Muhammad2022-04-113-18/+15
|
* fixes suggested by luacheckHisham Muhammad2022-04-113-3/+3
|
* simplify check if tool is availableHisham Muhammad2022-04-118-36/+30
|
* Changes for building the all-in-one binary with Lua 5.4Hisham Muhammad2022-04-1110-48/+50
|
* build: change how the CFLAGS/LDFLAGS environment variables are honoredHisham Muhammad2022-03-062-8/+22
| | | | This is to ensure that the -fPIC tweak is always added.
* tests: don't download sailorHisham Muhammad2022-03-065-5/+49
| | | | | | Use a small fixture instead to test the regression for sailorproject/sailor#138 Sailor was the largest rock downloaded by the test suite, so this should improve download times.
* tests: don't use validate-args rockspec in testsHisham Muhammad2022-03-067-49/+36
| | | | | | | | We only used the rockspec in testing, but since the app it refers to is GPL-3, it could cause confusion among users, so let's just drop it from the test suite. Closes #1387.
* update Codecov uploaderHisham Muhammad2022-03-061-1/+3
| | | | | See my Codecov bug report at https://community.codecov.com/t/coverage-ui-off-by-one-when-file-starts-with-a-blank-line/3516/2
* macOS: make deployment target 11.0 if running on macOS 11+Hisham Muhammad2022-03-021-1/+3
|
* fix: avoid quoting issues with LIBFLAG on MacOSHisham Muhammad2022-02-171-2/+2
|
* README: fix badge URLHisham Muhammad2022-02-171-1/+1
|
* builtin: always respect CC, CFLAGS, LDFLAGSHisham Muhammad2022-02-172-8/+10
| | | | | | | There were already workarounds in place for some platforms. This should make the behavior consistent. Fixes #429.
* tests: remove Travis CI, add Github ActionsHisham Muhammad2022-02-176-190/+117
|
* tests: wait longer for mock server to startHisham Muhammad2022-02-172-14/+29
|
* fs.tools: remove trailing spaces from current dir, for WindowsHisham Muhammad2022-02-171-1/+1
|
* win32: do not use "pwd" on windows, use "echo %cd%"Hisham Muhammad2022-02-173-2/+3
|
* win32: use Windows's own MKDIR and RMDIRHisham Muhammad2022-02-175-4/+4
|
* Prevent creation of directory named '-p' on Windowsstevenwdv2022-02-171-1/+1
| | | `tools.make_dir` used `mkdir -p <name>` while `-p` [is not an existing switch](https://docs.microsoft.com/windows-server/administration/windows-commands/mkdir) on Windows. The switch is also not necessary because plain `mkdir` on Windows also creates intermediate directories.
* win32.tools: replicate rmdir -pHisham Muhammad2022-02-171-1/+9
|
* Always produce a default config if cfg.init() fails loading a fileHisham Muhammad2022-02-171-6/+10
| | | | This ensures that luarocks.loader() gets a baseline configuration
* fix deployment on non-wrapped binaries (#1375)Hisham Muhammad2022-02-164-15/+22
| | | | | | | * fix deployment on non-wrapped binaries Fixes #1374. * Do not add .bat extension inside win32.wrap_script
* no need for a make_shallow_copy utility functionHisham Muhammad2022-02-163-17/+11
|
* Fix crash when --lua-version is malformedHisham Muhammad2022-02-082-0/+6
|
* fix `--pin` option so it appears correctly in user docs (#1390)Aire-One2022-01-252-1/+5
| | | | | | | | * fix(build) cmd option `--pin` The `build` command `--pin` was asigned to the global parser. This fix this issue by making it a command flag. * fix(install) cmd option --pin
* Merge branch 'master' of ssh://github.com/luarocks/luarocksHisham Muhammad2021-12-291-13/+7
|\
| * Improve performance of reading zip file by not processing header (#1370)Alex Richard2021-11-301-13/+7
| |
* | Remove luarocks.logiceditor.com from default mirror listHisham Muhammad2021-12-291-1/+0
|/ | | | | | | | As discussed in #1354. We're removing it from the default mirror list since it is http:// and the https:// certificate is presenting issues. We can reinstate it once the certificate issues are sorted! Closes #1354.
* Changelog for LuaRocks 3.8.0Hisham Muhammad2021-11-091-0/+22
|
* Merge branch '3.8.0'Hisham Muhammad2021-11-080-0/+0
|\
| * Release 3.8.0v3.8.0Hisham Muhammad2021-11-085-7/+8
|/
* Auto-convert github.com source URLs to use httpsHisham Muhammad2021-11-081-0/+9
| | | | | | | | | This avoids having to fix every rockspec that uses github.com. See https://github.blog/2021-09-01-improving-git-protocol-security-github/ For more context, see: https://github.com/teal-language/tl/pull/494/
* win32: icacls fix for usernames with spacesHisham Muhammad2021-11-081-1/+11
|
* win32: revert Everyone back to *S-1-1-0Hisham Muhammad2021-11-041-1/+1
| | | | | | | see discussion at https://github.com/luarocks/luarocks/issues/1312#issuecomment-896155122 Fixes #1312
* Makes a variable localarichard2021-11-031-1/+1
|
* respect existing LUALIB if given (#1358)Hisham Muhammad2021-10-161-1/+8
| | | Fixes #1357.
* fix check_external_dependency_at (#1355)erw72021-09-231-6/+7
| | | | Fix a problem where 'files' were being sorted even though they should have been inspected in the order of external_deps_patterns.
* fix configuration for OpenBSD (#1352)omar-polo2021-09-151-0/+5
|
* upload: support uploading pre-packaged .src.rock files (#1321)Hisham Muhammad2021-08-132-7/+20
| | | | | upload: support uploading pre-packaged .src.rock files Co-authored-by: daurnimator <quae@daurnimator.com>
* README: switch Travis badge to travis-ci.comHisham Muhammad2021-08-101-1/+1
|
* tests: bump luacov to 0.15.0Hisham Muhammad2021-07-225-14/+14
|
* allow to work without debug libraryFrancois Perrad2021-06-226-5/+16
|
* luarocks test: add --prepare flag (#1314)Deepak Singh Rathore2021-06-223-6/+37
| | | | | | * Added prepare flag in test command * Added test for prepare flag in spec/test_spec.lua Fixes #1303
* deps: remove redundant argsgerrard2021-05-101-1/+1
|
* Add issue templates for bugs and enhancementsCarl Smedstad2021-05-052-0/+42
| | | | | | | | | The issue tracker does unfortunately contain quite a lot of low-quality issues. I think issue templates can improve this for the future. Adapted from these templates: https://github.com/swaywm/sway/tree/master/.github/ISSUE_TEMPLATE
* Changelog: add 3.6.0 and 3.7.0Hisham Muhammad2021-04-131-2/+55
|
* Merge branch '3.7.0'Hisham Muhammad2021-04-130-0/+0
|\
| * Release 3.7.0v3.7.0Hisham Muhammad2021-04-135-7/+8
|/
* use mirrors when downloading rocks even if manifest succeedsHisham Muhammad2021-04-132-5/+73
| | | | | | | | | | | | LuaRocks generally only checked whether to use a mirror in the first operation, when it fetches the manifest. If the manifest fails to load, it switches to the mirror and everything works from there. But if the manifest fetches ok and the then actual rock download fails with a 504, it gives up, instead of trying that in a mirror as well. Changing that to make it retry every download on a mirror when the base URL matches one configured in cfg.rocks_servers should make it much more resilient. Fixes #1299.