On Mon, Sep 13, 2010 at 11:20 PM, David Manura <[email protected]> wrote:
> A workaround to all this is for the user to not use colon-style paths
> with LuaRocks in Cygwin.

For now (2.0.3) I think this will have to do, since it's not a
regression wrt 2.0.2.

We can try to get a better solution for a future release --
unfortunately, I don't have the resources to test Cygwin properly, so
patches are most welcome.

It would be best to find a solution that does not add too many
conditionals in the code (perhaps adding a luarocks.fs.cygwin that
does the proper conversions in functions such as absolute_name or even
move dir.path to the fs scheme, and then use those in all relevant
places).

I did get LuaRocks a little dirty with a few cfg.is_platform outside
the luarocks.fs subtree, but that's one thing I want to clean up in
the next release; it would be best to concentrate all
platform-specific code under luarocks.fs (except for
luarocks.build.builtin, which is platform-dependent by design).

-- Hisham

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to