lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, Dec 31, 2011 at 20:47, Thomas Harning Jr. <harningt@gmail.com> wrote:
> On Sat, Dec 31, 2011 at 3:46 AM, Alexander Gladysh <agladysh@gmail.com> wrote:
>> On Sat, Dec 31, 2011 at 07:26, Thomas Harning Jr. <harningt@gmail.com> wrote:
>>> Btw, a trick I found for github that I cannot seem documentation for...
>>> You can transform the HTTPS download
>>> URLhttps://github.com/downloads/harningt/luajson/luajson-1.3.tar.gz
>>> ==> to HTTP ==>http://cloud.github.com/downloads/harningt/luajson/luajson-1.3.tar.gz
>>> to avoid SSL - which makes for convenient LuaRocks usage w/o
>>> SSLsupport.  Basically  change https -> http and add a "cloud." in
>>> frontof github.com
>>
>> Please do not rely on this in rockspec files! GH people change these
>> URLs every so often.
>>
>> Instead use Git tags:
>> https://github.com/lua-nucleo/lua-nucleo/blob/master/rockspec/lua-nucleo-0.0.2-1.rockspec#L3-6
> Do not rely on which - the http://cloud "fix" or the download urls in general?

Definitely do not rely on http://cloud.

And be careful with download URLs — GH did break them several times.

I, personally, am using tags in all my rocks.

Alexander.