diff -Nru libjira-client-perl-0.42/Changes libjira-client-perl-0.43/Changes --- libjira-client-perl-0.42/Changes 2014-08-09 20:47:49.000000000 +0000 +++ libjira-client-perl-0.43/Changes 2015-02-02 00:33:14.000000000 +0000 @@ -1,5 +1,13 @@ Revision history for JIRA-Client. +0.43 2015-02-01 22:33:09-02:00 America/Sao_Paulo + + [Changes] + + - Deprecate the distribution, because JIRA's SOAP API is already + deprecated and won't be available in future JIRA 8.0. Prospect users are + invited to try the JIRA::REST module instead. + 0.42 2014-08-09 17:47:44 America/Sao_Paulo [Changes] diff -Nru libjira-client-perl-0.42/debian/changelog libjira-client-perl-0.43/debian/changelog --- libjira-client-perl-0.42/debian/changelog 2014-08-10 08:37:54.000000000 +0000 +++ libjira-client-perl-0.43/debian/changelog 2015-12-05 21:25:09.000000000 +0000 @@ -1,3 +1,18 @@ +libjira-client-perl (0.43-1) unstable; urgency=medium + + [ Salvatore Bonaccorso ] + * Update Vcs-Browser URL to cgit web frontend + + [ gregor herrmann ] + * Add debian/upstream/metadata. + * Import upstream version 0.43. + * Update years of upstream and packaging copyright. + * Mark package as autopkgtest-able. + * Declare compliance with Debian Policy 3.9.6. + * Bump debhelper compatibility level to 9. + + -- gregor herrmann Sat, 05 Dec 2015 22:25:02 +0100 + libjira-client-perl (0.42-1) unstable; urgency=medium * Imported Upstream version 0.42 diff -Nru libjira-client-perl-0.42/debian/compat libjira-client-perl-0.43/debian/compat --- libjira-client-perl-0.42/debian/compat 2014-08-10 08:30:28.000000000 +0000 +++ libjira-client-perl-0.43/debian/compat 2015-12-05 21:25:09.000000000 +0000 @@ -1 +1 @@ -8 +9 diff -Nru libjira-client-perl-0.42/debian/control libjira-client-perl-0.43/debian/control --- libjira-client-perl-0.42/debian/control 2014-08-10 08:36:25.000000000 +0000 +++ libjira-client-perl-0.43/debian/control 2015-12-05 21:25:09.000000000 +0000 @@ -1,26 +1,28 @@ Source: libjira-client-perl -Section: perl -Priority: optional Maintainer: Debian Perl Group Uploaders: Angel Abad , - Jonathan Yu , - gregor herrmann -Build-Depends: debhelper (>= 8) + Jonathan Yu , + gregor herrmann +Section: perl +Testsuite: autopkgtest-pkg-perl +Priority: optional +Build-Depends: debhelper (>= 9) Build-Depends-Indep: libdata-util-perl, - libsoap-lite-perl, - liburi-perl, - perl -Standards-Version: 3.9.5 -Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libjira-client-perl.git + libsoap-lite-perl, + liburi-perl, + perl +Standards-Version: 3.9.6 +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libjira-client-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libjira-client-perl.git Homepage: https://metacpan.org/release/JIRA-Client Package: libjira-client-perl Architecture: all -Depends: ${misc:Depends}, ${perl:Depends}, - libdata-util-perl, - libsoap-lite-perl, - liburi-perl +Depends: ${misc:Depends}, + ${perl:Depends}, + libdata-util-perl, + libsoap-lite-perl, + liburi-perl Description: Perl interface to JIRA's API JIRA::Client is a Perl module that implements an Object Oriented wrapper around the SOAP API for JIRA - a bug tracking, issue tracking and project diff -Nru libjira-client-perl-0.42/debian/copyright libjira-client-perl-0.43/debian/copyright --- libjira-client-perl-0.42/debian/copyright 2014-08-10 08:37:25.000000000 +0000 +++ libjira-client-perl-0.43/debian/copyright 2015-12-05 21:25:09.000000000 +0000 @@ -4,13 +4,13 @@ Source: https://metacpan.org/release/JIRA-Client Files: * -Copyright: 2009-2014, CPqD +Copyright: 2009-2015, CPqD License: Artistic or GPL-1+ Files: debian/* Copyright: 2009-2014, Angel Abad 2009-2011, Jonathan Yu - 2010-2012, gregor herrmann + 2010-2015, gregor herrmann 2011, Ansgar Burchardt 2013, Salvatore Bonaccorso License: Artistic or GPL-1+ diff -Nru libjira-client-perl-0.42/debian/upstream/metadata libjira-client-perl-0.43/debian/upstream/metadata --- libjira-client-perl-0.42/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 +++ libjira-client-perl-0.43/debian/upstream/metadata 2015-12-05 21:25:09.000000000 +0000 @@ -0,0 +1,6 @@ +--- +Archive: CPAN +Bug-Database: https://github.com/gnustavo/JIRA-Client/issues +Contact: Gustavo L. de M. Chaves +Name: JIRA-Client +Repository: git://github.com/gnustavo/JIRA-Client.git diff -Nru libjira-client-perl-0.42/dist.ini libjira-client-perl-0.43/dist.ini --- libjira-client-perl-0.42/dist.ini 2014-08-09 20:47:49.000000000 +0000 +++ libjira-client-perl-0.43/dist.ini 2015-02-02 00:33:14.000000000 +0000 @@ -5,6 +5,8 @@ license = Perl_5 copyright_holder = CPqD +[Deprecated] + [GatherDir] exclude_match = ~$ diff -Nru libjira-client-perl-0.42/lib/JIRA/Client.pm libjira-client-perl-0.43/lib/JIRA/Client.pm --- libjira-client-perl-0.42/lib/JIRA/Client.pm 2014-08-09 20:47:49.000000000 +0000 +++ libjira-client-perl-0.43/lib/JIRA/Client.pm 2015-02-02 00:33:14.000000000 +0000 @@ -1,9 +1,6 @@ package JIRA::Client; -{ - $JIRA::Client::VERSION = '0.42'; -} -# ABSTRACT: Extended interface to JIRA's SOAP API - +# ABSTRACT: (DEPRECATED) Extended interface to JIRA's SOAP API +$JIRA::Client::VERSION = '0.43'; use strict; use warnings; @@ -675,7 +672,21 @@ if ($filter =~ /^(?:[A-Z]+-\d+\s+)*[A-Z]+-\d+$/i) { # space separated key list - return map {$self->getIssue(uc $_)} split / /, $filter; + + # Let's construct a JQL query in the form "issuekey IN (...)" to + # pass to getIssuesFromJqlSearch. + + my %keys = map {($_ => undef)} split / /, $filter; # discard duplicates + my @keys = keys %keys; + + # If the list is too big we split it up and invoke + # getIssuesFromJqlSearch several times. + my @issues; + while (my @subkeys = splice(@keys, 0, 128)) { + my $jql = 'issuekey IN (' . join(',', @subkeys) . ')'; + push @issues, @{$self->getIssuesFromJqlSearch($jql, 1000)}; + } + return @issues; } elsif ($filter =~ /^[\w-]+$/i) { # saved filter return @{$self->getIssuesFromFilterWithLimit($filter, 0, $limit || 1000)}; @@ -702,10 +713,7 @@ ## no critic (Modules::ProhibitMultiplePackages) package RemoteFieldValue; -{ - $RemoteFieldValue::VERSION = '0.42'; -} - +$RemoteFieldValue::VERSION = '0.43'; sub new { my ($class, $id, $values) = @_; @@ -718,10 +726,7 @@ package RemoteCustomFieldValue; -{ - $RemoteCustomFieldValue::VERSION = '0.42'; -} - +$RemoteCustomFieldValue::VERSION = '0.43'; sub new { my ($class, $id, $values) = @_; @@ -731,10 +736,7 @@ package RemoteComponent; -{ - $RemoteComponent::VERSION = '0.42'; -} - +$RemoteComponent::VERSION = '0.43'; sub new { my ($class, $id, $name) = @_; my $o = bless({id => $id}, $class); @@ -744,10 +746,7 @@ package RemoteVersion; -{ - $RemoteVersion::VERSION = '0.42'; -} - +$RemoteVersion::VERSION = '0.43'; sub new { my ($class, $id, $name) = @_; my $o = bless({id => $id}, $class); @@ -989,11 +988,11 @@ =head1 NAME -JIRA::Client - Extended interface to JIRA's SOAP API +JIRA::Client - (DEPRECATED) Extended interface to JIRA's SOAP API =head1 VERSION -version 0.42 +version 0.43 =head1 SYNOPSIS @@ -1023,13 +1022,13 @@ =head1 DESCRIPTION -JIRA is a proprietary bug tracking system from Atlassian -(L). - B: Please, before using this module consider using the newer L because JIRA's SOAP API was L -on JIRA 6.0 and won't be available anymore on JIRA 7.0. +on JIRA 6.0 and won't be available anymore on JIRA 8.0. + +JIRA is a proprietary bug tracking system from Atlassian +(L). This module implements an Object Oriented wrapper around JIRA's SOAP API, which is specified in @@ -1419,6 +1418,10 @@ KEY-123 chave-234 CLAVE-345 +Note that the result list doesn't respect the order in which the keys are +specified and also that duplicate keys are discarded and the corresponding +issue appear only once in the resulting list. + =item The name of a saved filter If FILTER is a single word, it is passed to @@ -1506,13 +1509,17 @@ =back +=head1 REPOSITORY + +L + =head1 AUTHOR Gustavo L. de M. Chaves =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by CPqD. +This software is copyright (c) 2015 by CPqD. 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 -Nru libjira-client-perl-0.42/LICENSE libjira-client-perl-0.43/LICENSE --- libjira-client-perl-0.42/LICENSE 2014-08-09 20:47:49.000000000 +0000 +++ libjira-client-perl-0.43/LICENSE 2015-02-02 00:33:14.000000000 +0000 @@ -1,4 +1,4 @@ -This software is copyright (c) 2014 by CPqD. +This software is copyright (c) 2015 by CPqD. 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) 2014 by CPqD. +This software is Copyright (c) 2015 by CPqD. This is free software, licensed under: @@ -22,7 +22,7 @@ Version 1, February 1989 Copyright (C) 1989 Free Software Foundation, Inc. - 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2014 by CPqD. +This software is Copyright (c) 2015 by CPqD. This is free software, licensed under: diff -Nru libjira-client-perl-0.42/Makefile.PL libjira-client-perl-0.43/Makefile.PL --- libjira-client-perl-0.42/Makefile.PL 2014-08-09 20:47:49.000000000 +0000 +++ libjira-client-perl-0.43/Makefile.PL 2015-02-02 00:33:14.000000000 +0000 @@ -1,20 +1,19 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.008. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.031. use strict; use warnings; -use ExtUtils::MakeMaker 6.30; +use ExtUtils::MakeMaker; my %WriteMakefileArgs = ( - "ABSTRACT" => "Extended interface to JIRA's SOAP API", + "ABSTRACT" => "(DEPRECATED) Extended interface to JIRA's SOAP API", "AUTHOR" => "Gustavo L. de M. Chaves ", - "BUILD_REQUIRES" => {}, "CONFIGURE_REQUIRES" => { - "ExtUtils::MakeMaker" => "6.30" + "ExtUtils::MakeMaker" => 0 }, "DISTNAME" => "JIRA-Client", "EXE_FILES" => [], @@ -32,7 +31,7 @@ "TEST_REQUIRES" => { "Test::More" => 0 }, - "VERSION" => "0.42", + "VERSION" => "0.43", "test" => { "TESTS" => "t/*.t" } @@ -42,6 +41,7 @@ my %FallbackPrereqs = ( "Carp" => 0, "Data::Util" => 0, + "ExtUtils::MakeMaker" => 0, "File::Basename" => 0, "MIME::Base64" => 0, "SOAP::Lite" => 0, diff -Nru libjira-client-perl-0.42/MANIFEST libjira-client-perl-0.43/MANIFEST --- libjira-client-perl-0.42/MANIFEST 2014-08-09 20:47:49.000000000 +0000 +++ libjira-client-perl-0.43/MANIFEST 2015-02-02 00:33:14.000000000 +0000 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.008. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.031. Changes LICENSE MANIFEST diff -Nru libjira-client-perl-0.42/META.yml libjira-client-perl-0.43/META.yml --- libjira-client-perl-0.42/META.yml 2014-08-09 20:47:49.000000000 +0000 +++ libjira-client-perl-0.43/META.yml 2015-02-02 00:33:14.000000000 +0000 @@ -1,28 +1,29 @@ --- -abstract: "Extended interface to JIRA's SOAP API" +abstract: "(DEPRECATED) Extended interface to JIRA's SOAP API" author: - 'Gustavo L. de M. Chaves ' build_requires: - Test::More: 0 + Test::More: '0' configure_requires: - ExtUtils::MakeMaker: 6.30 + ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.008, CPAN::Meta::Converter version 2.133380' +generated_by: 'Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.143240' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: JIRA-Client requires: - Carp: 0 - Data::Util: 0 - File::Basename: 0 - MIME::Base64: 0 - SOAP::Lite: 0 - strict: 0 - warnings: 0 + Carp: '0' + Data::Util: '0' + File::Basename: '0' + MIME::Base64: '0' + SOAP::Lite: '0' + strict: '0' + warnings: '0' resources: bugtracker: https://github.com/gnustavo/JIRA-Client/issues homepage: http://search.cpan.org/dist/JIRA-Client/ repository: git://github.com/gnustavo/JIRA-Client.git -version: 0.42 +version: '0.43' +x_deprecated: 1 diff -Nru libjira-client-perl-0.42/README libjira-client-perl-0.43/README --- libjira-client-perl-0.42/README 2014-08-09 20:47:49.000000000 +0000 +++ libjira-client-perl-0.43/README 2015-02-02 00:33:14.000000000 +0000 @@ -1,13 +1,13 @@ -JIRA::Client - Extended interface to JIRA's SOAP API - -JIRA is a proprietary bug tracking system from Atlassian -(http://www.atlassian.com/software/jira/). +JIRA::Client - (DEPRECATED) Extended interface to JIRA's SOAP API DEPRECATION WARNING: Please, before using this module consider using the newer JIRA::REST because JIRA's SOAP API was deprecated on JIRA 6.0 and -won't be available anymore on JIRA 7.0. +won't be available anymore on JIRA 8.0. + +JIRA is a proprietary bug tracking system from Atlassian +(http://www.atlassian.com/software/jira/). -Copyright (c) 2012-2014 by CPqD (http://www.cpqd.com.br/) +Copyright (c) 2012-2015 by CPqD (http://www.cpqd.com.br/) 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 -Nru libjira-client-perl-0.42/t/release-kwalitee.t libjira-client-perl-0.43/t/release-kwalitee.t --- libjira-client-perl-0.42/t/release-kwalitee.t 2014-08-09 20:47:49.000000000 +0000 +++ libjira-client-perl-0.43/t/release-kwalitee.t 2015-02-02 00:33:14.000000000 +0000 @@ -6,7 +6,12 @@ } } -# this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.07 +# this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.11 use strict; use warnings; -use Test::Kwalitee; +use Test::More 0.88; +use Test::Kwalitee 1.21 'kwalitee_ok'; + +kwalitee_ok(); + +done_testing; diff -Nru libjira-client-perl-0.42/t/release-pod-coverage.t libjira-client-perl-0.43/t/release-pod-coverage.t --- libjira-client-perl-0.42/t/release-pod-coverage.t 2014-08-09 20:47:49.000000000 +0000 +++ libjira-client-perl-0.43/t/release-pod-coverage.t 2015-02-02 00:33:14.000000000 +0000 @@ -9,14 +9,7 @@ # This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests. -use Test::More; - -eval "use Test::Pod::Coverage 1.08"; -plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage" - if $@; - -eval "use Pod::Coverage::TrustPod"; -plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage" - if $@; +use Test::Pod::Coverage 1.08; +use Pod::Coverage::TrustPod; all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); diff -Nru libjira-client-perl-0.42/t/release-pod-syntax.t libjira-client-perl-0.43/t/release-pod-syntax.t --- libjira-client-perl-0.42/t/release-pod-syntax.t 2014-08-09 20:47:49.000000000 +0000 +++ libjira-client-perl-0.43/t/release-pod-syntax.t 2015-02-02 00:33:14.000000000 +0000 @@ -9,8 +9,6 @@ # This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. use Test::More; - -eval "use Test::Pod 1.41"; -plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; +use Test::Pod 1.41; all_pod_files_ok();