[Sputnik-list] Versium, which repo?
Yuri Takhteyev
yuri at sims.berkeley.edu
Sat Dec 29 14:30:29 GMT+3 2007
First, thanks for doing this. Second, I've been a bit inconsistent
with Versium up to now, which I hope to fix later. Basically, versium
is _supposed_ to have its own svn repository
(http://code.google.com/p/versium/source), and a version of it indeed
has been check in there, but it's not the latest version, since there
is a different one checked into the Sputnik repository
(http://code.google.com/p/sputnik-wiki/source). The reason for this
is that I want Versium to eventually be an independent project, but
this months I had to fix a lot of small issues in it as I've been
porting Sputnik to it.
But there is also a bigger question: I've reorganized the new version
of Sputnik (the one that actually uses versium, unlike 0.3-beta-2
which does not) to take maxium advantage of LuaRocks. The
installation instructions for this version (which is a bit
experimental) are at:
http://sputnik.freewisdom.org/en/Sputnik_on_Rocks
(They may seem a bit more complicated than they used to be, but it's
mostly because they are more detailed and try to make clearer what to
do on other platforms.)
As I see it, there are huge advantages to installing Sputnik over
LuaRocks. First, it would make it much much easier to install
plugins. With 0.3-beta-2 (which, btw, will now be called "7.12.11" to
fit into the new time-based naming scheme), you have to either install
any plugins that are not included by default need to be installed by
hand later. With the new version, once you have sputnik working, you
would be able to install a plugin with luarocks.
~/sputnik/bin/luarocks install sputnik-tickets
And you can then just go ahead and start creating nodes that function
as bug tracking tickets (with custom fields, etc).
Or, to add an option for SVN versium backend you should be able to just type:
~/sputnik/bin/luarocks install versium-svn-storage
Similarly, upgrading should also be much easier:
~/sputnik/bin/luarocks install sputnik 8.01.02
should install the newer sputnik _and_ upgrade whatever modules that
need to be upgraded. At least in theory, downgrading back to the
earlier version should be just as easy:
~/sputnik/bin/luarocks remove sputnik 8.01.02
Given all that, I think the really important question from the point
of view of Debian packaging would be how to handle LuaRocks based
applications in Debian. Perhaps the thing to do would be to start
this discussion on the luarocks list.
BTW, I am now looking into a pure-rocks installation of Sputnik, i.e.,
one that would not require the standard Kepler installer at all. (See
the thread between me and Fabio on the Kepler list.) Basically, the
installation instructions will be like those at
http://sputnik.freewisdom.org/en/Sputnik_on_Rocks except that you'll
start directly with Step 2. What would then happen is that sputnik
rock will reference Fabio's wsapi rock, and will then use WSAPI
directly, bypassing CGILua altogether.
- yuri
On Dec 29, 2007 8:02 AM, Enrico Tassi <gareuselesinge at libero.it> wrote:
> Hi,
> I'm toying with sputnik and I would like to package it for debian as
> soon as it is in shape... I've chaked out the sources from sputnik
> repository, and here I find a copy of versium, different from the one
> I've downloaded following the instructions reported here:
>
> http://sputnik.freewisdom.org/en/Versium
>
> The copy included in sputnik svn seems to be the right one, but it seems
> to have no svn backend, while the other one seems to be wrong but with
> an svn backend.
>
> I'm a bit confused..
>
> Cheers
> --
> Enrico Tassi
>
> _______________________________________________
> Sputnik-list mailing list
> Sputnik-list at lists.luaforge.net
> http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list
>
--
Yuri Takhteyev
Ph.D. Candidate, UC Berkeley School of Information
http://takhteyev.org/, http://www.freewisdom.org/
More information about the Sputnik-list
mailing list