| Commit message (Collapse) | Author | Files | Lines |
|
* improve failure message to help user
I was trying to run `:Rocks install rocks.nvim` from neovim, which
results in:
```
luarocks "--force-lock" "--lua-version=5.1" "--tree=/home/teto/.local/share/nvim/rocks" "--server='https://luarocks.org/manifests/neorocks/'" "--server='https://lumen-oss.github.io/rocks-binaries/'" "install" "--force" "rocks.nvim"`
Installing https://luarocks.org/rocks.nvim-2.49.0-1.src.rock
Missing dependencies for rocks.nvim 2.49.0-1:
nvim-nio (not installed)
rtp.nvim (not installed)
rocks.nvim 2.49.0-1 depends on lua 5.1 (5.1-1 provided by VM: success)
rocks.nvim 2.49.0-1 depends on luarocks >= 3.11.1, < 4.0.0 (3.13.0-1 installed: success)
rocks.nvim 2.49.0-1 depends on toml-edit >= 0.6.1 (0.7.0-1 installed: success)
rocks.nvim 2.49.0-1 depends on fidget.nvim >= 1.1.0 (1.6.0-1 installed: success)
rocks.nvim 2.49.0-1 depends on fzy (1.0.3-1 installed: success)
rocks.nvim 2.49.0-1 depends on nvim-nio (not installed)
Installing https://luarocks.org/nvim-nio-1.10.1-1.src.rock
nvim-nio 1.10.1-1 is already installed in /home/teto/.local/share/nvim/rocks
Use --force to reinstall.
Error: Repository inconsistency detected (previously unfinished/corrupted installation?)
```
The error spaws from luarocks 3.13 so while the root problem of the
dependency not being detect while already installed might already have
been solved in newer releases. As rocks.nvim only displayed the last bit
(maybe because of stderr vs stdout distinction ?), patching the error message is still helpful.
* Update src/luarocks/deps.tl
Co-authored-by: Hisham Muhammad <hisham@gobolinux.org>
---------
Co-authored-by: Hisham Muhammad <hisham@gobolinux.org>
|
|
|
|
|
|
See #1909.
|
|
|
|
|
|
The variable `name` must be falsely in this `else` clause so stringify values like `false`, `nil `, `{}`, etc., so we can safely build an err message instead of merely crashing.
* #1828
* #1829
|
|
|
|
|
|
Fixes
* https://github.com/luarocks/luarocks/pull/1912#discussion_r3772314224
|
|
Bumps the github-actions group with 1 update: [luarocks/gh-actions-lua](https://github.com/luarocks/gh-actions-lua).
Updates `luarocks/gh-actions-lua` from 12 to 13
- [Release notes](https://github.com/luarocks/gh-actions-lua/releases)
- [Commits](https://github.com/luarocks/gh-actions-lua/compare/fc6f8de246f8c01f6e1a56a1b851143e23370ff3...85e2287697275df96334743ac654241a8fd34ab3)
---
updated-dependencies:
- dependency-name: luarocks/gh-actions-lua
dependency-version: '13'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
* chore(deps): bump lua-zlib to 1.4
* refactor: adjust static lib for `lua-zlib` 1.4 rockspec
* refactor(ci): remove unused copy of zlib import lib for MSVC
|
|
|
|
|
|
|
|
This fixes https://github.com/luarocks/luarocks/issues/1712.
|
|
|