r59553 - in /branches/upstream/libcpan-uploader-perl/current: Changes META.json META.yml Makefile.PL README bin/cpan-upload lib/CPAN/Uploader.pm t/release-pod-syntax.t

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Fri Jun 18 23:44:38 UTC 2010


Author: gregoa
Date: Fri Jun 18 23:44:31 2010
New Revision: 59553

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=59553
Log:
[svn-upgrade] new version libcpan-uploader-perl (0.101670)

Modified:
    branches/upstream/libcpan-uploader-perl/current/Changes
    branches/upstream/libcpan-uploader-perl/current/META.json
    branches/upstream/libcpan-uploader-perl/current/META.yml
    branches/upstream/libcpan-uploader-perl/current/Makefile.PL
    branches/upstream/libcpan-uploader-perl/current/README
    branches/upstream/libcpan-uploader-perl/current/bin/cpan-upload
    branches/upstream/libcpan-uploader-perl/current/lib/CPAN/Uploader.pm
    branches/upstream/libcpan-uploader-perl/current/t/release-pod-syntax.t

Modified: branches/upstream/libcpan-uploader-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-uploader-perl/current/Changes?rev=59553&op=diff
==============================================================================
--- branches/upstream/libcpan-uploader-perl/current/Changes (original)
+++ branches/upstream/libcpan-uploader-perl/current/Changes Fri Jun 18 23:44:31 2010
@@ -1,4 +1,7 @@
 Revision history for CPAN-Uploader
+
+0.101670  2010-06-16 07:44:32 America/New_York
+          only print HTTP headers, not body
 
 0.101550  2010-06-04 00:00:50 America/New_York
           minor tweak to the user-agent string sent

Modified: branches/upstream/libcpan-uploader-perl/current/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-uploader-perl/current/META.json?rev=59553&op=diff
==============================================================================
--- branches/upstream/libcpan-uploader-perl/current/META.json (original)
+++ branches/upstream/libcpan-uploader-perl/current/META.json Fri Jun 18 23:44:31 2010
@@ -4,11 +4,13 @@
       "Ricardo SIGNES <rjbs at cpan.org>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 4.101540",
-   "license" : "perl_5",
+   "generated_by" : "Dist::Zilla version 4.101640, CPAN::Meta::Converter version 2.101610",
+   "license" : [
+      "perl_5"
+   ],
    "meta-spec" : {
-      "url" : "http://github.com/dagolden/cpan-meta/",
-      "version" : 2
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+      "version" : "2"
    },
    "name" : "CPAN-Uploader",
    "prereqs" : {
@@ -19,136 +21,137 @@
       },
       "runtime" : {
          "requires" : {
-            "Carp" : "0",
-            "Data::Dumper" : "0",
-            "File::Basename" : "0",
-            "File::Spec" : "0",
+            "Carp" : 0,
+            "Data::Dumper" : 0,
+            "File::Basename" : 0,
+            "File::Spec" : 0,
             "Getopt::Long::Descriptive" : "0.084",
-            "HTTP::Request::Common" : "0",
-            "HTTP::Status" : "0",
-            "LWP::UserAgent" : "0",
-            "Term::ReadKey" : "0"
+            "HTTP::Request::Common" : 0,
+            "HTTP::Status" : 0,
+            "LWP::UserAgent" : 0,
+            "Term::ReadKey" : 0
          }
       },
       "test" : {
          "requires" : {
-            "Test::More" : "0"
+            "Test::More" : 0
          }
       }
    },
    "release_status" : "stable",
    "resources" : {
       "repository" : {
+         "type" : "git",
          "url" : "git://git.codesimply.com/CPAN-Uploader.git"
       }
    },
