luarocks / luarocks-site

LuaRocks website and module host
http://luarocks.org
175 stars 38 forks source link

Error while uploading a module #187

Closed AadiS11 closed 1 year ago

AadiS11 commented 1 year ago

I am trying a upload a module to luarocks but when I run the luarocks upload command, I get the following error:
Cloning into 'kong-audit-log'...
fatal: unable to connect to github.com:
github.com[0: 13.234.176.102]: errno=Resource temporarily unavailable

The source url in the rockspec file is this: git://github.com/mykaarma/kong-audit-log

When I change the source url to https://github.com/mykaarma/kong-audit-log, the module gets uploaded successfully but then it gives the following error during installation:
Error: Couldn't extract archive /tmp/luarocks_audit-log-0.1.0-1-5270308/kong-audit-log: unrecognized filename extension

hishamhm commented 1 year ago

@AadiS11 You need to upgrade to the latest luarocks CLI tool (or at least 3.8.0) in order to continue using git://github.com URLs (GitHub changed their infrastructure).

Alternatively, you can change the URL to git+https://github.com