This queue is for tickets about the helm CPAN distribution.

Report information
The Basics
Id:
90664
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
upasna.shukla [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



From upasna.shukla@gmail.com Fri Nov 22 21: 28:03 2013
X-Spam-Status: No, score=-4.602 tagged_above=-99.9 required=10 tests=[AWL=1.732, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=unavailable
X-Spam-Flag: NO
Message-ID: <529012a9.43a3420a.4c1e.ffff9900@mx.google.com>
X-Received: by 10.68.6.99 with SMTP id z3mr5812647pbz.114.1385173674897; Fri, 22 Nov 2013 18:27:54 -0800 (PST)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -4.602
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 02DDC2408D9 for <cpan-bug+helm@hipster.bestpractical.com>; Fri, 22 Nov 2013 21:28:03 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6bXPDRT8xo6N for <cpan-bug+helm@hipster.bestpractical.com>; Fri, 22 Nov 2013 21:28:02 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id A05842407DA for <bug-helm@rt.cpan.org>; Fri, 22 Nov 2013 21:28:02 -0500 (EST)
Received: (qmail 27781 invoked by alias); 23 Nov 2013 02:28:02 -0000
Received: from mail-pb0-f52.google.com (HELO mail-pb0-f52.google.com) (209.85.160.52) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Fri, 22 Nov 2013 18:27:58 -0800
Received: by mail-pb0-f52.google.com with SMTP id uo5so2120680pbc.39 for <bug-helm@rt.cpan.org>; Fri, 22 Nov 2013 18:27:54 -0800 (PST)
Received: from localhost.localdomain ([182.68.227.240]) by mx.google.com with ESMTPSA id yg3sm63865103pab.16.2013.11.22.18.27.52 for <bug-helm@rt.cpan.org> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 22 Nov 2013 18:27:53 -0800 (PST)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i=@gmail.com
Delivered-To: cpan-bug+helm@hipster.bestpractical.com
Subject: New Moose may break your code
Return-Path: <upasna.shukla@gmail.com>
X-RT-Mail-Extension: helm
X-Original-To: cpan-bug+helm@hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:to:from:subject:date; bh=xf85utMW/xsPsEuEGRYnmVYDX5vEmX03Oy1ZA1WzSK0=; b=uCQPR/6mk/XjOqTF3mEwuTFv2ZY+kf+QjY8kd0ccmLbohPmzdLtGmGMSlPMcwCJC1o U/IPu4AJAu1CQbW/ATq0TfF8CLBn3nayFRCArcu8sF8niKGZ+yz9NdTfmX+hSYLfY5It qFQagAKwm2eJlw0yLoruZI/+Ed6Rv1/mveGggQU+dIrK5qv3ma17ellRvYHLQ1x7Ep8j yG1yrNnJW5mJ0y9JDu511rk/IsTlalm3GZZEOqByFwJbuvbo5lmwrjeUcu7R56DvaHqW LXIo41J+Fx0ea1oKIIg1EhNEmYdrDzZEu33DECPE3Y9S410KGi+cNVR/fgUEbz52in1b i6BQ==
Date: Sat, 23 Nov 2013 07:57:49 +0530
X-Spam-Level:
To: bug-helm@rt.cpan.org
From: "Upasana Shukla" <upasna.shukla@gmail.com>
X-RT-Original-Encoding: ascii
content-type: text/plain; charset="utf-8"
X-RT-Interface: Email
Content-Length: 547
We recently changed the syntax of enum declarations in Moose types. It appears that your module is affected. You can read more about the change here: https://metacpan.org/pod/release/ETHER/Moose-2.1106-TRIAL/lib/Moose/Manual/Delta.pod#pod2.1200 We recommend that you take a look at your code to see if it indeed does need to be updated with respect to the latest Moose release, 2.1106-TRIAL. If you have any questions, then please ask either on Moose mailing list : http://lists.perl.org/list/moose.html or on #moose & #moose-dev on irc.perl.org.
MIME-Version: 1.0
In-Reply-To: <529012a9.43a3420a.4c1e.ffff9900@mx.google.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
X-RT-Interface: Web
References: <529012a9.43a3420a.4c1e.ffff9900@mx.google.com>
Content-Type: multipart/mixed; boundary="----------=_1390356890-24623-3"
Message-ID: <rt-4.0.18-24623-1390356890-1719.90664-0-0@rt.cpan.org>
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 88
Attached patch fixes this issue. -- Cheers, ZZ [ https://metacpan.org/author/ZOFFIX ]
MIME-Version: 1.0
Subject: helm.moose.enum.patch
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Type: text/x-diff; name="helm.moose.enum.patch"
Content-Disposition: inline; filename="helm.moose.enum.patch"
Content-Transfer-Encoding: binary
Content-Length: 1074
diff -Naur helm-0.4_orig/lib/Helm/Log.pm helm-0.4/lib/Helm/Log.pm --- helm-0.4_orig/lib/Helm/Log.pm 2014-01-21 21:11:02.628527036 -0500 +++ helm-0.4/lib/Helm/Log.pm 2014-01-21 21:11:37.632527494 -0500 @@ -5,7 +5,7 @@ use Moose::Util::TypeConstraints qw(enum); use namespace::autoclean; -enum LOG_LEVEL => qw(debug info warn error); +enum LOG_LEVEL => [qw(debug info warn error)]; has channels => ( is => 'ro', writer => '_channels', diff -Naur helm-0.4_orig/lib/Helm.pm helm-0.4/lib/Helm.pm --- helm-0.4_orig/lib/Helm.pm 2014-01-21 21:11:02.628527036 -0500 +++ helm-0.4/lib/Helm.pm 2014-01-21 21:11:26.028527342 -0500 @@ -23,8 +23,8 @@ our $DEBUG_LOG; our $DEBUG_LOG_PID; -enum LOG_LEVEL => qw(debug info warn error); -enum LOCK_TYPE => qw(none local remote both); +enum LOG_LEVEL => [qw(debug info warn error)]; +enum LOCK_TYPE => [qw(none local remote both)]; has task => (is => 'ro', writer => '_task', required => 1); has user => (is => 'ro', writer => '_user', isa => 'Maybe[Str]');


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.