-   "version" : "0.101550",
+   "version" : "0.101670",
    "x_Dist_Zilla" : {
       "plugins" : [
          {
             "class" : "Dist::Zilla::Plugin::GatherDir",
             "name" : "@RJBS/@Basic/GatherDir",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::PruneCruft",
             "name" : "@RJBS/@Basic/PruneCruft",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::ManifestSkip",
             "name" : "@RJBS/@Basic/ManifestSkip",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaYAML",
             "name" : "@RJBS/@Basic/MetaYAML",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::License",
             "name" : "@RJBS/@Basic/License",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::Readme",
             "name" : "@RJBS/@Basic/Readme",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::ExtraTests",
             "name" : "@RJBS/@Basic/ExtraTests",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::ExecDir",
             "name" : "@RJBS/@Basic/ExecDir",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::ShareDir",
             "name" : "@RJBS/@Basic/ShareDir",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::MakeMaker",
             "name" : "@RJBS/@Basic/MakeMaker",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::Manifest",
             "name" : "@RJBS/@Basic/Manifest",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::TestRelease",
             "name" : "@RJBS/@Basic/TestRelease",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::ConfirmRelease",
             "name" : "@RJBS/@Basic/ConfirmRelease",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::UploadToCPAN",
             "name" : "@RJBS/@Basic/UploadToCPAN",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::AutoPrereq",
             "name" : "@RJBS/AutoPrereq",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::AutoVersion",
             "name" : "@RJBS/AutoVersion",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::PkgVersion",
             "name" : "@RJBS/PkgVersion",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaConfig",
             "name" : "@RJBS/MetaConfig",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaJSON",
             "name" : "@RJBS/MetaJSON",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::NextRelease",
             "name" : "@RJBS/NextRelease",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::PodSyntaxTests",
             "name" : "@RJBS/PodSyntaxTests",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::Repository",
@@ -158,7 +161,7 @@
          {
             "class" : "Dist::Zilla::Plugin::PodWeaver",
             "name" : "@RJBS/PodWeaver",
-            "version" : "3.101530"
+            "version" : "3.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::Git::Check",
@@ -183,22 +186,22 @@
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":InstallModules",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":TestFiles",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":ExecFiles",
-            "version" : "4.101540"
+            "version" : "4.101640"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":ShareFiles",
-            "version" : "4.101540"
+            "version" : "4.101640"
          }
       ],
       "zilla" : {
@@ -206,7 +209,7 @@
          "config" : {
             "is_trial" : 0
          },
-         "version" : "4.101540"
+         "version" : "4.101640"
       }
    }
 }

Modified: branches/upstream/libcpan-uploader-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-uploader-perl/current/META.yml?rev=59553&op=diff
==============================================================================
--- branches/upstream/libcpan-uploader-perl/current/META.yml (original)
+++ branches/upstream/libcpan-uploader-perl/current/META.yml Fri Jun 18 23:44:31 2010
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: 6.31
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.101540, CPAN::Meta::Converter version 2.101461'
+generated_by: 'Dist::Zilla version 4.101640, CPAN::Meta::Converter version 2.101610'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,93 +25,93 @@
   Term::ReadKey: 0
 resources:
   repository: git://git.codesimply.com/CPAN-Uploader.git
-version: 0.101550
+version: 0.101670
 x_Dist_Zilla:
   plugins:
     -
       class: Dist::Zilla::Plugin::GatherDir
       name: '@RJBS/@Basic/GatherDir'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::PruneCruft
       name: '@RJBS/@Basic/PruneCruft'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::ManifestSkip
       name: '@RJBS/@Basic/ManifestSkip'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::MetaYAML
       name: '@RJBS/@Basic/MetaYAML'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::License
       name: '@RJBS/@Basic/License'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::Readme
       name: '@RJBS/@Basic/Readme'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::ExtraTests
       name: '@RJBS/@Basic/ExtraTests'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::ExecDir
       name: '@RJBS/@Basic/ExecDir'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::ShareDir
       name: '@RJBS/@Basic/ShareDir'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::MakeMaker
       name: '@RJBS/@Basic/MakeMaker'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::Manifest
       name: '@RJBS/@Basic/Manifest'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::TestRelease
       name: '@RJBS/@Basic/TestRelease'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::ConfirmRelease
       name: '@RJBS/@Basic/ConfirmRelease'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::UploadToCPAN
       name: '@RJBS/@Basic/UploadToCPAN'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::AutoPrereq
       name: '@RJBS/AutoPrereq'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::AutoVersion
       name: '@RJBS/AutoVersion'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::PkgVersion
       name: '@RJBS/PkgVersion'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::MetaConfig
       name: '@RJBS/MetaConfig'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::MetaJSON
       name: '@RJBS/MetaJSON'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::NextRelease
       name: '@RJBS/NextRelease'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::PodSyntaxTests
       name: '@RJBS/PodSyntaxTests'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::Repository
       name: '@RJBS/Repository'
