lua-resty-http
lua-resty-http copied to clipboard
[backport to `v0.16.x`] Change `source.url` in `rockspec` to use `git+https://` instead of `git://` protocol (deprecated by GitHub)
This PR is a backport of #270 to the v0.16.x "branch" (there is only a tag AFAICT). I created a new branch from the v0.16.1 tag. I tried to make the GitHub PR target this tag, but apparently you can't target tags, and there is no corresponding branch that I could find to target. So at the moment this PR targets the master branch (meaning you probably don't want to merge it directly).
Quoting from #270:
GitHub deprecated usage of
git://(unencrypted Git protocol) on March 15th, 2022, so LuaRocks will fail to install any package including asource.urlstarting withgit://. According to the LuaRocks documentation, the correct syntax for referencinghttps://URLs isgit+https://.