On 4 July 2013 18:20, Ignacio Burgueño <[email protected]> wrote: > So it should make sure that if rock A depends on version 1.0 of rock B, one > cannot replace B with version 2.0, right ? Stuff like that is that what we > should test ?
No, the implementation so far is that it after installing version 2.0, it essentially performs `luarocks remove` on any other versions installed, if no other installed rocks depend specifically on those versions, ie, if version 2.0 satisfies dependencies for all other rocks in the system -- if it doesn't (eg, if some other rock depends on "foo < 2.0"), it keeps the other version around. > Also, there is a stray print here: > https://github.com/keplerproject/luarocks/blob/b93f78960c9bc24a49bd95022d11e951972f16ff/src/luarocks/pack.lua#L114 Oops! :) -- Hisham http://hisham.hm/ ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
