On Mar 11, 2011 1:13 PM, "Alexander Gladysh" <[email protected]> wrote: > > On Fri, Mar 11, 2011 at 21:06, Hisham <[email protected]> wrote: > > On Thu, Mar 10, 2011 at 11:32 PM, Alexander Gladysh <[email protected]> wrote: > > >> How to tell Luarocks that https://github.com/agladysh/lua-inih.git is > >> an URL to Git repository? > > > No support for that in the current version, I'm afraid. How does one > > use that URL? I tried this here and got an error: > > > ]git clone --depth=1 https://github.com/agladysh/lua-inih.git lua-inih > > warning: templates not found /Users/hisham/share/git-core/templates > > Initialized empty Git repository in /Users/hisham/luarocks/src/lua-inih/.git/ > > error: SSL certificate problem, verify that the CA cert is OK. Details: > > error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate > > verify failed while accessing > > https://github.com/agladysh/lua-inih.git/info/refs > > fatal: HTTP request failed > > Works flawlessly for me. What Git version do you use? > > $ git clone --depth=1 https://github.com/agladysh/lua-inih.git > Cloning into lua-inih... > remote: Counting objects: 58, done. > remote: Compressing objects: 100% (49/49), done. > remote: Total 58 (delta 12), reused 0 (delta 0) > Unpacking objects: 100% (58/58), done. > > As for how it should be detected, I would suggest an optional explicit > download method field (i.e. "http", "git", "svn"...). > > Alexander. >
It's not a version issue. It's authentication. I believe you need to either install the CA certificate or turn off authentication. Also, I think the URL is just git://domain/path (or gits://... for secure). You can assume HTTP(S) for the transport protocol for now. I wouldn't recommend distributing Rocks with SSH credentials. ;) Chris -- Sent from my HTC Eris running Android 2.3.3 Gingerbread.
_______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
