@JumBe08 ah, so you're trying to push rocks to the webserver? that will not work without a webapp. A webserver just gets a POST request, but unless it has an application to hand it of to, it will not know how to deal with it. Hence you get the 405 response.
I've never done this myself, but probably an FTP server could work. Since that protocol is a file based protocol, it should allow you to send data to the server without any additional application code.... I think....
Ah! Making progress then =D
Any suggestion about how to deal with that web app, using the apache server?
thgere is only one app I know, which the Luarocks.org website (it's on github)
but do you need to push rocks to the server over a network?
If you can do it locally, then you can just add the rocks, and regenerate the maniferst. Any clients can pull rocks from over the network
Well, uh, tbh i was just trying to discover how to really use the luarocks-admin tool
im doing this project for GSoC at prosody
where i am trying to make a plugin installer
btw, i saw farther behind in the conversation that you guys applied to GSoC too, but i missed it when i was searching through the orgs. I'll probably try to apply next year, if possible =D
anyway, we are doing a plugin installer, and i got some bridges to luarocks and luarocks-admin
and i was trying to test if my luarocks-admin implementation is working, so i was trying to really use luarocks-admin add
but i wanted to use my own server, because that's what we'll eventually do at prosody. Put those modules up somewhere on the web, and then i think this add command we'll be a easier way to add stuff there over time
will be an easier*, thats the spelling xD
Guys, I got another question regarding luarocks =D
so lets say im making a rockspec. I got one folder with 2 files, for example source.lua and source.lib.lua
i know how to configure source.lua at the rockspec
at the build section i go to modules
and i wirte something like this: ["mod_source.mod_source"] = "mod_source/mod_source.lua"
but i cannot do the same for the other file. I try this: ["mod_source.mod_source.lib"] = "mod_source/mod_source.lib.lua"
it will create a lib directory instead of a file and the starting directory
the problem is that one file is named something.lua. How do you do if the file is named something.lib.lua? Because luarocks is looking at the "." and assumes it should open another folder
Greetings. I've made a very brave attempt at writing a blog posts about some basics regarding luarocks and how to use it. Decided to stop by and drop it here, in the hopes of collecting all the feedback/tips I can. Thanks for the attention and the help these last weeks =]
but it's not well maintained... some of the info in there is quite outdated
yes, I noticed
still has got some neat stuff
but at least for me it works okay as long as im doing exactly what is in there
if I want to make something different i struggle a bit
but it might be because i need to know what im doing with other tools, that arent really luarocks related, and therefore dont have to be documented there
jumbe08: if you do find outdated things, please do update them :D
Should I? I dont even know what im really doing most of the time
welp, but some things i surely could
i noteiced, for example, that the docs for luarocks-admin add still document an --index flag
but that isnt at the respective terminal command help
JumBe08: if you're not sure about something, just ask here and I or hisham can probably clarify. But otherwise please do update the wiki!
@daurnimator oki, thanks O.o
hi, i have this problem when i execute luarocks i get Access is denied. and that it cant find 5.1 interpreter :/. i have compiled lua 5.1.5 with mingw i believe and i have it under d:\lua\5.1, luarocks lives in a neighboring directory. it doesnt show this error while i am in elevated prompt, so i suppose this is some kind of permissions issue?