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 dropping support for unauthenticated git protocol #97

Open
travisbell opened this issue Mar 2, 2022 · 0 comments
Open

GitHub dropping support for unauthenticated git protocol #97

travisbell opened this issue Mar 2, 2022 · 0 comments

Comments

@travisbell
Copy link

travisbell commented Mar 2, 2022

Right now, in the rockspec, you're definding the source.url as:

url = "git://github.com/steve0511/resty-redis-cluster",

That has started failing in my CI env:

Installing https://luarocks.org/resty-redis-cluster-1.05-1.rockspec
Cloning into 'resty-redis-cluster'...
fatal: remote error: 
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
Error: Failed cloning git repository.

I'm pretty sure the fix is pretty straightforward, and you need to simply update the source URL to:

url = "git+https://github.com/steve0511/resty-redis-cluster",

I've tested this locally with a copied version of the rockspec and things are looking good.

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