hishamhm on fix-1418
avoid crash if variables.LUA* a… (compare)
hishamhm on master
fix error message when Lua libr… binary build: help autodetectio… (compare)
main function has more than 120 local variables
--lua-version 5.x, or
luarocks --local config lua_version 5.xto set the default permanently
luaL_Regin Lua 5.1 when it was added to the manual). It must be based on the 5.0 version from LHF's site. Could it be fixed or at least marked as Lua 5.0 only?
luarocks nixand I would like to "find" a file (a .rockspec) in a folder. I can't find any luarocks function for that. Should I just os.execute and parse the result ?
Step 8/14 : RUN luarocks install busted ---> Running in 598794b4c914 Warning: The directory '/root/.cache/luarocks' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing /usr/local/bin/luarocks with sudo, you may want sudo's -H flag. Warning: Failed searching manifest: Failed fetching manifest for https://luarocks.org - Failed downloading https://luarocks.org/manifest - /tmp/luarocks_local_cache-IAhOjH/https___luarocks.org/manifest Warning: Failed searching manifest: Failed fetching manifest for https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/ - Failed downloading https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest - /tmp/luarocks_local_cache-IAhOjH/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master_/manifest Installing http://luafr.org/moonrocks/busted-2.0.0-1.rockspec Error: Could not satisfy dependency lua_cliargs == 3.0: No results matching query were found. Missing dependencies for busted 2.0.0-1: lua_cliargs == 3.0 (not installed) luasystem >= 0.2.0 (not installed) dkjson >= 2.1.0 (not installed) say >= 1.3 (not installed) luassert >= 1.8.0 (not installed) lua-term >= 0.1 (not installed) mediator_lua >= 1.1.1 (not installed) busted 2.0.0-1 depends on lua_cliargs == 3.0 (not installed)
sudo rm -rf ~/.luarocksbut doesn't solve the issue
...used for the url something standard ? I dont see it listed at https://github.com/luarocks/luarocks/wiki/Rockspec-format
lua_modules? I'm running lua 5.3 and luarocks 3.7.0. thanks
that's the one i got on a fresh init
#!/bin/sh LUAROCKS_SYSCONFDIR='/usr/local/etc/luarocks' exec '/usr/bin/lua5.3' -e 'package.path="/home/mrtn/.luarocks/share/lua/5.3/?.lua;/home/mrtn/.luarocks/share/lua/5.3/?/init.lua;/usr/local/share/lua/5.3/?.lua;/usr/local/share/lua/5.3/?/init.lua;"..package.path;package.cpath="/home/mrtn/.luarocks/lib/lua/5.3/?.so;/usr/local/lib/lua/5.3/?.so;"..package.cpath' $([ "$*" ] || echo -i) "$@"
luarocks upload(and maybe
luarocks new_versionto generate a new rockspec?) and storing your API key as an environment secret