Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 18:19
  • 18:18

    hishamhm on which-tool-err

    (compare)

  • 18:18

    hishamhm on master

    fs: always check for failure of… (compare)

  • 18:18
    hishamhm closed #1157
  • 18:16
    hishamhm commented #1158
  • 18:14
    hishamhm commented #1153
  • 17:45
    Diamonde123 opened #1158
  • Feb 19 16:53
  • Feb 19 15:43
    Travis luarocks/luarocks@3e6e22d (which-tool-err) passed (2469)
  • Feb 19 14:33
    hishamhm opened #1157
  • Feb 19 14:33

    hishamhm on which-tool-err

    fs: always check for failure of… (compare)

  • Feb 19 08:55
    imolein commented #924
  • Feb 18 14:37
    hishamhm closed #1155
  • Feb 18 14:37
    hishamhm commented #1155
  • Feb 17 14:53
    doronbehar commented #1155
  • Feb 17 14:01
    hishamhm commented #1155
  • Feb 16 11:46
    doronbehar commented #1155
  • Feb 16 06:47
    RussellHaley reopened #1142
  • Feb 16 06:47
    RussellHaley commented #1142
  • Feb 16 06:47
    RussellHaley edited #1142
Thijs Schreijer
@Tieske
@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....
JumBê
@JumBe08
Ah! Making progress then =D
Any suggestion about how to deal with that web app, using the apache server?
Thijs Schreijer
@Tieske
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
JumBê
@JumBe08
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*
JumBê
@JumBe08
will be an easier*, thats the spelling xD
JumBê
@JumBe08
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
JumBê
@JumBe08
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 =]
daurnimator
@daurnimator
@JumBe08 a nice thing to mention would be the new --lua-version argument in luarocks 3
it's underdocumented; but hugely useful
JumBê
@JumBe08
@daurnimator I'll give it a look O.o
Caleb Maclennan
@alerque
A major new version of Luarocks has a hugely useful new argument that nobody bothered to document? Nice. :headddesk:
daurnimator
@daurnimator
alerque: is that volunteering I hear? :)
JumBê
@JumBe08
You guys know any cool tutorials/posts detailing how to use arguably underdocumented luarocks features?
For example, I'd be super interested in some1 showing how to use the luarocks-admin command to its full potential
daurnimator
@daurnimator
not really..... I just learned by doing --help and trying them al
JumBê
@JumBe08
Even though there is clearly a good effort to document things, I've found that to be a bit painful =[
daurnimator
@daurnimator
but it's not well maintained... some of the info in there is quite outdated
JumBê
@JumBe08
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
daurnimator
@daurnimator
jumbe08: if you do find outdated things, please do update them :D
JumBê
@JumBe08
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
daurnimator
@daurnimator
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!
JumBê
@JumBe08
@daurnimator oki, thanks O.o
_kacper
@dracconi
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?