As some of you have already noticed, LuaRocks 2 broke the current Kepler
installer. André and I decided that instead of making a new Kepler installer
it would be a better idea to make an installer for WSAPI itself, to bury the
idea of "Kepler" as a web framework and leave Kepler as just the name for
the project that built WSAPI and other modules. So since last week I have
been working on doing new releases of modules that WSAPI depends on, as well
as WSAPI itself. First, the modules that had to have new versions, with the
changelong:

LuaFileSystem 1.5.0 <http://keplerproject.github.com/luafilesystem>:

   - Added explicit next and close methods to second return value of lfs.dir
   (the directory object), for explicit iteration or explicit closing.
   - Added directory locking via lfs.lock_dir function (see the manual).

Rings 1.2.3 <http://keplerproject.github.com/rings>:

   - Fixing an old reference to "arg" instead of {...}

Xavante 2.1.0 <http://keplerproject.github.com/xavante>:

   - Adds "reload" option to xavante.cgiluahandler, to force new state for
   every request
   - Fixes a bug in File Handler that was allowing the use of ".." to access
   forbiden directories.

Now, the changelog for WSAPI 1.2 <http://keplerproject.github.com/wsapi>:

   - Adds time-based collection of Lua states to FCGI and Xavante launchers
   - Adds "wsapi" laucher script, to start a Xavante WSAPI server
   - Fixed "undefined media type" error
   - Added is_empty utility function to check if a string is nil or ''
   - Fixed bug with empty bodies in wsapi.xavante, and added full http
   status codes to responses
   - Changing order of evaluating PATH_TRANSLATED and SCRIPT_FILENAME, to
   make non-wrapped launchers work in OSX Apache
   - Reload support for load_isolated_launcher

I have also created a new rock for WSAPI, "wsapi-xavante". The wsapi.xavante
connector now belongs to this rock, as well as the new "wsapi" script that
runs a Xavante instance configured for WSAPI applications (see "wsapi
--help" for configuration options). The "wsapi" rock has the base WSAPI
modules, as well as the CGI launcher, "wsapi.cgi", and the "wsapi-fcgi" rock
has the "wsapi.fastcgi" module and the "wsapi.fcgi" launcher.

There are also two new installers, wsapi-install-1.2, available standalone
here<http://cloud.github.com/downloads/keplerproject/wsapi/wsapi-install-1.2>and
as an all-in-one tarball (for offline installation)
here<http://cloud.github.com/downloads/keplerproject/wsapi/wsapi-aio-install-1.2.tar.gz>.
This installer works like the old kepler-install, installing Lua 5.1.4,
LuaRocks 1.2.1, and the "wsapi-xavante" rock and its dependencies.

As you can see, I also put the updated documentation pages at Github. I am
preparing a release of Orbit that includes the Orbit Pages launcher that
used to be included in the Kepler rock, as well as the Orbit pages examples
that the Kepler installer used to install. The same should happen with the
CGILua launchers that were included as part of Kepler.

--
Fabio Mascarenhas
http://mascarenhas.github.com
http://www.lua.inf.puc-rio.br
_______________________________________________
Kepler-Project mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to