@@ -119,7 +119,7 @@
     -
       class: Dist::Zilla::Plugin::PodWeaver
       name: '@RJBS/PodWeaver'
-      version: 3.101530
+      version: 3.101640
     -
       class: Dist::Zilla::Plugin::Git::Check
       name: '@RJBS/@Git/Check'
@@ -139,21 +139,21 @@
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':InstallModules'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':TestFiles'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':ExecFiles'
-      version: 4.101540
+      version: 4.101640
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':ShareFiles'
-      version: 4.101540
+      version: 4.101640
   zilla:
     class: Dist::Zilla
     config:
       is_trial: 0
-    version: 4.101540
+    version: 4.101640

Modified: branches/upstream/libcpan-uploader-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-uploader-perl/current/Makefile.PL?rev=59553&op=diff
==============================================================================
--- branches/upstream/libcpan-uploader-perl/current/Makefile.PL (original)
+++ branches/upstream/libcpan-uploader-perl/current/Makefile.PL Fri Jun 18 23:44:31 2010
@@ -34,7 +34,7 @@
     'LWP::UserAgent' => '0',
     'Term::ReadKey' => '0'
   },
-  'VERSION' => '0.101550',
+  'VERSION' => '0.101670',
   'test' => {
     'TESTS' => 't/*.t'
   }

Modified: branches/upstream/libcpan-uploader-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-uploader-perl/current/README?rev=59553&op=diff
==============================================================================
--- branches/upstream/libcpan-uploader-perl/current/README (original)
+++ branches/upstream/libcpan-uploader-perl/current/README Fri Jun 18 23:44:31 2010
@@ -1,7 +1,7 @@
 
 
 This archive contains the distribution CPAN-Uploader,
-version 0.101550:
+version 0.101670:
 
   upload things to the CPAN
 

Modified: branches/upstream/libcpan-uploader-perl/current/bin/cpan-upload
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-uploader-perl/current/bin/cpan-upload?rev=59553&op=diff
==============================================================================
--- branches/upstream/libcpan-uploader-perl/current/bin/cpan-upload (original)
+++ branches/upstream/libcpan-uploader-perl/current/bin/cpan-upload Fri Jun 18 23:44:31 2010
@@ -1,39 +1,13 @@
 #!perl
 use strict;
 use warnings;
+package
+  cpan_upload;
+# ABSTRACT: upload a distribution to the CPAN
 
 use CPAN::Uploader;
 use Getopt::Long::Descriptive 0.084;
 
-=head1 NAME
-
-cpan-upload - upload a distribution to the CPAN
-
-=head1 USAGE
-
-  usage: cpan-upload [options] file-to-upload
-    -v --verbose       enable verbose logging
-    -h --help          display this help message
-    --dry-run          do not actually upload anything
-                     
-    -u --user          your PAUSE username
-    -p --password      the password to your PAUSE account
-    -d --directory     a dir in your CPAN space in which to put the file
-    --http-proxy       URL of the http proxy to use in uploading
-
-=head1 CONFIGURATION
-
-If you have a C<.pause> file in your home directory, it will be checked for a
-username and password.  It should look like this:
-
-  user EXAMPLE
-  password your-secret-password
-
-=head1 SEE ALSO
-
-L<CPAN::Uploader>
-
-=cut
 
 my %arg;
 
@@ -99,3 +73,52 @@
   $file,
   \%arg,
 );
