Subject: | Mail Message text changes |
Andy Lester (PETDANCE) recently reported, on the CPAN Testers mailing list, that the mail sent to authors following a FAIL or UNKNOWN report was a bit misleading, particularly for new authors. As such I have rewritten the contents of the mails produced to be a bit less intimidating and more likely to produce a positive response. Patch attached.
CPANPLUS-0.048
Perl 5.6.1
Windows 2000 Pro
--- C:\wip\diffs\CPANPLUS-0.048\CPANPLUS\Internals/Report.pm Sun Oct 5 18:15:18 2003
+++ C:\wip\diffs\CPANPLUS-0.048\CPANPLUS\Internals/Report-barbie.pm Thu Apr 1 13:36:57 2004
@@ -125,14 +125,21 @@
and ($stage !~ /\btest\b/);
$text = << ".";
-This is an error report generated automatically by CPANPLUS,
-version $VERSION.
+Dear $author,
+
+This is a computer-generated error report created automatically by
+CPANPLUS, version $VERSION. Testers personal comments may appear at
+the end of this report.
+Thank you for uploading your works to CPAN. However, it appears there
+were some problems testing your distribution.
+
+TEST RESULTS:
+
Below is the error stack during '$stage':
$buffer
-Additional comments:
.
my %missing;
@@ -148,9 +155,9 @@
$text .= << ".";
-Hello, $author! Thanks for uploading your works to CPAN.
+MISSING PREREQUISITES:
-I noticed that the test suite seem to fail without these modules:
+It was noticed that the test suite seem to fail without these modules:
$modules
@@ -174,18 +181,24 @@
******************************** NOTE ********************************
The comments above are created mechanically, possibly without manual
-checking by the sender. Also, because many people perform automatic
-tests on CPAN, chances are that you will receive identical messages
-about the same problem.
+checking by the sender. As there are many people performing automatic
+tests on each upload to CPAN, it is likely that you will receive
+identical messages about the same problem.
If you believe that the message is mistaken, please reply to the first
-one with correction and/or additional information, and do not take
+one with correction and/or additional informations, and do not take
it personally. We appreciate your patience. :)
**********************************************************************
.
}
+ $text .= << ".";
+
+Additional comments:
+
+.
+
push @inform, "$module->{author}\@cpan.org"
if (!$already_sent or $nb_send < $max_send);
}
@@ -198,21 +211,27 @@
my $stage = 'make test';
$text = << ".";
-This is an error report generated automatically by CPANPLUS,
-version $VERSION.
+Dear $author,
+
+This is a computer-generated error report created automatically by
+CPANPLUS, version $VERSION. Testers personal comments may appear at
+the end of this report.
+Thank you for uploading your works to CPAN. However, it appears there
+were some problems testing your distribution.
+
+TEST RESULTS:
+
Below is the error stack during '$stage':
$buffer
-Additional comments:
+RECOMMENDATIONS:
-Hello, $author! Thanks for uploading your works to CPAN.
+It would be very helpful if you could include even a simple test
+script in the next release, so people can verify which platforms
+can successfully install them, as well as avoid regression bugs?
-Would it be too much to ask for a simple test script in the next
-release, so people can verify which platforms can successfully
-install them, as well as avoid regression bugs?
-
A simple 't/use.t' that says:
#!/usr/bin/env perl -w
@@ -224,22 +243,26 @@
exit;
__END__
-would be appreciated. If you are interested in making a more robust
-test suite, please see the Test::Simple, Test::More and Test::Tutorial
-manpages at <http://search.cpan.org/dist/Test-Simple/>.
+would be very much appreciated. If you would like to find out more
+about creating a more robust test suite, please see the documentation
+that accompanies Test::Simple, Test::More and Test::Tutorial at
+<http://search.cpan.org/dist/Test-Simple/>.
Thanks! :-)
******************************** NOTE ********************************
The comments above are created mechanically, possibly without manual
-checking by the sender. Also, because many people performs automatic
-tests on CPAN, chances are that you will receive identical messages
-about the same problem.
+checking by the sender. As there are many people performing automatic
+tests on each upload to CPAN, it is likely that you will receive
+identical messages about the same problem.
If you believe that the message is mistaken, please reply to the first
one with correction and/or additional informations, and do not take
it personally. We appreciate your patience. :)
**********************************************************************
+
+
+Additional comments:
.