thibaultcha / lua-cassandra

Pure Lua driver for Apache Cassandra
https://thibaultcha.github.io/lua-cassandra
Other
98 stars 35 forks source link

rockspec: use https instead of git #149

Open kikito opened 1 year ago

kikito commented 1 year ago

Using git:// for direct linking is not supported by github any more, so the rock is uninstallable on its current state.

The simplest solution is changing the protocol from git:// to https://, and then push the new rockspec to luarocks.

A workaround exists - you can force git to always use https:// by using these settings:

git config --global url."https://github.com/".insteadOf git@github.com: git config --global url."https://".insteadOf git://

But ideally the rocks should be installable without such global config changes.