Salut François, On 18 Mar 2013, at 00:22, François Perrad <francois.per...@gadz.org> wrote:
> 2013/3/17 Gary V. Vaughan <g...@vaughan.pe>: >> Rockspec for lyaml version 1 attached. >> > > Ultimately, I think that it is not a good idea. Why not? libYAML is clearly unmaintained, and fly-patching it is an extra unnecessary maintenance burden IMHO. I think my approach to bringing it into luarocks is more maintainable and scalable. > Because, it is possible to create a rockspec which directly uses the > Andrew Danforth's tarball (yaml-0.2.tar.gz) with its original license > (i.e. MIT). Argh, the GPLv3+ licensing was a cut-n-paste error when splitting lymal out from Specl. Sorry about that. I've corrected that and posted a revised release 2 rockspec. > see attached, > - revision 1 which works only with Lua 5.1 and uses the latest LibYAML library > - revision 2 which embeds some patches for Lua 5.2 > (but currently, the patching step doesn't work, I miss something ...) I think versioning this way is not scalable (aside from patch generation and embedding pains): - What if you need to correct a mistake in the packaging? You would have to release a revision 3 for 5.1 and 4 for 5.2. - How does the luarocks user know which version to use in either case? - What about when Lua 5.3 comes out with some backward incompatible changes that require further patching? - What about fixing bugs in upstream libYAML? The maintenance burden increases exponentially as the fly-patch grows in size. I much prefer to have a single luarock with a monotonically increasing release number and adopting the useful parts of Andrew Danforth's codebase directly into the new project tree. None-the-less, we've chosen separate names for our luarocks, so there's no reason they cannot live side-by-side in the luarocks repo, and let evolution sort it out :) Cheers, -- Gary V. Vaughan (gary AT vaughan DOT pe) ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers