[Bps-public-commit] cpan2rt branch, deploy, updated. deployed-5-g2283965
Thomas Sibley
trs at bestpractical.com
Mon Apr 1 19:45:02 EDT 2013
The branch, deploy has been updated
via 2283965387c995f116870433c64f0903bbcfb24a (commit)
from fa4fdb2f19842a497a22d7d91cb853be985521e9 (commit)
Summary of changes:
lib/CPAN2RT.pm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 2283965387c995f116870433c64f0903bbcfb24a
Author: Thomas Sibley <trs at bestpractical.com>
Date: Mon Apr 1 16:44:26 2013 -0700
Include a little more detail in all the "Two different users" warnings
It's useful to know what the warning is talking about when running under
--debug.
diff --git a/lib/CPAN2RT.pm b/lib/CPAN2RT.pm
index 67536c8..624be5c 100644
--- a/lib/CPAN2RT.pm
+++ b/lib/CPAN2RT.pm
@@ -593,7 +593,10 @@ sub load_or_create_user {
elsif ( $bycpanid->id && $byemail->id ) {
# both exist, but different
# XXX: merge them
- debug { "WARNING: Two different users\n" };
+ debug {
+ sprintf "WARNING: Two RT users for the same PAUSE author: %s (%d) and %s (%d)\n",
+ $bycpanid->Name, $bycpanid->id, $byemail->EmailAddress, $byemail->id
+ };
return $bycpanid;
}
elsif ( $byemail->id ) {
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list