Closed hishamhm closed 8 years ago
Fix deployed, looks like there's a rockspec using dependency information that can't be parsed.
oh, if you figure out which one it is it will help me fix things to make stricter checks in the tool, so that luarocks upload
catches this.
BTW, I was just thinking earlier today: do you have any stats on what % of rock uploads are done via luarocks upload
versus the web interface?
From my initial look at the code, it seems dependency parse errors should be caught:
upload.run
→ fetch.load_rockspec
→ fetch.load_local_rockspec
→ deps.parse_dep
if rockspec.dependencies then
for i = 1, #rockspec.dependencies do
local parsed, err = deps.parse_dep(rockspec.dependencies[i])
if not parsed then
return nil, "Parse error processing dependency '"..rockspec.dependencies[i].."': "..tostring(err)
end
rockspec.dependencies[i] = parsed
end
So I'm guessing this one was uploaded using the web interface? (or deps.parse_dep
is not being strict enough? (or your manifest generator is being too strict?))
These URLs are failing with Error 500:
They are returning the following error message:
The LuaRocks command-line tool is not failing because this URL keeps working:
But the failure above is causing an extra delay. Here's the output of the relevant parts of
luarocks search lapis
withfs_use_modules=false
set it.luarocks/config.lua
: