Hi, Hisham, ppl,
Revitalizing this thread.
What I see in current luarocks is quite contradictory:
1. luarocks built with configure&make creates just one file
`config-x.x.lua` according to the current lua interpreter (e.g.
`config-5.1.lua`)
2. But `luarocks-admin make_manifest` produces 4 manifest files: manifest,
manifest-5.1, manifest-5.2, manifest-5.3
3. The rocks metainfo is not multi-lua. Particularly the `rock_manifest`
file doesn't consider versions of files for different Luas.
4. https://github.com/luarocks/luarocks/issues/403 emerged that LR now
supports per-Lua-version `rocks` folder.
So it appears that LR is still single-Lua with questionable
multi-manifests. I didn't yet check how running `luarocks-admin
make_manifest` with different Luas will handle manifest-5.{1,2,3} ...
Q: is it still theoretically possible to have one rocks tree for multi-Lua
and rocks installed into different `.../lua/$VERSION/` folders?
Best regards, Ildar.
пн, 8 апр. 2013 г. в 13:22, Gary V. Vaughan <g...@vaughan.pe>:
> On 8 Apr 2013, at 01:03, "Gary V. Vaughan" <g...@vaughan.pe> wrote:
> > On 7 Apr 2013, at 22:15, steve donovan <steve.j.dono...@gmail.com>
> wrote:
> >> On Sun, Apr 7, 2013 at 7:33 AM, Gary V. Vaughan <g...@vaughan.pe>
> wrote:
> >> And yet I have made perfectly functional triple-interpreter installs of
> >> luarocks on Ubuntu and Mountain Lion, each managing three independent
> >> trees (Lua 5.1.x, Lua 5.2.x and luajit-2.0.x) all with just a single
> >> installation of luarocks-2.0.12.
> >>
> >> Now that makes more sense to me, less engineering, more configuration.
> >>
> >> Gary, could you put your config up on the wiki or some such?
> >
> > I'll write up the recipe on the wiki in a day or two...
>
> Added to the wiki at:
>
> http://lua-users.org/wiki/LuaRocksConfig
>
> Cheers,
> --
> Gary V. Vaughan (gary AT vaughan DOT pe)
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Luarocks-developers mailing list
> Luarocks-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/luarocks-developers
>
--
Ildar Mulyukov,
child of God
email: ildar.mulyu...@gmail.com
GoogleTalk: ildar.mulyu...@gmail.com
blog: http://johan-notes.blogspot.com/
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers