On 15 August 2014 07:46, Ildar Mulyukov <il...@users.sourceforge.net> wrote:
> 30.10.2013 06:39, Hisham пишет:
>> It's my pleasure to announce LuaRocks 2.1.1.
>> [...]
>> What's new since 2.1.0:
>> [...]
>> * New --local-tree flag for 'luarocks-admin make-manifest'
> Hi everybody!
> I was away from Lua staff for quite some time. But today I got the most
> fresh luarocks and see this:
>> # luarocks-admin make_manifest
>> Making manifest for /usr/lib/luarocks/rocks
>> Warning: This looks like a local rocks tree, but you did not pass
>> --local-tree.
>> Generating index.html for /usr/lib/luarocks/rocks
>
> Hmm! let's check that out!
>> # cd /usr/lib/luarocks/rocks
>> # rm -f * 2> /dev/null ; luarocks-admin make_manifest ; ls -lMaking
>> manifest for /usr/lib/luarocks/rocks
>> Warning: This looks like a local rocks tree, but you did not pass
>> --local-tree.
>> Generating index.html for /usr/lib/luarocks/rocks
>> total 48
>> -rw-r--r-- 1 root root 2420 Aug 15 16:38 index.html
>> drwxr-xr-x 3 root root 4096 Aug 5 2012 lgi
>> drwxr-xr-x 3 root root 4096 Aug 6 2012 luasocket
>> -rw-r--r-- 1 root root 4492 Aug 15 16:38 manifest
>> -rw-r--r-- 1 root root 4492 Aug 15 16:38 manifest-5.1
>> -rw-r--r-- 1 root root 4492 Aug 15 16:38 manifest-5.2
>> -rw-r--r-- 1 root root 4492 Aug 15 16:38 manifest-5.3
>> drwxr-xr-x 3 root root 4096 Aug 6 2012 mobdebug
>> [root@ildar rocks]# rm -f * 2> /dev/null ; luarocks-admin
>> make_manifest --local-tree ; ls -l
>> Making manifest for /usr/lib/luarocks/rocks
>> total 20
>> drwxr-xr-x 3 root root 4096 Aug 5 2012 lgi
>> drwxr-xr-x 3 root root 4096 Aug 6 2012 luasocket
>> -rw-r--r-- 1 root root 5530 Aug 15 16:38 manifest
>> drwxr-xr-x 3 root root 4096 Aug 6 2012 mobdebug
>
> What's that and what's the difference? I found no clue in docs.
> Best regards,

The manifest files are different (notice that the one generated by
--local-tree is bigger), and the versioned manifest files are not
generated. LuaRocks gets confused if there are multiple versioned
manifest files in the local tree.

-- Hisham

------------------------------------------------------------------------------
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to