Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub deprecated usage of unencrypted git:// protocol last week, so luarocks can no longer install the package #28

Open
milesrichardson opened this issue Mar 21, 2022 · 0 comments

Comments

@milesrichardson
Copy link

GitHub deprecated usage of git:// (unencrypted Git protocol) on March 15th, 2022, so LuaRocks will fail to install any package including a source.url starting with git://. According to the LuaRocks documentation, the correct syntax for referencing https:// URLs is git+https://.

The solution is to change git:// to git+https:// in the rockspec file. I would open a PR for this, but I'm not sure your versioning process or which files to change. So I just wanted to leave the note here.

For anyone who sees this issue and is looking for a fix that doesn't require waiting for every luarocks package to update their rockspec files, here is a workaround, courtesy of stackoverflow:

git config --global url.https://github.com/.insteadOf git://github.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant