| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When installing build dependencies, do so for the Lua version on which the
LuaRocks program is actually running, and not the one selected by the user via
config or `--lua-version`.
To do that, we temporarily flip the user-selected Lua version. It's a hacky
approach because we have to do this by flipping a bunch of global config
settings, and we may be missing some entries.
This definitely needs a better solution, but this is what can be done somewhat
easily in the current architecture. A full solution needs to address have
several complications (e.g. if you have a build dependency that needs to be
compiled, it will require C headers for another version of LuaRocks, and the
binary might be compiled with a different Lua version than the one the
developer has set up in their machine.)
|
|
|
|
| |
Fixes #1512.
|
|
|
|
| |
Closes #1513.
|
|
|
|
|
|
| |
Closes #1514.
Co-Authored-By: FractalU <r.beckmann@protonmail.com>
|
|
|
|
|
|
| |
Thanks @RunsFor for the suggested workaround!
Fixes #1529.
|
|
|
|
|
|
|
| |
Reduce some variable aliasing, just in case this is what is triggering
possible LuaJIT bugs on the MIPS-based LoongArch architecture.
See #1553.
|
|
|
|
| |
Fixes #1559
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
| |
Fixes #1540
|
| |
|
|
|
|
| |
Fixes #1545
|
|
|
|
| |
* Fixes a crash in `fulfill_dependency()` on musl
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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 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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
* fix `test --prepare` with non-busted rocks
|
|
|
|
| |
Closes #1437
|
| |
|
|
|
|
| |
distributions use these to use the correct compiler and other tools
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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`.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fixes #1418
|
|\ |
|
|/ |
|