Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 27 16:43
    hishamhm commented #1140
  • Jan 27 06:39
    codecov-io commented #1138
  • Jan 27 06:03
    RussellHaley closed #1124
  • Jan 27 06:03
    RussellHaley commented #1124
  • Jan 27 05:40
    RussellHaley synchronize #1138
  • Jan 27 04:31
    gpanders opened #1140
  • Jan 26 15:17
    edrx commented #1132
  • Jan 26 13:54
    daurnimator commented #1132
  • Jan 26 01:55
    Travis luarocks/luarocks (master) passed (2442)
  • Jan 26 01:04

    hishamhm on drop-luasec-in-tests

    (compare)

  • Jan 26 01:04

    hishamhm on master

    build: do not download sources … speed up external dependency ch… appveyor: bump Python to 3.7 and 2 more (compare)

  • Jan 26 01:04
    hishamhm closed #1139
  • Jan 25 00:28
  • Jan 24 23:38
    Travis luarocks/luarocks (drop-luasec-in-tests) passed (2440)
  • Jan 24 22:40
    hishamhm opened #1139
  • Jan 24 22:39

    hishamhm on drop-luasec-in-tests

    appveyor: bump Python to 3.7 Windows: force .lib for LUALIB tests: drop LuaSec dependency o… (compare)

  • Jan 24 19:37
    Travis nix-community/luarocks-nix (nix_rebased) failed (1)
  • Jan 24 13:25
    hishamhm commented #1136
  • Jan 24 09:41
    aashimgarg commented #1136
  • Jan 24 07:58
    Travis luarocks/luarocks (bump-luasec) passed (2438)
JumBê
@JumBe08
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*
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?
_kacper
@dracconi
also, i am on windows 10 64bit
luarocks 3.1.3-win32
_kacper
@dracconi
ok so when im in C: it shows warning and access denied but in D: it works and in C: i installed a rock so welp
Hisham Muhammad
@hishamhm
@dracconi running with --verbose might help us figure out what's going on wrong. There might be a bug with dealing with different drive letters, since LuaRocks is mostly tested on Unix (where there are no drive letters) and the Windows CI runs on Appveyor where everything runs off a single drive
@dracconi please run the failing command with --verbose and paste the full output into gist.github.com then send us a link
the full output of running luarocks config may also help
(actually, you may want to open an issue for that in github.com/luarocks/luarocks/issues and just paste there! )
Patrick Carey
@paddycarey
Is there a way to create a .src.rock file without reaching out to the internet for sources? I have a rockspec and the sources available locally and just want to create a rock without first having to push to git.
I know I can luarocks make to create a binary rock locally, but I'm curious about the same for source rocks
Hisham Muhammad
@hishamhm
@paddycarey unfortunately not , currently. I'm sure it's doable, but it's slightly tricky to implement as a general feature: how to ensure you're packing just the right stuff and not your entire current working directory -- object and temp files and all -- and do it in a way that is build-type agnostic (i.e. can't assume builtin and get the list of files from build.modules) and SCM-agnostic (can't assume git and use it to get the list of files).
I wouldn't mind accepting a patch for that feature which assumes builtin and/or git and fails gracefully with a nice error message it case it isn't using one of them.