+
+__END__
+=pod
+
+=head1 NAME
+
+cpan_upload - upload a distribution to the CPAN
+
+=head1 VERSION
+
+version 0.101670
+
+=head1 USAGE
+
+  usage: cpan-upload [options] file-to-upload
+    -v --verbose       enable verbose logging
+    -h --help          display this help message
+    --dry-run          do not actually upload anything
+                     
+    -u --user          your PAUSE username
+    -p --password      the password to your PAUSE account
+    -d --directory     a dir in your CPAN space in which to put the file
+    --http-proxy       URL of the http proxy to use in uploading
+
+=head1 CONFIGURATION
+
+If you have a C<.pause> file in your home directory, it will be checked for a
+username and password.  It should look like this:
+
+  user EXAMPLE
+  password your-secret-password
+
+=head1 SEE ALSO
+
+L<CPAN::Uploader>
+
+=head1 AUTHOR
+
+Ricardo SIGNES <rjbs at cpan.org>
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2010 by Ricardo SIGNES.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+

Modified: branches/upstream/libcpan-uploader-perl/current/lib/CPAN/Uploader.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-uploader-perl/current/lib/CPAN/Uploader.pm?rev=59553&op=diff
==============================================================================
--- branches/upstream/libcpan-uploader-perl/current/lib/CPAN/Uploader.pm (original)
+++ branches/upstream/libcpan-uploader-perl/current/lib/CPAN/Uploader.pm Fri Jun 18 23:44:31 2010
@@ -2,7 +2,7 @@
 use warnings;
 package CPAN::Uploader;
 BEGIN {
-  $CPAN::Uploader::VERSION = '0.101550';
+  $CPAN::Uploader::VERSION = '0.101670';
 }
 # ABSTRACT: upload things to the CPAN
 
@@ -77,10 +77,14 @@
 
   $request->authorization_basic($self->{user}, $self->{password});
 
+  my $DEBUG_METHOD = $ENV{CPAN_UPLOADER_DISPLAY_HTTP_BODY}
+                   ? 'as_string'
+                   : 'headers_as_string';
+
   $self->log_debug(
-    "----- REQUEST BEGIN -----" .
-    $request->as_string .
-    "----- REQUEST END -------"
+    "----- REQUEST BEGIN -----\n" .
+    $request->$DEBUG_METHOD . "\n" .
+    "----- REQUEST END -------\n"
   );
 
   # Make the request to the PAUSE web server
@@ -105,9 +109,9 @@
   } else {
     $self->log_debug($_) for (
       "Looks OK!",
-      "----- RESPONSE BEGIN -----",
-      $response->as_string,
-      "----- RESPONSE END -------"
+      "----- RESPONSE BEGIN -----\n" .
+      $response->$DEBUG_METHOD . "\n" .
+      "----- RESPONSE END -------\n"
     );
 
     $self->log("PAUSE add message sent ok [" . $response->code . "]");
@@ -175,7 +179,7 @@
 
 =head1 VERSION
 
-version 0.101550
+version 0.101670
 
 =head1 METHODS
 
@@ -242,7 +246,7 @@
 
 =head1 AUTHOR
 
-  Ricardo SIGNES <rjbs at cpan.org>
+Ricardo SIGNES <rjbs at cpan.org>
 
 =head1 COPYRIGHT AND LICENSE
 

Modified: branches/upstream/libcpan-uploader-perl/current/t/release-pod-syntax.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-uploader-perl/current/t/release-pod-syntax.t?rev=59553&op=diff
==============================================================================
--- branches/upstream/libcpan-uploader-perl/current/t/release-pod-syntax.t (original)
+++ branches/upstream/libcpan-uploader-perl/current/t/release-pod-syntax.t Fri Jun 18 23:44:31 2010
@@ -12,4 +12,4 @@
 eval "use Test::Pod 1.41";
 plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
 
-all_pod_files_ok();
+all_pod_files_ok();




More information about the Pkg-perl-cvs-commits mailing list