[Sputnik-list] versium/smart/

Yuri Takhteyev yuri at sims.berkeley.edu
Mon Jan 21 18:44:17 GMT+2 2008


Sorry, the SVN is in the midst of a re-organization.  It's border line
usable at this point - the code works, but installing from SVN would
take a bit of work.

Basically, I am reorganizing the source around LuaRocks.  This doesn't
meant that LuaRocks will be required, just that installing without
Rocks will require an extra step.

In the new system, all the code is divided into directories by which
rock it will be distributed with.  E.g., there is "rocks/sputnik"
(code for the "sputnik" rock), "rocks/versium" (the versium rock),
"rocks/cosmo" (the cosmo rock), etc.

Each rock directory has a "lua" subdirectory that has all the code.
In order to install all the code without LuaRocks you would need to
merge all the "lua" directories.

Note that files from different rocks may end up in the same directory when you
install them manually. For instance:
rocks/sputnik/lua/sputnik/actions/wiki.lua and
rocks/sputnik-tickes/lua/sputnik/actions/tickets.lua should both be
copied to  $LUA/share/lua/5.1/sputnik/actions/wiki.lua

I will write a script to do the merging, but it's not there yet.

The main advantage of this is that there is no ambiguity as to what
belongs to which rock and it also means that rockless installation can
take advantage of the same dependency tree.  E.g., I can say that the
minimal sputnik installation would consist of "sputnik", "versium",
"versiumplus", "cosmo", and "colors."  If you want to use POD for
markup, you should also add "sputnik-pod".

As for "versium.smart", I moved it into a separate module now, called
"versiumplus" to keep the basic "versium" simple.  It's also going to
be its own rock ("versiumplus").

I rewrote cosmo over the weekend and will release it as a separate
module (with its own luaforge page) once I update the documentation.
I'll then to the same for "colors".  After that my plan is to get back
to versium and sputnik and release them as rocks that could be with
Fabio's new installer.

  - yuri

On Jan 21, 2008 11:16 AM, Enrico Tassi <gareuselesinge at libero.it> wrote:
> It seems this directory has been removed from the sputnik svn
> repository, but the tarball linked by the relative rockspec
> has a rocks/versium/smart.
>
> Is it ok? Is the current svn code usable?
>
> Cheers.
> --
> Enrico Tassi
>
> _______________________________________________
> Sputnik-list mailing list
> Sputnik-list at lists.luaforge.net
> http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list
>



-- 
http://sputnik.freewisdom.org/



More information about the Sputnik-list mailing list