lazy.nvim/lua/lazy
Marc Jakobi 591ef40f2d
fix(luarocks): try to install from root manifest (#1687)
## Description

When passing the `--dev` flag to `luarocks`, it will prioritise `dev`
versions when resolving dependencies (treating `dev` or `scm` as greater
than a SemVer version) if the rockspec doesn't specify an upper version
constraint (which is often the case).

Dev packages are often unstable and may cause more problems, especially
for Windows users (an example I've seen is git for windows trying and
failing to checkout submodules).

For now , a good compromise between too many retries and not retrying at
all could be to try `luarocks install` from the root manifest first, but
to keep the `--dev` flag in `luarocks make`.

If that still causes problems, it might be better to fall back to
`luarocks make` without `--dev` first, and then to try `luarocks ---dev
make` as a last resort.
In rocks.nvim, we only fall back to adding the `--dev` flag if the
install error message contains the string `"No results matching query
were found"`; assuming that stable non-dev packages shouldn't depend on
dev packages.
2024-08-31 08:59:45 +02:00
..
community chore(build): auto-generate rockspec mappings 2024-06-26 04:22:43 +00:00
core fix(rocks): add lib64 plugin directory to package.cpath (#1717) 2024-08-31 08:58:43 +02:00
manage fix(plugins): "Vim:E150: Not a directory" on plugin update (#1679) 2024-07-25 12:53:01 +02:00
pkg fix(luarocks): try to install from root manifest (#1687) 2024-08-31 08:59:45 +02:00
view feat(ui): added mapping descriptions 2024-07-18 00:40:42 +02:00
async.lua fix(async): make asyncs abortable 2024-06-30 13:35:14 +02:00
build.lua ci: added neo to rockspec patterns 2024-06-26 06:22:23 +02:00
docs.lua docs: fix commands table. Fixes #1393 2024-03-28 12:15:31 +01:00
example.lua style: fix some typo (#1496) 2024-06-03 09:18:43 +02:00
health.lua fix(health): dont use vim.fn.system to get cmd versions 2024-07-22 14:38:00 +02:00
help.lua fix(help): get rid of any tbl_flatten or iter flatten code 2024-05-19 17:29:43 +02:00
init.lua docs: make bootstrap work on stable and nightly. Fixes #1391 2024-03-27 09:23:19 +01:00
minit.lua ci: add luassert to minitest for now 2024-07-13 09:45:01 +02:00
state.lua style: sort requires 2023-10-09 11:25:42 +02:00
stats.lua feat(profiling): merge VeryLazy stats and show startuptime in profile view 2024-07-04 15:17:10 +02:00
status.lua feat(ui): added statusline component to show pending updates 2022-12-05 20:49:45 +01:00
terminal.lua feat: added `opts.headless` to control ansi output when running headless 2024-06-26 21:38:28 +02:00
types.lua feat: added `opts.git.cooldown` to allow updating plugins on slow connections. Fixes #1656 2024-07-23 13:31:25 +02:00
util.lua fix(process): deal with process errors 2024-06-29 13:52:50 +02:00