On Sat, Sep 11, 2010 at 2:09 PM, Alexander Gladysh <[email protected]> wrote: >> I made a small Lua-only binary which depends on a couple of rocks: > >> http://github.com/agladysh/json2lua > >> Now I'm thinking to write a rockspec for it — I think that LR has >> support for this. > > Another question: > > The tool itself is ready to be tagged for the next release (v0.2), but > it depends on the scm-only component, my lua-nucleo library > (http://github.com/lua-nucleo/lua-nucleo). > > The functionality that I use here from lua-nucleo is stable, but I'm > not ready to tag release in lua-nucleo itself (no documentation, not > enough tests etc.). > > So, the question is: should I offer "fixed-version" rockspec for > json2lua, or should I provide a scm-only rockspec?
I'd rather not have non-scm rockspecs in the repo depending on scm rockspecs, so when you're making a "numbered" version of something, it's better just to make numbered versions of the dependencies as well (like you did), so that your users get predictable/reproducible behavior when installing it. Cheers, -- Hisham _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
