r70726 - in /trunk/libjira-client-perl: Changes META.yml README debian/changelog debian/compat debian/control debian/copyright debian/patches/ debian/rules lib/JIRA/Client.pm
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sun Mar 6 17:47:15 UTC 2011
Author: jawnsy-guest
Date: Sun Mar 6 17:47:04 2011
New Revision: 70726
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=70726
Log:
* New upstream release
* Bump to debhelper compat 8
* Update copyright information
* Disable author tests (we can remove deps that may cause FTBFS
and also get rid of the no-perlcritic patch)
Removed:
trunk/libjira-client-perl/debian/patches/
Modified:
trunk/libjira-client-perl/Changes
trunk/libjira-client-perl/META.yml
trunk/libjira-client-perl/README
trunk/libjira-client-perl/debian/changelog
trunk/libjira-client-perl/debian/compat
trunk/libjira-client-perl/debian/control
trunk/libjira-client-perl/debian/copyright
trunk/libjira-client-perl/debian/rules
trunk/libjira-client-perl/lib/JIRA/Client.pm
Modified: trunk/libjira-client-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjira-client-perl/Changes?rev=70726&op=diff
==============================================================================
--- trunk/libjira-client-perl/Changes (original)
+++ trunk/libjira-client-perl/Changes Sun Mar 6 17:47:04 2011
@@ -1,4 +1,9 @@
Revision history for JIRA-Client
+
+0.27 2011-03-05
+
+ Properly casts RemoteProjectRole objects in several
+ methods. This was suggested by Philippe MARTIN.
0.26 2010-12-21
Modified: trunk/libjira-client-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjira-client-perl/META.yml?rev=70726&op=diff
==============================================================================
--- trunk/libjira-client-perl/META.yml (original)
+++ trunk/libjira-client-perl/META.yml Sun Mar 6 17:47:04 2011
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: JIRA-Client
-version: 0.26
+version: 0.27
abstract: An extended interface to JIRA's SOAP API.
author:
- Gustavo Chaves <gnustavo at cpan.org>
Modified: trunk/libjira-client-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjira-client-perl/README?rev=70726&op=diff
==============================================================================
--- trunk/libjira-client-perl/README (original)
+++ trunk/libjira-client-perl/README Sun Mar 6 17:47:04 2011
@@ -1,6 +1,6 @@
Name: JIRA-Client
What: A OO interface to JIRA's SOAP API.
-Version: 0.26
+Version: 0.27
Author: Gustavo Chaves <gnustavo at cpan.org>
JIRA is a proprietary bug tracking system from Atlassian
Modified: trunk/libjira-client-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjira-client-perl/debian/changelog?rev=70726&op=diff
==============================================================================
--- trunk/libjira-client-perl/debian/changelog (original)
+++ trunk/libjira-client-perl/debian/changelog Sun Mar 6 17:47:04 2011
@@ -1,3 +1,13 @@
+libjira-client-perl (0.27-1) UNRELEASED; urgency=low
+
+ * New upstream release
+ * Bump to debhelper compat 8
+ * Update copyright information
+ * Disable author tests (we can remove deps that may cause FTBFS
+ and also get rid of the no-perlcritic patch)
+
+ -- Jonathan Yu <jawnsy at cpan.org> Sun, 06 Mar 2011 13:02:31 -0500
+
libjira-client-perl (0.26-1) unstable; urgency=low
[ Angel Abad ]
Modified: trunk/libjira-client-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjira-client-perl/debian/compat?rev=70726&op=diff
==============================================================================
--- trunk/libjira-client-perl/debian/compat (original)
+++ trunk/libjira-client-perl/debian/compat Sun Mar 6 17:47:04 2011
@@ -1,1 +1,1 @@
-7
+8
Modified: trunk/libjira-client-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjira-client-perl/debian/control?rev=70726&op=diff
==============================================================================
--- trunk/libjira-client-perl/debian/control (original)
+++ trunk/libjira-client-perl/debian/control Sun Mar 6 17:47:04 2011
@@ -1,9 +1,9 @@
Source: libjira-client-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 7.0.50)
-Build-Depends-Indep: libsoap-lite-perl, libtest-kwalitee-perl,
- libtest-pod-coverage-perl, libtest-pod-perl, perl
+Build-Depends: debhelper (>= 8)
+Build-Depends-Indep: perl,
+ libsoap-lite-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Angel Abad <angelabad at gmail.com>, Jonathan Yu <jawnsy at cpan.org>
Standards-Version: 3.9.1
@@ -13,7 +13,8 @@
Package: libjira-client-perl
Architecture: all
-Depends: ${misc:Depends}, ${perl:Depends}, libsoap-lite-perl
+Depends: ${misc:Depends}, ${perl:Depends},
+ libsoap-lite-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
Modified: trunk/libjira-client-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjira-client-perl/debian/copyright?rev=70726&op=diff
==============================================================================
--- trunk/libjira-client-perl/debian/copyright (original)
+++ trunk/libjira-client-perl/debian/copyright Sun Mar 6 17:47:04 2011
@@ -4,13 +4,12 @@
Name: JIRA-Client
Files: *
-Copyright: 2009, CPqD (http://www.cpqd.com.br/)
-License-Alias: Perl
+Copyright: 2009, CPqD <http://www.cpqd.com.br/>
License: Artistic or GPL-1+
Files: debian/*
Copyright: 2009-2010, Angel Abad <angelabad at gmail.com>
- 2009, Jonathan Yu <jawnsy at cpan.org>
+ 2009-2011, Jonathan Yu <jawnsy at cpan.org>
2010, gregor herrmann <gregoa at debian.org>
License: Artistic or GPL-1+
Modified: trunk/libjira-client-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjira-client-perl/debian/rules?rev=70726&op=diff
==============================================================================
--- trunk/libjira-client-perl/debian/rules (original)
+++ trunk/libjira-client-perl/debian/rules Sun Mar 6 17:47:04 2011
@@ -2,6 +2,3 @@
%:
dh $@
-
-override_dh_auto_configure:
- dh_auto_configure -- --author-tests
Modified: trunk/libjira-client-perl/lib/JIRA/Client.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjira-client-perl/lib/JIRA/Client.pm?rev=70726&op=diff
==============================================================================
--- trunk/libjira-client-perl/lib/JIRA/Client.pm (original)
+++ trunk/libjira-client-perl/lib/JIRA/Client.pm Sun Mar 6 17:47:04 2011
@@ -11,11 +11,11 @@
=head1 VERSION
-Version 0.26
-
-=cut
-
-our $VERSION = '0.26';
+Version 0.27
+
+=cut
+
+our $VERSION = '0.27';
=head1 SYNOPSIS
@@ -1094,21 +1094,27 @@
# zero-based, after the authentication token.
my %typeof = (
+ addActorsToProjectRole => {1 => \&_cast_remote_project_role},
addAttachmentsToIssue => \&_cast_attachments,
addBase64EncodedAttachmentsToIssue => \&_cast_base64encodedattachments,
addComment => {0 => \&_cast_issue_key, 1 => \&_cast_remote_comment},
+ addDefaultActorsToProjectRole => {1 => \&_cast_remote_project_role},
addWorklogAndAutoAdjustRemainingEstimate => {0 => \&_cast_issue_key},
addWorklogAndRetainRemainingEstimate => {0 => \&_cast_issue_key},
addWorklogWithNewRemainingEstimate => {0 => \&_cast_issue_key},
archiveVersion => {2 => 'boolean'},
createIssueWithSecurityLevel => {1 => 'long'},
+ createProjectRole => {0 => \&_cast_remote_project_role},
deleteIssue => {0 => \&_cast_issue_key},
deleteProjectAvatar => {0 => 'long'},
- deleteProjectRole => {1 => 'boolean'},
+ deleteProjectRole => {0 => \&_cast_remote_project_role, 1 => 'boolean'},
+ getAssociatedNotificationSchemes => {0 => \&_cast_remote_project_role},
+ getAssociatedPermissionSchemes => {0 => \&_cast_remote_project_role},
getAttachmentsFromIssue => {0 => \&_cast_issue_key},
getAvailableActions => {0 => \&_cast_issue_key},
getComment => {0 => 'long'},
getComments => {0 => \&_cast_issue_key},
+ getDefaultRoleActors => {0 => \&_cast_remote_project_role},
getFieldsForAction => {0 => \&_cast_issue_key},
getFieldsForEdit => {0 => \&_cast_issue_key},
getIssue => {0 => \&_cast_issue_key},
@@ -1121,6 +1127,7 @@
getProjectAvatars => {1 => 'boolean'},
getProjectById => {0 => 'long'},
getProjectRole => {0 => 'long'},
+ getProjectRoleActors => {0 => \&_cast_remote_project_role},
getProjectWithSchemesById => {0 => 'long'},
getResolutionDateById => {0 => 'long'},
getResolutionDateByKey => {0 => \&_cast_issue_key},
@@ -1128,8 +1135,11 @@
getWorklogs => {0 => \&_cast_issue_key},
hasPermissionToCreateWorklog => {0 => \&_cast_issue_key},
progressWorkflowAction => {0 => \&_cast_issue_key, 2 => \&_cast_remote_field_values},
+ removeActorsFromProjectRole => {1 => \&_cast_remote_project_role},
+ removeDefaultActorsFromProjectRole => {1 => \&_cast_remote_project_role},
setProjectAvatar => {1 => 'long'},
updateIssue => {0 => \&_cast_issue_key, 1 => \&_cast_remote_field_values},
+ updateProjectRole => {0 => \&_cast_remote_project_role},
);
sub _cast_issue_key {
@@ -1155,6 +1165,14 @@
my ($self, $arg) = @_;
if (ref $arg && ref $arg eq 'HASH') {
return [map {RemoteFieldValue->new($_, $arg->{$_})} keys %$arg];
+ }
+ return $arg;
+}
+
+sub _cast_remote_project_role {
+ my ($self, $arg) = @_;
+ if (ref $arg && ref $arg eq 'RemoteProjectRole' && exists $arg->{id} && ! ref $arg->{id}) {
+ $arg->{id} = SOAP::Data->type(long => $arg->{id});
}
return $arg;
}
More information about the Pkg-perl-cvs-commits
mailing list