Hi--

On Apr 7, 2:08 am, "Saurabh Nanda" <[EMAIL PROTECTED]> wrote:
> >  2) Rename the package from 'libxml-ruby' to 'libxml'.
>
> Why would you want to do that? Isn't having the -ruby suffix a good thing?

I can understand why one would think so. But it's not necessary
because it is a "Ruby World" library. Ruby libs are installed into
ruby-specific location(s), so no naming issues arise. Package
maintainers for various distributions will add a "ruby" as needed
according to their own practices (eg. Debian). We do not need to do so
ourselves. Simple case in point, just consider all the other Ruby
packages out there, they do not suffix their package names with "-
ruby" either.

On the "why we should" front... For Ruby projects, the general/good
practice is to name the package, the site location and the toplevel
namespace all the same thing. I believe in this practice, and that it
should only be deviated from under special circumstance.

Currently all three differ for us:

  libxml-ruby.gem
  require 'libxml'
  XML::

The "proper" names would be:

  libxml.gem
  require 'libxml'
  LibXML::

And I would like to see us follow this practice.

T.
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to