On Fri, Mar 11, 2011 at 21:06, Hisham <[email protected]> wrote:
> +   local url = rockspec.source.url:gsub("^git://([a-z]*://)", "%1")

BTW, [a-z]* is not enough, because there are URL schema names like git+ssh.

Also, it looks like that with this code one would write git:// twice
for actual git:// url :-)

Anyway, as I said, I'm for using a separate optional key for that.

Alexander.

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to