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

Issue with luarocks package not installing #1

Open
4mig4 opened this issue Jul 17, 2018 · 0 comments
Open

Issue with luarocks package not installing #1

4mig4 opened this issue Jul 17, 2018 · 0 comments

Comments

@4mig4
Copy link

4mig4 commented Jul 17, 2018

Installing https://luarocks.org/lua-resty-urandom-0.2-1.rockspec
Cloning into 'lua-resty-urandom'...
warning: Could not find remote branch 0.2 to clone.
fatal: Remote branch 0.2 not found in upstream origin

Error: Failed cloning git repository.

I think this is because v2.0 is the tag name and you use 2.0 in your luarocks.specs ?

also the

I modified the specs file to try and fix this and this is what I got
also the version is 0.2-1 fixed that also in the specs

package = "lua-resty-urandom"
version = "0.2-1"
source = { 
   url = "git://github.com/p0pr0ck5/lua-resty-urandom",
   tag = "v0.2"
}

Error: Inconsistency between rockspec filename (lua-resty-urandom.0.2-1.rockspec) and its contents (lua-resty-urandom-0.2-1.rockspec)

so I did:

mv lua-resty-urandom.0.2-1.rockspec lua-resty-urandom-0.2-1.rockspec

I also believe you need to change

_M.version = "0.2"

in the urandom.lua file

Could you please fix it and re-upload to luarocks website ?

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