lua-users home
lua-l archive

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


--- In lua-l@yahoogroups.com, Martin Spernau <martin@t...> wrote:
> 
> 
> Peter Hill wrote:
> > Martin Spernau:
> > 
> >>And a note to anybody interested in doing CGI (or HTTP GET/POST)
related
> >>stuff, there'S some nice Lua Scripts in that package for decoding
GET/POST
> >>data. Very usefull!
> >>
> >>(Maybe one could extract them and put them in the Lua standard Library
> >>pages on the Wiki?)
> > 
> > 
> > Now THAT (extraction to the Wiki) seems like a worthy goal for
most Lua
> > systems & applications that are not propriety. Making a source
library of
> > various useful modules that people have created as a part of their
projects.
> 
> Well basically what is holding me (and maybe others) back is the fact 
> that it's none-of-my-code. It's a question of someone external taking 
> that code and posting it on the wiki.
> But I think maybe thats just what should be done. As the authors of the 
> code often don't have a need for such a central repisitory of sample 
> code (the wrote it after all).
> 
> So here is my general question to list members and the authors of said 
> CGILua in particular:
> is it ok to take elements that can be reused from packages and post
them 
> to the Wiki as sample code? (Full author and source credits would be 
> supplied if possible or wanted)? Same goes for code posted to this List 
> of course.
> 
> -Martin

This is interesting, especially when considered with the recent
LuaCheia proposal.  Since LuaCheia is suppost to be a full system and
host many libraries/modules, and there could be a package which would
automatically put Lua modules up on the wiki (and give us incentive to
document the source and interfaces), why not also enable LuaCheia to
retrieve modules from the wiki?  This would make the wiki something of
a 'live' repository for Lua code (as product, and as works in
progress).  It would be necessary to require a lowest common
denominator license (BSD ?) for code available this way, and to have a
reasonably fit versioning system (doesn't the wiki have versioning of
some sort?).  Obviously it wouldn't be a replacement for CVS or
whatever, but I gather the Perl language CPAN repository is not
entirely dissimalar in function and as a community resource.  Perhaps
that model should be examined.  Thoughts?

-Lucas