Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 4500
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.047
Fixed in: (no value)



Subject: wish: quicker, easier integration with Test::Reporter
Hello, I'm a CPANPLUS fan. Thanks for your work on it! I really like the integration and have a couple of suggestions to improve it: - The behavior here combined with "Follow Dependencies" seems awkward. The reason I like "Follow" is because modules install quickly and can be un-attended. When reporting tests, this is defeated by stopping to ask me if I want to report every test. I would prefer instead that tests reports are submitted automatically, or that I am given a summary report at the end and quickly go through a lists of tests to report (or not) and submit as desired. - After pressing "Y" to submit a test, on my system there is a pause of noticeable length when submitting the mail (1 minute?). It seesm like their ought to be a way to make this more instant (if it isn't just something funky with my machine!). Perhaps the test could be sent in the background, or they could all be sent at the end where I don't have to wait for them. Thanks! Mark
RT-Send-CC: bug-CPANPLUS [...] rt.cpan.org
Show quoted text
> - After pressing "Y" to submit a test, on my system there is a pause > of noticeable length when submitting the mail (1 minute?). It seesm > like their ought to be a way to make this more instant (if it isn't > just something funky with my machine!). Perhaps the test could be > sent in the background, or they could all be sent at the end where > I don't have to wait for them.
Do you have Mail::Send installed? If not, T::R is forced to use Net::SMTP, and thus block, while it attempts to immediately connect and deliver the message to the remote mailserver. Assuming you have a local mail transfer agent running, Mail::Send will deliver the message to the local MTA which will perform background delivery. Due to Mail:: Mailer's default search order, if you're not running sendmail, you may want to take a peek at T::R's mail_send_args() method, and the documentation for Mail::Send/Mail:: Mailer, in order to get M::M to attempt delivery to an alternate MTA (qmail/postfix/ exim/etc) first. Fox.