Hello community, here is the log from the commit of package perl-CPAN-Uploader for openSUSE:Factory checked in at 2013-06-05 17:50:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-CPAN-Uploader (Old) and /work/SRC/openSUSE:Factory/.perl-CPAN-Uploader.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-CPAN-Uploader" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-CPAN-Uploader/perl-CPAN-Uploader.changes 2012-05-25 16:17:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-CPAN-Uploader.new/perl-CPAN-Uploader.changes 2013-06-05 17:50:34.000000000 +0200 @@ -1,0 +2,11 @@ +Mon Jun 3 11:50:41 UTC 2013 - co...@suse.com + +- updated to 0.103004 + like 0.103003, but a production release + + use https by default (thanks, Mike Doherty) + + cpan-uploader now can take a list of filenames to upload (Thanks, + Gabor Szabo!) + +------------------------------------------------------------------- Old: ---- CPAN-Uploader-0.103001.tar.gz New: ---- CPAN-Uploader-0.103004.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-CPAN-Uploader.spec ++++++ --- /var/tmp/diff_new_pack.j1k6V3/_old 2013-06-05 17:50:35.000000000 +0200 +++ /var/tmp/diff_new_pack.j1k6V3/_new 2013-06-05 17:50:35.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-CPAN-Uploader # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-CPAN-Uploader -Version: 0.103001 +Version: 0.103004 Release: 0 %define cpan_name CPAN-Uploader Summary: upload things to the CPAN @@ -29,16 +29,20 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(File::HomeDir) BuildRequires: perl(Getopt::Long::Descriptive) >= 0.084 BuildRequires: perl(HTTP::Request::Common) BuildRequires: perl(HTTP::Status) +BuildRequires: perl(LWP::Protocol::https) >= 1 BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Term::ReadKey) BuildRequires: perl(Test::More) >= 0.96 #BuildRequires: perl(CPAN::Uploader) +Requires: perl(File::HomeDir) Requires: perl(Getopt::Long::Descriptive) >= 0.084 Requires: perl(HTTP::Request::Common) Requires: perl(HTTP::Status) +Requires: perl(LWP::Protocol::https) >= 1 Requires: perl(LWP::UserAgent) Requires: perl(Term::ReadKey) %{perl_requires} ++++++ CPAN-Uploader-0.103001.tar.gz -> CPAN-Uploader-0.103004.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Uploader-0.103001/Changes new/CPAN-Uploader-0.103004/Changes --- old/CPAN-Uploader-0.103001/Changes 2012-03-26 14:32:48.000000000 +0200 +++ new/CPAN-Uploader-0.103004/Changes 2013-03-12 20:51:46.000000000 +0100 @@ -1,5 +1,15 @@ Revision history for CPAN-Uploader +0.103004 2013-03-12 15:51:43 America/New_York + like 0.103003, but a production release + +0.103003 2013-01-30 21:22:12 America/New_York + use https by default (thanks, Mike Doherty) + +0.103002 2012-12-24 22:00:44 America/New_York + cpan-uploader now can take a list of filenames to upload (Thanks, + Gabor Szabo!) + 0.103001 2012-03-26 08:32:44 America/New_York Small fixes about upload_uri usage (Getty) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Uploader-0.103001/LICENSE new/CPAN-Uploader-0.103004/LICENSE --- old/CPAN-Uploader-0.103001/LICENSE 2012-03-26 14:32:48.000000000 +0200 +++ new/CPAN-Uploader-0.103004/LICENSE 2013-03-12 20:51:46.000000000 +0100 @@ -1,4 +1,4 @@ -This software is copyright (c) 2012 by Ricardo SIGNES. +This software is copyright (c) 2013 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. @@ -12,7 +12,7 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2012 by Ricardo SIGNES. +This software is Copyright (c) 2013 by Ricardo SIGNES. This is free software, licensed under: @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2012 by Ricardo SIGNES. +This software is Copyright (c) 2013 by Ricardo SIGNES. This is free software, licensed under: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Uploader-0.103001/MANIFEST new/CPAN-Uploader-0.103004/MANIFEST --- old/CPAN-Uploader-0.103001/MANIFEST 2012-03-26 14:32:48.000000000 +0200 +++ new/CPAN-Uploader-0.103004/MANIFEST 2013-03-12 20:51:46.000000000 +0100 @@ -8,5 +8,8 @@ bin/cpan-upload dist.ini lib/CPAN/Uploader.pm +t/00-compile.t t/00-load.t -t/release-pod-syntax.t +t/000-report-versions-tiny.t +xt/release/changes_has_content.t +xt/release/pod-syntax.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Uploader-0.103001/META.json new/CPAN-Uploader-0.103004/META.json --- old/CPAN-Uploader-0.103001/META.json 2012-03-26 14:32:48.000000000 +0200 +++ new/CPAN-Uploader-0.103004/META.json 2013-03-12 20:51:46.000000000 +0100 @@ -4,7 +4,7 @@ "Ricardo SIGNES <r...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 4.300010, CPAN::Meta::Converter version 2.120630", + "generated_by" : "Dist::Zilla version 4.300030, CPAN::Meta::Converter version 2.120921", "license" : [ "perl_5" ], @@ -19,15 +19,23 @@ "ExtUtils::MakeMaker" : "6.30" } }, + "develop" : { + "requires" : { + "Test::Pod" : "1.41", + "version" : "0.9901" + } + }, "runtime" : { "requires" : { "Carp" : "0", "Data::Dumper" : "0", "File::Basename" : "0", + "File::HomeDir" : "0", "File::Spec" : "0", "Getopt::Long::Descriptive" : "0.084", "HTTP::Request::Common" : "0", "HTTP::Status" : "0", + "LWP::Protocol::https" : "1", "LWP::UserAgent" : "0", "Term::ReadKey" : "0", "strict" : "0", @@ -36,12 +44,17 @@ }, "test" : { "requires" : { + "File::Find" : "0", + "File::Temp" : "0", "Test::More" : "0.96" } } }, "release_status" : "stable", "resources" : { + "bugtracker" : { + "web" : "https://github.com/rjbs/cpan-uploader/issues" + }, "homepage" : "https://github.com/rjbs/cpan-uploader", "repository" : { "type" : "git", @@ -49,123 +62,136 @@ "web" : "https://github.com/rjbs/cpan-uploader" } }, - "version" : "0.103001", + "version" : "0.103004", "x_Dist_Zilla" : { + "perl" : { + "version" : "5.017008" + }, "plugins" : [ { + "class" : "Dist::Zilla::Plugin::Git::GatherDir", + "name" : "@RJBS/Git::GatherDir", + "version" : "2.008" + }, + { "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", "name" : "@RJBS/CheckPrereqsIndexed", - "version" : "0.007" + "version" : "0.008" }, { - "class" : "Dist::Zilla::Plugin::GatherDir", - "name" : "@RJBS/@Basic/GatherDir", - "version" : "4.300010" + "class" : "Dist::Zilla::Plugin::CheckExtraTests", + "name" : "@RJBS/CheckExtraTests", + "version" : "0.008" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", - "name" : "@RJBS/@Basic/PruneCruft", - "version" : "4.300010" + "name" : "@RJBS/@Filter/PruneCruft", + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", - "name" : "@RJBS/@Basic/ManifestSkip", - "version" : "4.300010" + "name" : "@RJBS/@Filter/ManifestSkip", + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", - "name" : "@RJBS/@Basic/MetaYAML", - "version" : "4.300010" + "name" : "@RJBS/@Filter/MetaYAML", + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::License", - "name" : "@RJBS/@Basic/License", - "version" : "4.300010" + "name" : "@RJBS/@Filter/License", + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::Readme", - "name" : "@RJBS/@Basic/Readme", - "version" : "4.300010" - }, - { - "class" : "Dist::Zilla::Plugin::ExtraTests", - "name" : "@RJBS/@Basic/ExtraTests", - "version" : "4.300010" + "name" : "@RJBS/@Filter/Readme", + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::ExecDir", - "name" : "@RJBS/@Basic/ExecDir", - "version" : "4.300010" + "name" : "@RJBS/@Filter/ExecDir", + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::ShareDir", - "name" : "@RJBS/@Basic/ShareDir", - "version" : "4.300010" + "name" : "@RJBS/@Filter/ShareDir", + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", - "name" : "@RJBS/@Basic/MakeMaker", - "version" : "4.300010" + "name" : "@RJBS/@Filter/MakeMaker", + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::Manifest", - "name" : "@RJBS/@Basic/Manifest", - "version" : "4.300010" + "name" : "@RJBS/@Filter/Manifest", + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::TestRelease", - "name" : "@RJBS/@Basic/TestRelease", - "version" : "4.300010" + "name" : "@RJBS/@Filter/TestRelease", + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", - "name" : "@RJBS/@Basic/ConfirmRelease", - "version" : "4.300010" + "name" : "@RJBS/@Filter/ConfirmRelease", + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", - "name" : "@RJBS/@Basic/UploadToCPAN", - "version" : "4.300010" + "name" : "@RJBS/@Filter/UploadToCPAN", + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@RJBS/AutoPrereqs", - "version" : "4.300010" + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::Git::NextVersion", "name" : "@RJBS/Git::NextVersion", - "version" : "1.120370" + "version" : "2.008" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@RJBS/PkgVersion", - "version" : "4.300010" + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@RJBS/MetaConfig", - "version" : "4.300010" + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@RJBS/MetaJSON", - "version" : "4.300010" + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@RJBS/NextRelease", - "version" : "4.300010" + "version" : "4.300030" + }, + { + "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", + "name" : "@RJBS/Test::ChangesHasContent", + "version" : "0.006" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@RJBS/PodSyntaxTests", - "version" : "4.300010" + "version" : "4.300030" }, { - "class" : "Dist::Zilla::Plugin::Repository", - "name" : "@RJBS/Repository", - "version" : "0.18" + "class" : "Dist::Zilla::Plugin::Test::Compile", + "name" : "@RJBS/Test::Compile", + "version" : "1.112820" + }, + { + "class" : "Dist::Zilla::Plugin::ReportVersions::Tiny", + "name" : "@RJBS/ReportVersions::Tiny", + "version" : "1.08" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -176,7 +202,7 @@ } }, "name" : "@RJBS/TestMoreWithSubtests", - "version" : "4.300010" + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -191,52 +217,63 @@ { "class" : "Dist::Zilla::Plugin::Git::Check", "name" : "@RJBS/@Git/Check", - "version" : "1.120370" + "version" : "2.008" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "name" : "@RJBS/@Git/Commit", - "version" : "1.120370" + "version" : "2.008" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "name" : "@RJBS/@Git/Tag", - "version" : "1.120370" + "version" : "2.008" }, { "class" : "Dist::Zilla::Plugin::Git::Push", "name" : "@RJBS/@Git/Push", - "version" : "1.120370" + "version" : "2.008" + }, + { + "class" : "Dist::Zilla::Plugin::Prereqs", + "config" : { + "Dist::Zilla::Plugin::Prereqs" : { + "phase" : "runtime", + "type" : "requires" + } + }, + "name" : "Prereqs", + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "4.300010" + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "4.300010" + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "4.300010" + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "4.300010" + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "4.300010" + "version" : "4.300030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "4.300010" + "version" : "4.300030" } ], "zilla" : { @@ -244,7 +281,7 @@ "config" : { "is_trial" : "0" }, - "version" : "4.300010" + "version" : "4.300030" } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Uploader-0.103001/META.yml new/CPAN-Uploader-0.103004/META.yml --- old/CPAN-Uploader-0.103001/META.yml 2012-03-26 14:32:48.000000000 +0200 +++ new/CPAN-Uploader-0.103004/META.yml 2013-03-12 20:51:46.000000000 +0100 @@ -3,11 +3,13 @@ author: - 'Ricardo SIGNES <r...@cpan.org>' build_requires: + File::Find: 0 + File::Temp: 0 Test::More: 0.96 configure_requires: ExtUtils::MakeMaker: 6.30 dynamic_config: 0 -generated_by: 'Dist::Zilla version 4.300010, CPAN::Meta::Converter version 2.120630' +generated_by: 'Dist::Zilla version 4.300030, CPAN::Meta::Converter version 2.120921' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -17,112 +19,125 @@ Carp: 0 Data::Dumper: 0 File::Basename: 0 + File::HomeDir: 0 File::Spec: 0 Getopt::Long::Descriptive: 0.084 HTTP::Request::Common: 0 HTTP::Status: 0 + LWP::Protocol::https: 1 LWP::UserAgent: 0 Term::ReadKey: 0 strict: 0 warnings: 0 resources: + bugtracker: https://github.com/rjbs/cpan-uploader/issues homepage: https://github.com/rjbs/cpan-uploader repository: https://github.com/rjbs/cpan-uploader.git -version: 0.103001 +version: 0.103004 x_Dist_Zilla: + perl: + version: 5.017008 plugins: - + class: Dist::Zilla::Plugin::Git::GatherDir + name: '@RJBS/Git::GatherDir' + version: 2.008 + - class: Dist::Zilla::Plugin::CheckPrereqsIndexed name: '@RJBS/CheckPrereqsIndexed' - version: 0.007 + version: 0.008 - - class: Dist::Zilla::Plugin::GatherDir - name: '@RJBS/@Basic/GatherDir' - version: 4.300010 + class: Dist::Zilla::Plugin::CheckExtraTests + name: '@RJBS/CheckExtraTests' + version: 0.008 - class: Dist::Zilla::Plugin::PruneCruft - name: '@RJBS/@Basic/PruneCruft' - version: 4.300010 + name: '@RJBS/@Filter/PruneCruft' + version: 4.300030 - class: Dist::Zilla::Plugin::ManifestSkip - name: '@RJBS/@Basic/ManifestSkip' - version: 4.300010 + name: '@RJBS/@Filter/ManifestSkip' + version: 4.300030 - class: Dist::Zilla::Plugin::MetaYAML - name: '@RJBS/@Basic/MetaYAML' - version: 4.300010 + name: '@RJBS/@Filter/MetaYAML' + version: 4.300030 - class: Dist::Zilla::Plugin::License - name: '@RJBS/@Basic/License' - version: 4.300010 + name: '@RJBS/@Filter/License' + version: 4.300030 - class: Dist::Zilla::Plugin::Readme - name: '@RJBS/@Basic/Readme' - version: 4.300010 - - - class: Dist::Zilla::Plugin::ExtraTests - name: '@RJBS/@Basic/ExtraTests' - version: 4.300010 + name: '@RJBS/@Filter/Readme' + version: 4.300030 - class: Dist::Zilla::Plugin::ExecDir - name: '@RJBS/@Basic/ExecDir' - version: 4.300010 + name: '@RJBS/@Filter/ExecDir' + version: 4.300030 - class: Dist::Zilla::Plugin::ShareDir - name: '@RJBS/@Basic/ShareDir' - version: 4.300010 + name: '@RJBS/@Filter/ShareDir' + version: 4.300030 - class: Dist::Zilla::Plugin::MakeMaker - name: '@RJBS/@Basic/MakeMaker' - version: 4.300010 + name: '@RJBS/@Filter/MakeMaker' + version: 4.300030 - class: Dist::Zilla::Plugin::Manifest - name: '@RJBS/@Basic/Manifest' - version: 4.300010 + name: '@RJBS/@Filter/Manifest' + version: 4.300030 - class: Dist::Zilla::Plugin::TestRelease - name: '@RJBS/@Basic/TestRelease' - version: 4.300010 + name: '@RJBS/@Filter/TestRelease' + version: 4.300030 - class: Dist::Zilla::Plugin::ConfirmRelease - name: '@RJBS/@Basic/ConfirmRelease' - version: 4.300010 + name: '@RJBS/@Filter/ConfirmRelease' + version: 4.300030 - class: Dist::Zilla::Plugin::UploadToCPAN - name: '@RJBS/@Basic/UploadToCPAN' - version: 4.300010 + name: '@RJBS/@Filter/UploadToCPAN' + version: 4.300030 - class: Dist::Zilla::Plugin::AutoPrereqs name: '@RJBS/AutoPrereqs' - version: 4.300010 + version: 4.300030 - class: Dist::Zilla::Plugin::Git::NextVersion name: '@RJBS/Git::NextVersion' - version: 1.120370 + version: 2.008 - class: Dist::Zilla::Plugin::PkgVersion name: '@RJBS/PkgVersion' - version: 4.300010 + version: 4.300030 - class: Dist::Zilla::Plugin::MetaConfig name: '@RJBS/MetaConfig' - version: 4.300010 + version: 4.300030 - class: Dist::Zilla::Plugin::MetaJSON name: '@RJBS/MetaJSON' - version: 4.300010 + version: 4.300030 - class: Dist::Zilla::Plugin::NextRelease name: '@RJBS/NextRelease' - version: 4.300010 + version: 4.300030 + - + class: Dist::Zilla::Plugin::Test::ChangesHasContent + name: '@RJBS/Test::ChangesHasContent' + version: 0.006 - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@RJBS/PodSyntaxTests' - version: 4.300010 + version: 4.300030 - - class: Dist::Zilla::Plugin::Repository - name: '@RJBS/Repository' - version: 0.18 + class: Dist::Zilla::Plugin::Test::Compile + name: '@RJBS/Test::Compile' + version: 1.112820 + - + class: Dist::Zilla::Plugin::ReportVersions::Tiny + name: '@RJBS/ReportVersions::Tiny' + version: 1.08 - class: Dist::Zilla::Plugin::Prereqs config: @@ -130,7 +145,7 @@ phase: test type: requires name: '@RJBS/TestMoreWithSubtests' - version: 4.300010 + version: 4.300030 - class: Dist::Zilla::Plugin::PodWeaver name: '@RJBS/PodWeaver' @@ -142,45 +157,53 @@ - class: Dist::Zilla::Plugin::Git::Check name: '@RJBS/@Git/Check' - version: 1.120370 + version: 2.008 - class: Dist::Zilla::Plugin::Git::Commit name: '@RJBS/@Git/Commit' - version: 1.120370 + version: 2.008 - class: Dist::Zilla::Plugin::Git::Tag name: '@RJBS/@Git/Tag' - version: 1.120370 + version: 2.008 - class: Dist::Zilla::Plugin::Git::Push name: '@RJBS/@Git/Push' - version: 1.120370 + version: 2.008 + - + class: Dist::Zilla::Plugin::Prereqs + config: + Dist::Zilla::Plugin::Prereqs: + phase: runtime + type: requires + name: Prereqs + version: 4.300030 - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: 4.300010 + version: 4.300030 - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: 4.300010 + version: 4.300030 - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: 4.300010 + version: 4.300030 - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: 4.300010 + version: 4.300030 - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: 4.300010 + version: 4.300030 - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: 4.300010 + version: 4.300030 zilla: class: Dist::Zilla::Dist::Builder config: is_trial: 0 - version: 4.300010 + version: 4.300030 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Uploader-0.103001/Makefile.PL new/CPAN-Uploader-0.103004/Makefile.PL --- old/CPAN-Uploader-0.103001/Makefile.PL 2012-03-26 14:32:48.000000000 +0200 +++ new/CPAN-Uploader-0.103004/Makefile.PL 2013-03-12 20:51:46.000000000 +0100 @@ -12,6 +12,8 @@ "ABSTRACT" => "upload things to the CPAN", "AUTHOR" => "Ricardo SIGNES <rjbs\@cpan.org>", "BUILD_REQUIRES" => { + "File::Find" => 0, + "File::Temp" => 0, "Test::More" => "0.96" }, "CONFIGURE_REQUIRES" => { @@ -27,16 +29,18 @@ "Carp" => 0, "Data::Dumper" => 0, "File::Basename" => 0, + "File::HomeDir" => 0, "File::Spec" => 0, "Getopt::Long::Descriptive" => "0.084", "HTTP::Request::Common" => 0, "HTTP::Status" => 0, + "LWP::Protocol::https" => 1, "LWP::UserAgent" => 0, "Term::ReadKey" => 0, "strict" => 0, "warnings" => 0 }, - "VERSION" => "0.103001", + "VERSION" => "0.103004", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Uploader-0.103001/README new/CPAN-Uploader-0.103004/README --- old/CPAN-Uploader-0.103001/README 2012-03-26 14:32:48.000000000 +0200 +++ new/CPAN-Uploader-0.103004/README 2013-03-12 20:51:46.000000000 +0100 @@ -1,11 +1,11 @@ This archive contains the distribution CPAN-Uploader, -version 0.103001: +version 0.103004: upload things to the CPAN -This software is copyright (c) 2012 by Ricardo SIGNES. +This software is copyright (c) 2013 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. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Uploader-0.103001/bin/cpan-upload new/CPAN-Uploader-0.103004/bin/cpan-upload --- old/CPAN-Uploader-0.103001/bin/cpan-upload 2012-03-26 14:32:48.000000000 +0200 +++ new/CPAN-Uploader-0.103004/bin/cpan-upload 2013-03-12 20:51:46.000000000 +0100 @@ -23,11 +23,11 @@ [ "verbose|v" => "enable verbose logging" ], [ "help|h" => "display this help message" ], - [ "dry-run" => "do not actually upload anything" ], + [ "dry-run" => "do not actually upload anything" ], [], [ "user|u=s" => "your PAUSE username" ], [ "password|p=s" => "the password to your PAUSE account" ], - [ "directory|d=s" => "a dir in your CPAN space in which to put the file" ], + [ "directory|d=s" => "a dir in your CPAN space in which to put the files" ], [ "http-proxy=s" => "URL of the http proxy to use in uploading" ], ); @@ -36,7 +36,7 @@ exit; } -die "Please provide a file name.\n" . $usage unless my $file = $ARGV[0]; +die "Please provide at least one file name.\n" . $usage unless @ARGV; $arg{user} = $opt->_specified('user') ? $opt->user : $from_file->{user}; @@ -69,12 +69,15 @@ print "\n"; } -CPAN::Uploader->upload_file( - $file, - \%arg, -); +foreach my $file (@ARGV) { + CPAN::Uploader->upload_file( + $file, + \%arg, + ); +} __END__ + =pod =head1 NAME @@ -83,11 +86,11 @@ =head1 VERSION -version 0.103001 +version 0.103004 =head1 USAGE - usage: cpan-upload [options] file-to-upload + usage: cpan-upload [options] file-to-upload-1 [ file-to-upload-2 ... ] -v --verbose enable verbose logging -h --help display this help message --dry-run do not actually upload anything @@ -115,10 +118,9 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2012 by Ricardo SIGNES. +This software is copyright (c) 2013 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 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Uploader-0.103001/dist.ini new/CPAN-Uploader-0.103004/dist.ini --- old/CPAN-Uploader-0.103001/dist.ini 2012-03-26 14:32:48.000000000 +0200 +++ new/CPAN-Uploader-0.103004/dist.ini 2013-03-12 20:51:46.000000000 +0100 @@ -4,3 +4,7 @@ copyright_holder = Ricardo SIGNES [@RJBS] +github_issues = 1 + +[Prereqs] +LWP::Protocol::https = 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Uploader-0.103001/lib/CPAN/Uploader.pm new/CPAN-Uploader-0.103004/lib/CPAN/Uploader.pm --- old/CPAN-Uploader-0.103001/lib/CPAN/Uploader.pm 2012-03-26 14:32:48.000000000 +0200 +++ new/CPAN-Uploader-0.103004/lib/CPAN/Uploader.pm 2013-03-12 20:51:46.000000000 +0100 @@ -2,7 +2,7 @@ use warnings; package CPAN::Uploader; { - $CPAN::Uploader::VERSION = '0.103001'; + $CPAN::Uploader::VERSION = '0.103004'; } # ABSTRACT: upload things to the CPAN @@ -13,9 +13,10 @@ use HTTP::Request::Common qw(POST); use HTTP::Status; use LWP::UserAgent; +use File::HomeDir; my $UPLOAD_URI = $ENV{CPAN_UPLOADER_UPLOAD_URI} - || 'http://pause.perl.org/pause/authenquery'; + || 'https://pause.perl.org/pause/authenquery'; use Data::Dumper; @@ -46,7 +47,7 @@ sub _ua_string { my ($self) = @_; my $class = ref $self || $self; - my $version = $class->VERSION; + my $version = defined $class->VERSION ? $class->VERSION : 'dev'; return "$class/$version"; } @@ -139,7 +140,7 @@ my ($class, $filename) = @_; unless ($filename) { - my $home = $ENV{HOME} || '.'; + my $home = File::HomeDir->my_home || '.'; $filename = File::Spec->catfile($home, '.pause'); return {} unless -e $filename and -r _; @@ -178,6 +179,7 @@ 1; __END__ + =pod =head1 NAME @@ -186,7 +188,7 @@ =head1 VERSION -version 0.103001 +version 0.103004 =head1 METHODS @@ -227,6 +229,8 @@ If no filename is given, it looks for F<.pause> in the user's home directory (from the env var C<HOME>, or the current directory if C<HOME> isn't set). +See L<cpan_upload/CONFIGURATION> for the config format. + =head2 log $uploader->log($message); @@ -253,10 +257,9 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2012 by Ricardo SIGNES. +This software is copyright (c) 2013 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 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Uploader-0.103001/t/00-compile.t new/CPAN-Uploader-0.103004/t/00-compile.t --- old/CPAN-Uploader-0.103001/t/00-compile.t 1970-01-01 01:00:00.000000000 +0100 +++ new/CPAN-Uploader-0.103004/t/00-compile.t 2013-03-12 20:51:46.000000000 +0100 @@ -0,0 +1,73 @@ +#!perl + +use strict; +use warnings; + +use Test::More; + + + +use File::Find; +use File::Temp qw{ tempdir }; + +my @modules; +find( + sub { + return if $File::Find::name !~ /\.pm\z/; + my $found = $File::Find::name; + $found =~ s{^lib/}{}; + $found =~ s{[/\\]}{::}g; + $found =~ s/\.pm$//; + # nothing to skip + push @modules, $found; + }, + 'lib', +); + +sub _find_scripts { + my $dir = shift @_; + + my @found_scripts = (); + find( + sub { + return unless -f; + my $found = $File::Find::name; + # nothing to skip + open my $FH, '<', $_ or do { + note( "Unable to open $found in ( $! ), skipping" ); + return; + }; + my $shebang = <$FH>; + return unless $shebang =~ /^#!.*?\bperl\b\s*$/; + push @found_scripts, $found; + }, + $dir, + ); + + return @found_scripts; +} + +my @scripts; +do { push @scripts, _find_scripts($_) if -d $_ } + for qw{ bin script scripts }; + +my $plan = scalar(@modules) + scalar(@scripts); +$plan ? (plan tests => $plan) : (plan skip_all => "no tests to run"); + +{ + # fake home for cpan-testers + # no fake requested ## local $ENV{HOME} = tempdir( CLEANUP => 1 ); + + like( qx{ $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_ loaded ok" ) + for sort @modules; + + SKIP: { + eval "use Test::Script 1.05; 1;"; + skip "Test::Script needed to test script compilation", scalar(@scripts) if $@; + foreach my $file ( @scripts ) { + my $script = $file; + $script =~ s!.*/!!; + script_compiles( $file, "$script script compiles" ); + } + } +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Uploader-0.103001/t/000-report-versions-tiny.t new/CPAN-Uploader-0.103004/t/000-report-versions-tiny.t --- old/CPAN-Uploader-0.103001/t/000-report-versions-tiny.t 1970-01-01 01:00:00.000000000 +0100 +++ new/CPAN-Uploader-0.103004/t/000-report-versions-tiny.t 2013-03-12 20:51:46.000000000 +0100 @@ -0,0 +1,88 @@ +use strict; +use warnings; +use Test::More 0.88; +# This is a relatively nice way to avoid Test::NoWarnings breaking our +# expectations by adding extra tests, without using no_plan. It also helps +# avoid any other test module that feels introducing random tests, or even +# test plans, is a nice idea. +our $success = 0; +END { $success && done_testing; } + +# List our own version used to generate this +my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.08\n"; + +eval { # no excuses! + # report our Perl details + my $want = "any version"; + $v .= "perl: $] (wanted $want) on $^O from $^X\n\n"; +}; +defined($@) and diag("$@"); + +# Now, our module version dependencies: +sub pmver { + my ($module, $wanted) = @_; + $wanted = " (want $wanted)"; + my $pmver; + eval "require $module;"; + if ($@) { + if ($@ =~ m/Can't locate .* in \@INC/) { + $pmver = 'module not found.'; + } else { + diag("${module}: $@"); + $pmver = 'died during require.'; + } + } else { + my $version; + eval { $version = $module->VERSION; }; + if ($@) { + diag("${module}: $@"); + $pmver = 'died during VERSION check.'; + } elsif (defined $version) { + $pmver = "$version"; + } else { + $pmver = '<undef>'; + } + } + + # So, we should be good, right? + return sprintf('%-45s => %-10s%-15s%s', $module, $pmver, $wanted, "\n"); +} + +eval { $v .= pmver('Carp','any version') }; +eval { $v .= pmver('Data::Dumper','any version') }; +eval { $v .= pmver('ExtUtils::MakeMaker','6.30') }; +eval { $v .= pmver('File::Basename','any version') }; +eval { $v .= pmver('File::Find','any version') }; +eval { $v .= pmver('File::HomeDir','any version') }; +eval { $v .= pmver('File::Spec','any version') }; +eval { $v .= pmver('File::Temp','any version') }; +eval { $v .= pmver('Getopt::Long::Descriptive','0.084') }; +eval { $v .= pmver('HTTP::Request::Common','any version') }; +eval { $v .= pmver('HTTP::Status','any version') }; +eval { $v .= pmver('LWP::Protocol::https','1') }; +eval { $v .= pmver('LWP::UserAgent','any version') }; +eval { $v .= pmver('Term::ReadKey','any version') }; +eval { $v .= pmver('Test::More','0.96') }; +eval { $v .= pmver('Test::Pod','1.41') }; +eval { $v .= pmver('strict','any version') }; +eval { $v .= pmver('version','0.9901') }; +eval { $v .= pmver('warnings','any version') }; + + +# All done. +$v .= <<'EOT'; + +Thanks for using my code. I hope it works for you. +If not, please try and include this output in the bug report. +That will help me reproduce the issue and solve your problem. + +EOT + +diag($v); +ok(1, "we really didn't test anything, just reporting data"); +$success = 1; + +# Work around another nasty module on CPAN. :/ +no warnings 'once'; +$Template::Test::NO_FLUSH = 1; +exit 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Uploader-0.103001/t/release-pod-syntax.t new/CPAN-Uploader-0.103004/t/release-pod-syntax.t --- old/CPAN-Uploader-0.103001/t/release-pod-syntax.t 2012-03-26 14:32:48.000000000 +0200 +++ new/CPAN-Uploader-0.103004/t/release-pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -#!perl - -BEGIN { - unless ($ENV{RELEASE_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for release candidate testing'); - } -} - -use Test::More; - -eval "use Test::Pod 1.41"; -plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; - -all_pod_files_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Uploader-0.103001/xt/release/changes_has_content.t new/CPAN-Uploader-0.103004/xt/release/changes_has_content.t --- old/CPAN-Uploader-0.103001/xt/release/changes_has_content.t 1970-01-01 01:00:00.000000000 +0100 +++ new/CPAN-Uploader-0.103004/xt/release/changes_has_content.t 2013-03-12 20:51:46.000000000 +0100 @@ -0,0 +1,41 @@ +#!perl + +use Test::More tests => 2; + +note 'Checking Changes'; +my $changes_file = 'Changes'; +my $newver = '0.103004'; +my $trial_token = '-TRIAL'; + +SKIP: { + ok(-e $changes_file, "$changes_file file exists") + or skip 'Changes is missing', 1; + + ok(_get_changes($newver), "$changes_file has content for $newver"); +} + +done_testing; + +# _get_changes copied and adapted from Dist::Zilla::Plugin::Git::Commit +# by Jerome Quelin +sub _get_changes +{ + my $newver = shift; + + # parse changelog to find commit message + open(my $fh, '<', $changes_file) or die "cannot open $changes_file: $!"; + my $changelog = join('', <$fh>); + close $fh; + + my @content = + grep { /^$newver(?:$trial_token)?(?:\s+|$)/ ... /^\S/ } # from newver to un-indented + split /\n/, $changelog; + shift @content; # drop the version line + + # drop unindented last line and trailing blank lines + pop @content while ( @content && $content[-1] =~ /^(?:\S|\s*$)/ ); + + # return number of non-blank lines + return scalar @content; +} + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Uploader-0.103001/xt/release/pod-syntax.t new/CPAN-Uploader-0.103004/xt/release/pod-syntax.t --- old/CPAN-Uploader-0.103001/xt/release/pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 +++ new/CPAN-Uploader-0.103004/xt/release/pod-syntax.t 2013-03-12 20:51:46.000000000 +0100 @@ -0,0 +1,7 @@ +#!perl +use Test::More; + +eval "use Test::Pod 1.41"; +plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; + +all_pod_files_ok(); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org