fix: removed 'autoload' from rockspec build.copy_directories#3559
fix: removed 'autoload' from rockspec build.copy_directories#3559clason merged 1 commit intonvim-telescope:masterfrom
Conversation
|
The rockspec is not maintained and may be removed in the future. Meanwhile, simple fixes such as this are appreciated. |
|
The telescope rockspec is a popular one with with 90k downloads https://luarocks.org/modules/conni2461/telescope.nvim . telescope is a popular dependency and publishing it on luarocks allows other packages to refer to it, simplifying neovim setups for many. |
|
Lifetime, or recent? |
|
And the argument is maintenance cost, not number of users. The sticking point is why plugin maintainers should be forced to also maintain what is essentially a distro package (they don't use). So I would appreciate it if the rockspec could be moved out of this repo and maintained be luarocks people. |
|
lifetime i think. I believe neovim could be made much more accessible and powerful with some dependency resolution. Plugin maintainers offload that complexity to all users while going a little further (with rockspec, packspec) they could help users setup the plugin, which IMO removes maintainance related to "install" questions. E.g. becomes regardless of dependencies. If telescope maintainers dont want to deal with the burden, I believe there are solutions, which would be much more trustworthy if the project tags more releases so users can pin/update more easily, and the rockspec maintainer doesnt get pressured by breaking changes. |
|
Most downloads (ca. 80k) are the
I don't think most of those downloads are from Nix users, as Nix caches the source on the first build in the nixpkgs CI and then fetches it from the nixpkgs cache.
I personally don't think it makes sense to maintain the SCM rockspec in this repo, as it's a manual maintenance burden. Moving it to NURR sounds reasonable to me. |
|
@teto My personal goal is to remove the dependencies, period, so there is no need for a complex dependency chain maintenance, whether through rockspec or packspec or otherwise. And, yes, a proper release process is in scope, and something I hope we can wrangle (if we don't shutter the plugin altogether, because that is a potential outcome if we decide we can't commit to the required maintenance burden.) |
|
@Conni2461 if you remove the scm package from luarocks, I can add it to NURR. |
|
No decision has been made yet, but the offer is noted (and appreciated). |
|
(And to be clear: the question is not whether telescope will be on luarocks or not, but just where the required manifest for this will be hosted and maintained. Ideally this will be not done by people who don't use luarocks at all.) |
Description
Installing telescope via luarocks broke after this commit 02ec064, this was because the
autoloaddirectory was removed, which caused luarocks to fail when copying this (non-existent) directory.The solution was to simply remove the relevant entry from the rockspec.
Fixes #3558
Type of change
How Has This Been Tested?
commands:
Configuration: N/A
Checklist: