On Fri, Jan 7, 2011 at 10:53 AM, Alexander Gladysh <[email protected]> wrote: > As I understand, most rockspecs do not have maintainers, merely contributors.
Yes, one of the proposed changes for a new rockspec format is that there be both 'author' and 'maintainer' fields, so that important distinction can be made. > I'd say, if you fix a rockspec, send it here. If you know who the > rockspec author is — CC him. I'd say that's a good pragmatic compromise. Tracking down all the cats and trying to manage them is going to be time-consuming. As for rockspec quality, the initial drive was to get as many rocks into the repository as possible, so Hisham did not want to be picky. Now it's time for some consolidation. I think a few semi-automatic tools will make the situation better (and Cosmin is keen on this as well). For instance, evolving something out of my rockspecifier script and making it pretty/modern would be helpful - such a tool does the grunt work and will also complain gently if fields are not filled in. I think the minimum is that every rockspec should point to a valid webpage, even if it's a wiki page. And including tests should be strongly encouraged, although then we need a mechanism to run them. luarocks show package --rock-dir is a useful step, at least you can navigate to the tests directory, but running basic tests on a post-build hook would be nice. Such functionality doesn't even have to be part of the core, and could _itself_ be a rock. This approach is a nice compromise between Hisham wanting to keep LR straightforward and the increasingly specialized demands of his users. A common situation is that the original tarball contains tests, etc but they are not copied over and the poor user has to download it _again_ and grab the tests. Some tarballs (like lhf's useful little extensions) make it hard for LR because everything is in the one directory. He indicated to me that perhaps then LR should get a little more clever ;) One suggestion is to allow a copy_files option. steve d. _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
