A new place to share rocks.
Clean interface, simple to use, and effective. More details here.
Plus, the website source is freely available on Github.
Compatible with luaRocks rockspecs.
Made by Leaf Corcoran (Leafo), using Moonscript.
MoonRocks
- Roland_Yonaba
- Inner party member
- Posts: 1563
- Joined: Tue Jun 21, 2011 6:08 pm
- Location: Ouagadougou (Burkina Faso)
- Contact:
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: MoonRocks
Looks nice. I tried updating a rockspec and it was much less painful than in luarocks.
I've got one question - How does one start using the rocks, once they are uploaded? In other words, what is the equivalent of
in moonrocks?
I've got one question - How does one start using the rocks, once they are uploaded? In other words, what is the equivalent of
Code: Select all
$ luarocks install inspect
When I write def I mean function.
- Roland_Yonaba
- Inner party member
- Posts: 1563
- Joined: Tue Jun 21, 2011 6:08 pm
- Location: Ouagadougou (Burkina Faso)
- Contact:
Re: MoonRocks
Hi kikito,
Actually, I can easily install a rock using
<author> would be the uploader username and and <name> the module name.
Yay, I've just installed inspect.
Actually, I can easily install a rock using
Code: Select all
luarocks install --server=http://rocks.moonscript.org/manifests/<author> <name>
Yay, I've just installed inspect.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: MoonRocks
Oh I see.
I'm kindof split on this one. On one hand, this means that I must have the luarocks executable installed in order to use moonrocks.
On the other hand, this is making use of existing software, without reinventing the weel, which I like. And contrarily to the luarocks site, I don't need to send an email to upload/update a new rock (that was horrible).
Suggestion to leafo: in case you are planning to create your own executable, you should create a user named "luarocks" in the site right away. Make him owner of all the rocks in luarocks. Add a cron task that parses the luarocks site once per hour or so. This way the moonrocks executable will be able to install "kikito/inspect" but also "inspect" (from the default user luarocks)
I'm kindof split on this one. On one hand, this means that I must have the luarocks executable installed in order to use moonrocks.
On the other hand, this is making use of existing software, without reinventing the weel, which I like. And contrarily to the luarocks site, I don't need to send an email to upload/update a new rock (that was horrible).
Suggestion to leafo: in case you are planning to create your own executable, you should create a user named "luarocks" in the site right away. Make him owner of all the rocks in luarocks. Add a cron task that parses the luarocks site once per hour or so. This way the moonrocks executable will be able to install "kikito/inspect" but also "inspect" (from the default user luarocks)
When I write def I mean function.
Re: MoonRocks
kikito wrote:Oh I see.
I'm kindof split on this one. On one hand, this means that I must have the luarocks executable installed in order to use moonrocks.
On the other hand, this is making use of existing software, without reinventing the weel, which I like. And contrarily to the luarocks site, I don't need to send an email to upload/update a new rock (that was horrible).
Suggestion to leafo: in case you are planning to create your own executable, you should create a user named "luarocks" in the site right away. Make him owner of all the rocks in luarocks. Add a cron task that parses the luarocks site once per hour or so. This way the moonrocks executable will be able to install "kikito/inspect" but also "inspect" (from the default user luarocks)
The goal is to make http://rocks.moonscript.org the default server in LuaRocks. So when people use LuaRocks they, by default, will download packages from there. This site is just a replacement for the mailing list package submission that is currently being used.
I think I'm going to wait a bit for people to upload their own rocks before exporting everything from the current LuaRocks manifest.
Also, what would you prefer to use instead of the luarocks executable to install packages?
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: MoonRocks
Well, I don't want to have two systems, that's allleafo wrote:Also, what would you prefer to use instead of the luarocks executable to install packages?
When I write def I mean function.
Who is online
Users browsing this forum: Google [Bot] and 4 guests