What do you do if you find a bug in a module from CPAN?
(Supposing it's not your own.)
Personally, I think one should take the following steps:
This is really where even most experienced people seem to stop. Unfortunately, that is often not enough. Not all module authors use RT. Some deliberately ignore it, some don't like it, some don't know or understand it. Some have disappeared altogether. If one filed a bug against an actively-maintained module and there was evidence that the author used RT, this would be enough. Otherwise:
Now, you might say that you don't have the time to do this. Nobody really does. But if you had the time to write a coherent bug report on RT, it would be a waste of your previous effort not to make sure the module actually gets fixed.
Getting in touch with authors can be tedious and time consuming, but most are willing but busy and gladly accept help. If you have a fix, consider donating a couple more minutes to apply it and roll a new distribution.
CPAN is Perl's greatest strength and the abundance and quality of software on CPAN is our best selling point. Let's keep it that way.
Thanks for reading!
Steffen
Update: Now mentioning that it's a good idea to check for the author's preferences concerning bug reports.
I recently took over maintenance of Class::Factory from Chris Winters. I use the module quite a bit, but I got an email from another user of it asking for a feature. What he wanted looked fine, so I handed him a commit bit to the svn repository. Works for me
<sarcasm>Oh, but it's written in Perl, so let's all pretend it's wonderful.</sarcasm>
After that experience, I decided to just email the authors directly, or stick a post on comp.lang.perl.modules and hope for the best.
Re:RT is a barrier to entry
tsee on 2006-12-17T11:41:30
RT isn't perfect. But it has a few things going for it:
- It's well-integrated into the other services around CPAN and PAUSE: You get a bug (RT ticket) count on search.cpan.org, PAUSE ownership/maintainership status propagates to RT, etc. That's not easy to do and it can help tremendously.
- It's free. That is, in terms of Software.
- It's also a free service in that it's run by volunteers (i.e. Best Practical) on their server with their bandwidth.
About the user interface: You can report bugs via automatically set up mail interfaces. IIRC bug-distname at rt.cpan.org. That seems like a good interface for users to me. Developers will have to use the web interface which, admittedly, has a few annoying niggles.
Re:RT is a barrier to entry
Aristotle on 2006-12-21T09:15:00
I agree. I do use RT, but it’s very annoying. Comes with the territory: it’s really a ticketing system, not a dedicated bug tracking system, so there’s a lot of interface clutter.
The only thing I’ve used that’s worse is Bugzilla. Also written in Perl…
Re:RT? Maybe.
tsee on 2006-12-17T11:34:44
You're right. If the author explicitly says that bugs should be reported in some different manner, we should by all means respect that! (I'll update the journal entry to reflect that.)