Closed timmipetit closed 5 months ago
I suspect that the rockspec files should be updated to a https:// url instead of a git:// url
No it does not helps. Links must be git+https://github.com/keplerproject/luasql.git
Ah indeed, you are correct. For anyone else who has the same problem, we made a copy of the rockspec file from the repository, changed the source url to git+https://github.com/keplerproject/luasql.git
, and then run luarocks install luasql-mysql-2.6.0-1.rockspec
as a workaround.
https://github.blog/2021-09-01-improving-git-protocol-security-github/
As per this blog, git:// will stop working without authentication permanently on Mar 15 2022. Could a patch be released converting the URLs to git+https soon, so we get some time to test in our Env as well.
This has happened and it means all the rocks from this repository are no longer available using the expected luarocks install luasql-xxxxx
!
@tomasguisasola can you look into fixing this?
GitHub seems stupid - I cannot see how to make a PR that would create a new branch that is based on the repository as it was at 22d4a911f35cf851af9db71124e3998d96fb3fa1 (which has the 2.6.0
tag) - the code is in my repository at https://github.com/SlySven/luasql/commit/ba89efa273177dbaba1e382d4b500ea97fe298c5 but I cannot see how to formulate a PR to get it into this repository!
Sorry for late response.
Fixed.
Since today (Janary 11, 2022) Github no longer supports pulling from the git protocol on port 9418. This means that trying to install luasql using luarocks will result in an error:
I suspect that the rockspec files should be updated to a
https://
url instead of agit://
url