luarocks / luarocks-site

LuaRocks website and module host
http://luarocks.org
175 stars 36 forks source link

Add support for JSON in manifest API #75

Closed jirutka closed 8 years ago

jirutka commented 8 years ago

This partially solves #43.

jirutka commented 8 years ago

@leafo Could you please look at this?

leafo commented 8 years ago

sorry about the delay, it's merged now: https://luarocks.org/manifest-5.1.json

jirutka commented 8 years ago

Great, thanks!

scherenhaenden commented 6 years ago

About this feature. I'm trying to build a Little program that look for dependencies in different packages systems like NPM, Node.js, Pip and so on. I'm running into CORS on this manifest... is there any documentation about it? I've been looking for any kind of documentation but i find none... this is like my last resort...

leafo commented 6 years ago

@scherenhaenden there is no cors on the json endpoint right now, you would have to use a server side request to access it

scherenhaenden commented 6 years ago

yep thanks... I Just decide to turn my app into a Electron app. The problem is not Just Lua... and also that Lua does not have a queryble endpoint... i think im gonna cache the manifest and do queries to that cache.

Thanks for the fast answer, mate!