lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, Oct 7, 2009 at 3:28 PM, Petite Abeille wrote:
> On Wed, Oct 7, 2009 at 2:34 PM, David Manura wrote:
>> However, I do continue to advocate creating some
>> type of global catalog site for Lua [1] along the lines
>> of Perl's search.cpan.org and cpantesters.org but
>> indexing LuaRocks repositories and possibly other
>> Lua code sources.
> I was more wondering why David is not doing it giving
> all his advocacy :)

Here's a rough draft (crawler + front-end), after a few hours of Perl coding:

  http://math2.org/luasearch-2/
  "LuaSearch version 2"

The basic idea is that it would index these Lua source repositories:

  - http://luadist.org/dists/ (LuaDist/CMake)
  - http://luarocks.luaforge.net/rocks/ (LuaRocks/rock)
  - svn://svn.debian.org/pkg-lua/packages/ (debian/dpkg)
  - possibly others, including plain tarballs and modules on the wiki

Preferably it would also render the docs nicely and interlink them,
like the Perl/Python/Ruby/Java docs, and report on automated test runs
and other interesting things.  The www.ohloh.net site mentioned by
Alexander offers some ideas.  However, some of these things would be
more easily be achieved if there were more standardization in package
structure (e.g. documentation conventions, automated test suites, and
a standard way of mapping module names to file names).  The packaging
efforts above are slowly pushing in that direction, but it will take
time.

The above is just a proof of concept.  There's many things that should
be done to make this more production grade, such as add a search
engine as was done on LuaSearch version 1.  I'm not necessarily
offering to maintain the above since I'm occupied on some other Lua
projects, so I'm hoping others would take the lead.