> Is there are difference (assuming they both work...) between:
>   luarocks install --server=http://rocks.moonscript.org commandlineui
> and:
>   luarocks install --server=http://rocks.moonscript.org/manifests/peterbillam 
> commandlineui
> apart, of course, from the fact the latter is a Long command... ?

They are different. The first one queries modules from moonrock's root
manifest, it contains modules from many different people. The second command
only searches a user's personal manifest, modules that only a user has
uploaded.

You can the see 'manifest' files for each of these URLs to see what they
contain:

http://rocks.moonscript.org/manifest
http://rocks.moonscript.org/manifests/peterbillam/manifest

Unless you are trying to get a module that isn't available in the root
manifest, you should typically use the shorter version.

> Also (OT): can moonrocks upgrade itself, or is it necessary to:
>   luarocks remove moonrocks
>   luarocks install --server=http://rocks.moonscript.org moonrocks

If you have a more recent version of LuaRocks you can upgrade moonrocks by
doing:

moonrocks install moonrocks

This tool will be deprecated shortly though should so this will be unnecessary.

> P.S.  Is it planned to make rocks.moonscript.org the default
> server for the luarocks command ?
> Or is it planned to package up moonrocks for the major distros ?
>   debian~> aptitude search luarocks
>   i  luarocks   - deployment and management system for Lua modules

The plan is to make it the default, it's already checked in and should be
released shortly. You won't need to install the moonrocks command line tool
anymore, I'll put a notice on it's page and remove the directions from
rocks.moonscript.org.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to