Skip Menu |
 

This queue is for tickets about the HTTP-Server-Simple CPAN distribution.

Report information
The Basics
Id: 38345
Status: resolved
Priority: 0/
Queue: HTTP-Server-Simple

People
Owner: Nobody in particular
Requestors: perl [...] galumph.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Attachments
0001-Add-use-HTTP-Server-Simple-Version-RT-38345.patch



Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 737664D8397 for <bug-HTTP-Server-Simple [...] rt.cpan.org>; Fri, 8 Aug 2008 19:38:23 -0400 (EDT)
Received: (qmail 6345 invoked from network); 8 Aug 2008 23:38:22 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 8 Aug 2008 23:38:22 -0000
Received: from pendrell.textdrive.com (HELO pendrell.textdrive.com) (207.7.108.149) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 Aug 2008 16:38:18 -0700
Received: from quaquaversal.local (adsl-69-209-193-140.dsl.chcgil.ameritech.net [69.209.193.140]) by pendrell.textdrive.com (Postfix) with ESMTP id 9B5B2BABB1 for <bug-HTTP-Server-Simple [...] rt.cpan.org>; Fri, 8 Aug 2008 23:38:14 +0000 (GMT)
Delivered-To: cpan-bug+HTTP-Server-Simple [...] diesel.bestpractical.com
Subject: HTTP::Server::Simple::CGI has $VERSION that isn't independently eval-able.
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,SPF_PASS
Return-Path: <perl [...] galumph.com>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-HTTP-Server-Simple [...] rt.cpan.org
Date: Fri, 08 Aug 2008 18:38:12 -0500
X-Spam-Level: *
Message-Id: <489CD8E4.4040000 [...] galumph.com>
content-type: text/plain; charset="utf-8"; format="flowed"
To: bug-HTTP-Server-Simple [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Elliot Shank <perl [...] galumph.com>
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 597
Download (untitled) / with headers
text/plain 597b
The $VERSION assignment in HTTP::Server::Simple::CGI looks like: $VERSION = $HTTP::Server::Simple::VERSION; This won't work with tools like CPANPLUS that eval these lines in isolation, i.e. neither HTTP/Server/Simple.pm nor HTTP/Server/Simple/CGI.pm will have actually been loaded. The $VERSION line gets extracted in isolation and thus CPANPLUS thinks that $HTTP::Server::Simple::CGI::VERSION is 0. This problem is causing a failed test report for CPAN::Mini::Webserver to be sent as NA instead of FAIL because CPANPLUS thinks that CPAN::Mini::Webserver's prereqs haven't been installed.
MIME-Version: 1.0
In-Reply-To: <489CD8E4.4040000 [...] galumph.com>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Charset: utf8
References: <489CD8E4.4040000 [...] galumph.com>
Content-Type: multipart/mixed; boundary="----------=_1252491679-27252-331"
Message-ID: <rt-3.6.HEAD-27252-1252491679-220.38345-0-0 [...] rt.cpan.org>
X-RT-Original-Encoding: utf-8
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 82
Patch attached. It might solve the issue while not repeating versions everywhere.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: multipart/mixed; boundary="----------=_1252491679-27252-330"
Charset: utf8
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
Content-Type: text/x-patch; name="0001-Add-use-HTTP-Server-Simple-Version-RT-38345.patch"
Content-Disposition: inline; filename="0001-Add-use-HTTP-Server-Simple-Version-RT-38345.patch"
Content-Transfer-Encoding: binary
Content-Length: 2428
From d66fd469f9d8b4ccdccd3386f364fc29d1a9802c Mon Sep 17 00:00:00 2001 From: Brad Bowman <bugs@bereft.net> Date: Wed, 9 Sep 2009 20:15:48 +1000 Subject: [PATCH] Add & use HTTP::Server::Simple::Version, RT#38345 One-line evalable $VERSION, in a style stolen from SVK. The VERSION lines match /([\$*])(([\w\:\']*)\bVERSION)\b.*\=/ and hopefully resolve the issues in the RT ticket. perl -Ilib -le 'eval q"use HTTP::Server::Simple::Version; $VERSION = $HTTP::Server::Simple::VERSION;"; print $VERSION || $@' 0.40 --- lib/HTTP/Server/Simple.pm | 2 +- lib/HTTP/Server/Simple/CGI.pm | 2 +- lib/HTTP/Server/Simple/CGI/Environment.pm | 2 +- lib/HTTP/Server/Simple/Version.pm | 9 +++++++++ 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 lib/HTTP/Server/Simple/Version.pm diff --git a/lib/HTTP/Server/Simple.pm b/lib/HTTP/Server/Simple.pm index eeac7a5..a28f5fe 100644 --- a/lib/HTTP/Server/Simple.pm +++ b/lib/HTTP/Server/Simple.pm @@ -8,7 +8,7 @@ use Carp; use URI::Escape; use vars qw($VERSION $bad_request_doc); -$VERSION = '0.40'; +use HTTP::Server::Simple::Version; $VERSION = $HTTP::Server::Simple::VERSION; =head1 NAME diff --git a/lib/HTTP/Server/Simple/CGI.pm b/lib/HTTP/Server/Simple/CGI.pm index a3e6fc6..e0cbe3f 100644 --- a/lib/HTTP/Server/Simple/CGI.pm +++ b/lib/HTTP/Server/Simple/CGI.pm @@ -8,7 +8,7 @@ use warnings; use CGI (); use vars qw($VERSION $default_doc); -$VERSION = $HTTP::Server::Simple::VERSION; +use HTTP::Server::Simple::Version; $VERSION = $HTTP::Server::Simple::VERSION; =head1 NAME diff --git a/lib/HTTP/Server/Simple/CGI/Environment.pm b/lib/HTTP/Server/Simple/CGI/Environment.pm index 8a05c3f..77137cb 100644 --- a/lib/HTTP/Server/Simple/CGI/Environment.pm +++ b/lib/HTTP/Server/Simple/CGI/Environment.pm @@ -6,7 +6,7 @@ use warnings; use HTTP::Server::Simple; use vars qw($VERSION %ENV_MAPPING); -$VERSION = $HTTP::Server::Simple::VERSION; +use HTTP::Server::Simple::Version; $VERSION = $HTTP::Server::Simple::VERSION; my %clean_env = %ENV; diff --git a/lib/HTTP/Server/Simple/Version.pm b/lib/HTTP/Server/Simple/Version.pm new file mode 100644 index 0000000..a9866cb --- /dev/null +++ b/lib/HTTP/Server/Simple/Version.pm @@ -0,0 +1,9 @@ +use strict; +use warnings; + +package HTTP::Server::Simple; + +use vars qw($VERSION); +$VERSION = '0.40'; + +$VERSION; # instead of "1;" -- 1.6.0.4
CC: undisclosed-recipients: ;
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-27252-1252491679-220.38345-5-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-38345 [...] rt.cpan.org> <489CD8E4.4040000 [...] galumph.com> <rt-3.6.HEAD-27252-1252491679-220.38345-5-0 [...] rt.cpan.org>
Message-ID: <20090909112649.GB14244 [...] bestpractical.com>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Received: by diesel.bestpractical.com (Postfix, from userid 1000) id BA4564D8016; Wed, 9 Sep 2009 07:26:50 -0400 (EDT)
Delivered-To: cpan-bug+HTTP-Server-Simple [...] diesel.bestpractical.com
User-Agent: Mutt/1.5.13 (2006-08-11)
Subject: Re: [rt.cpan.org #38345] HTTP::Server::Simple::CGI has $VERSION that isn't independently eval-able.
Return-Path: <jesse [...] bestpractical.com>
X-Original-To: bug-HTTP-Server-Simple [...] rt.cpan.org
Date: Wed, 9 Sep 2009 07:26:50 -0400
To: Brad Bowman via RT <bug-HTTP-Server-Simple [...] rt.cpan.org>
From: jesse <jesse [...] fsck.com>
RT-Message-ID: <rt-3.6.HEAD-27252-1252495626-1985.38345-0-0 [...] rt.cpan.org>
Content-Length: 673
Download (untitled) / with headers
text/plain 673b
On Wed, Sep 09, 2009 at 06:21:23AM -0400, Brad Bowman via RT wrote: Show quoted text
> Queue: HTTP-Server-Simple > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=38345 > > > Patch attached. It might solve the issue while not > repeating versions everywhere.
Show quoted text
> From d66fd469f9d8b4ccdccd3386f364fc29d1a9802c Mon Sep 17 00:00:00 2001 > From: Brad Bowman <bugs@bereft.net> > Date: Wed, 9 Sep 2009 20:15:48 +1000 > Subject: [PATCH] Add & use HTTP::Server::Simple::Version, RT#38345 > > One-line evalable $VERSION, in a style stolen from SVK.
I'm not really a fan of this sort of thing. It's a lot of complexity to work around what I see as an annoying flaw in CPANPLUS.
MIME-Version: 1.0
X-Spam-Status: No, hits=-0.0 required=8.0 tests=SPF_PASS
In-Reply-To: <rt-3.6.HEAD-27252-1252495626-1985.38345-6-0 [...] rt.cpan.org>
References: <RT-Ticket-38345 [...] rt.cpan.org> <489CD8E4.4040000 [...] galumph.com> <rt-3.6.HEAD-27252-1252491679-220.38345-5-0 [...] rt.cpan.org> <20090909112649.GB14244 [...] bestpractical.com> <rt-3.6.HEAD-27252-1252495626-1985.38345-6-0 [...] rt.cpan.org>
Message-ID: <4AA7A8AA.6040704 [...] galumph.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-RT-Original-Encoding: utf-8
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by diesel.bestpractical.com (Postfix) with SMTP id 49C894D8016 for <bug-HTTP-Server-Simple [...] rt.cpan.org>; Wed, 9 Sep 2009 09:08:05 -0400 (EDT)
Received: (qmail 6344 invoked by uid 103); 9 Sep 2009 13:08:04 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 9 Sep 2009 13:08:04 -0000
Received: from pendrell.textdrive.com (HELO pendrell.textdrive.com) (207.7.108.149) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Wed, 09 Sep 2009 06:07:58 -0700
Received: from emdaer.local (adsl-69-209-207-216.dsl.chcgil.ameritech.net [69.209.207.216]) by pendrell.textdrive.com (Postfix) with ESMTP id 95F37BAF6C for <bug-HTTP-Server-Simple [...] rt.cpan.org>; Wed, 9 Sep 2009 13:07:55 +0000 (GMT)
Delivered-To: cpan-bug+HTTP-Server-Simple [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #38345] HTTP::Server::Simple::CGI has $VERSION that isn't independently eval-able.
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.5.0
Return-Path: <perl [...] galumph.com>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-HTTP-Server-Simple [...] rt.cpan.org
Date: Wed, 09 Sep 2009 08:07:54 -0500
X-Spam-Level: *
To: bug-HTTP-Server-Simple [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Elliot Shank <perl [...] galumph.com>
RT-Message-ID: <rt-3.6.HEAD-27252-1252501697-1493.38345-0-0 [...] rt.cpan.org>
Content-Length: 239
Download (untitled) / with headers
text/plain 239b
Jesse via RT wrote: Show quoted text
> I'm not really a fan of this sort of thing. It's a lot of complexity to > work around what I see as an annoying flaw in CPANPLUS.
I beg to differ. How much effort does it to plainly declare the version of a module?
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-27252-1252501697-1493.38345-5-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-38345 [...] rt.cpan.org> <489CD8E4.4040000 [...] galumph.com> <rt-3.6.HEAD-27252-1252491679-220.38345-5-0 [...] rt.cpan.org> <20090909112649.GB14244 [...] bestpractical.com> <rt-3.6.HEAD-27252-1252495626-1985.38345-6-0 [...] rt.cpan.org> <4AA7A8AA.6040704 [...] galumph.com> <rt-3.6.HEAD-27252-1252501697-1493.38345-5-0 [...] rt.cpan.org>
Message-ID: <20090909132349.GC29160 [...] mar-adentro.intra>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Received: from mar-adentro (diesel.bestpractical.com [127.0.0.1]) by diesel.bestpractical.com (Postfix) with ESMTP id 0A33419B82C2; Wed, 9 Sep 2009 09:23:49 -0400 (EDT)
Received: by mar-adentro (Postfix, from userid 1000) id 20E5C49E04B; Wed, 9 Sep 2009 09:23:49 -0400 (EDT)
Delivered-To: cpan-bug+HTTP-Server-Simple [...] diesel.bestpractical.com
User-Agent: Mutt/1.5.20 (2009-06-14)
Subject: Re: [rt.cpan.org #38345] HTTP::Server::Simple::CGI has $VERSION that isn't independently eval-able.
Return-Path: <jesse [...] bestpractical.com>
X-Original-To: bug-HTTP-Server-Simple [...] rt.cpan.org
Date: Wed, 9 Sep 2009 09:23:49 -0400
To: Elliot Shank via RT <bug-HTTP-Server-Simple [...] rt.cpan.org>
From: Jesse Vincent <jesse [...] fsck.com>
RT-Message-ID: <rt-3.6.HEAD-27252-1252502635-491.38345-0-0 [...] rt.cpan.org>
Content-Length: 474
Download (untitled) / with headers
text/plain 474b
On Wed 9.Sep'09 at 9:08:18 -0400, Elliot Shank via RT wrote: Show quoted text
> Queue: HTTP-Server-Simple > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=38345 > > > Jesse via RT wrote:
> > I'm not really a fan of this sort of thing. It's a lot of complexity to > > work around what I see as an annoying flaw in CPANPLUS.
> > I beg to differ. How much effort does it to plainly declare the version of a module?
$VERSION = '0.40'; is pretty plain and clear, no?
MIME-Version: 1.0
X-Spam-Status: No, hits=-0.0 required=8.0 tests=SPF_PASS
In-Reply-To: <rt-3.6.HEAD-27252-1252502635-491.38345-6-0 [...] rt.cpan.org>
References: <RT-Ticket-38345 [...] rt.cpan.org> <489CD8E4.4040000 [...] galumph.com> <rt-3.6.HEAD-27252-1252491679-220.38345-5-0 [...] rt.cpan.org> <20090909112649.GB14244 [...] bestpractical.com> <rt-3.6.HEAD-27252-1252495626-1985.38345-6-0 [...] rt.cpan.org> <4AA7A8AA.6040704 [...] galumph.com> <rt-3.6.HEAD-27252-1252501697-1493.38345-5-0 [...] rt.cpan.org> <20090909132349.GC29160 [...] mar-adentro.intra> <rt-3.6.HEAD-27252-1252502635-491.38345-6-0 [...] rt.cpan.org>
Message-ID: <4AA87D22.70003 [...] galumph.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-RT-Original-Encoding: utf-8
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by diesel.bestpractical.com (Postfix) with SMTP id 5DF7E19B8314 for <bug-HTTP-Server-Simple [...] rt.cpan.org>; Thu, 10 Sep 2009 00:14:40 -0400 (EDT)
Received: (qmail 24224 invoked by uid 103); 10 Sep 2009 04:14:39 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 10 Sep 2009 04:14:39 -0000
Received: from pendrell.textdrive.com (HELO pendrell.textdrive.com) (207.7.108.149) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Wed, 09 Sep 2009 21:14:32 -0700
Received: from emdaer.local (adsl-69-209-207-216.dsl.chcgil.ameritech.net [69.209.207.216]) by pendrell.textdrive.com (Postfix) with ESMTP id B50ECBBE25 for <bug-HTTP-Server-Simple [...] rt.cpan.org>; Thu, 10 Sep 2009 04:14:28 +0000 (GMT)
Delivered-To: cpan-bug+HTTP-Server-Simple [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #38345] HTTP::Server::Simple::CGI has $VERSION that isn't independently eval-able.
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.5.0
Return-Path: <perl [...] galumph.com>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-HTTP-Server-Simple [...] rt.cpan.org
Date: Wed, 09 Sep 2009 23:14:26 -0500
X-Spam-Level: *
To: bug-HTTP-Server-Simple [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Elliot Shank <perl [...] galumph.com>
RT-Message-ID: <rt-3.6.HEAD-27252-1252556096-158.38345-0-0 [...] rt.cpan.org>
Content-Length: 455
Download (untitled) / with headers
text/plain 455b
Jesse via RT wrote: Show quoted text
> On Wed 9.Sep'09 at 9:08:18 -0400, Elliot Shank via RT wrote:
>> Jesse via RT wrote:
>>> I'm not really a fan of this sort of thing. It's a lot of complexity to >>> work around what I see as an annoying flaw in CPANPLUS.
>> I beg to differ. How much effort does it to plainly declare the version of a module?
> > > $VERSION = '0.40'; > > is pretty plain and clear, no?
But "$VERSION = $HTTP::Server::Simple::VERSION;" is not.
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-27252-1252556096-158.38345-5-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <489CD8E4.4040000 [...] galumph.com> <rt-3.6.HEAD-27252-1252491679-220.38345-5-0 [...] rt.cpan.org> <20090909112649.GB14244 [...] bestpractical.com> <rt-3.6.HEAD-27252-1252495626-1985.38345-6-0 [...] rt.cpan.org> <4AA7A8AA.6040704 [...] galumph.com> <rt-3.6.HEAD-27252-1252501697-1493.38345-5-0 [...] rt.cpan.org> <20090909132349.GC29160 [...] mar-adentro.intra> <rt-3.6.HEAD-27252-1252502635-491.38345-6-0 [...] rt.cpan.org> <4AA87D22.70003 [...] galumph.com> <rt-3.6.HEAD-27252-1252556096-158.38345-5-0 [...] rt.cpan.org>
Message-ID: <20090910060607.GA7208 [...] mar-adentro>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Received: from mar-adentro (diesel.bestpractical.com [127.0.0.1]) by diesel.bestpractical.com (Postfix) with ESMTP id 99A1B19B82C2; Thu, 10 Sep 2009 02:06:08 -0400 (EDT)
Received: by mar-adentro (Postfix, from userid 1000) id 0BAA249E1BF; Thu, 10 Sep 2009 02:06:08 -0400 (EDT)
Delivered-To: cpan-bug+HTTP-Server-Simple [...] diesel.bestpractical.com
User-Agent: Mutt/1.5.20 (2009-06-14)
Subject: Re: [rt.cpan.org #38345] HTTP::Server::Simple::CGI has $VERSION that isn't independently eval-able.
Return-Path: <jesse [...] bestpractical.com>
X-Original-To: bug-HTTP-Server-Simple [...] rt.cpan.org
Date: Thu, 10 Sep 2009 02:06:08 -0400
To: Elliot Shank via RT <bug-HTTP-Server-Simple [...] rt.cpan.org>
From: Jesse Vincent <jesse [...] fsck.com>
RT-Message-ID: <rt-3.6.HEAD-27252-1252562777-1696.38345-0-0 [...] rt.cpan.org>
Content-Length: 177
Download (untitled) / with headers
text/plain 177b
Show quoted text
> But "$VERSION = $HTTP::Server::Simple::VERSION;" is not.
Understood. Would it be wrong to remove the version number from the submodules and then tell CPAN to reindex them?
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-27252-1252562777-1696.38345-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <4AA7A8AA.6040704 [...] galumph.com> <rt-3.6.HEAD-27252-1252501697-1493.38345-5-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-3294-1421279132-788.38345-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 870
Download (untitled) / with headers
text/plain 870b
On Thu Sep 10 02:06:17 2009, jesse@fsck.com wrote: Show quoted text
> >
> > But "$VERSION = $HTTP::Server::Simple::VERSION;" is not.
> > Understood. Would it be wrong to remove the version number from the > submodules and then tell CPAN to reindex them?
(Wow, replying to 5 year old ticket) I had this problem when indexing modules locally with Parse::PMFile (for Carton). Since PAUSE already had an issue with this VERSION line and index them as "undef", you can simply remove the VERSION line. $ grep HTTP::Server::Simple::CGI ~/.cpanm/sources/http%www.cpan.org/02packages.details.txt HTTP::Server::Simple::CGI undef J/JE/JESSE/HTTP-Server-Simple-0.44.tar.gz HTTP::Server::Simple::CGI::Environment undef J/JE/JESSE/HTTP-Server-Simple-0.44.tar.gz Of course you could add its own $VERSION line with the real value, and let release management tool to auto-bump them.
MIME-Version: 1.0
X-Spam-Status: No, score=-3.201 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DNS_FROM_AHBL_RHSBL=2.699, FROM_OUR_RT=-4, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
In-Reply-To: <rt-4.0.18-3294-1421279132-1092.38345-5-0 [...] rt.cpan.org>
Content-Disposition: inline
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-38345 [...] rt.cpan.org> <4AA7A8AA.6040704 [...] galumph.com> <rt-3.6.HEAD-27252-1252501697-1493.38345-5-0 [...] rt.cpan.org> <rt-4.0.18-3294-1421279132-1092.38345-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <20150115010144.GB15065 [...] jibsheet.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -3.201
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] pobox.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 3818C2400FC for <cpan-bug+HTTP-Server-Simple [...] hipster.bestpractical.com>; Wed, 14 Jan 2015 20:02:08 -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 cH95PXVOwUIF for <cpan-bug+HTTP-Server-Simple [...] hipster.bestpractical.com>; Wed, 14 Jan 2015 20:02:02 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id AB6A92400DA for <bug-HTTP-Server-Simple [...] rt.cpan.org>; Wed, 14 Jan 2015 20:02:01 -0500 (EST)
Received: (qmail 13427 invoked by alias); 15 Jan 2015 01:02:01 -0000
Received: from pb-smtp1.int.icgroup.com (HELO sasl.smtp.pobox.com) (208.72.237.35) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Wed, 14 Jan 2015 17:01:57 -0800
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id DE38C2D5EE for <bug-HTTP-Server-Simple [...] rt.cpan.org>; Wed, 14 Jan 2015 20:01:52 -0500 (EST)
Received: from pb-smtp1.int.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id D54622D5ED for <bug-HTTP-Server-Simple [...] rt.cpan.org>; Wed, 14 Jan 2015 20:01:52 -0500 (EST)
Received: from cringle.local (unknown [12.130.117.26]) by pb-smtp1.pobox.com (Postfix) with ESMTPA id 36A0E2D5EC for <bug-HTTP-Server-Simple [...] rt.cpan.org>; Wed, 14 Jan 2015 20:01:51 -0500 (EST)
Received: by cringle.local (Postfix, from userid 502) id DA8147CB46FC; Wed, 14 Jan 2015 20:01:44 -0500 (EST)
Delivered-To: cpan-bug+HTTP-Server-Simple [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #38345] HTTP::Server::Simple::CGI has $VERSION that isn't independently eval-able.
User-Agent: Mutt/1.5.23 (2014-03-12)
Return-Path: <cpan [...] jibsheet.com>
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :subject:message-id:references:mime-version:content-type :in-reply-to; s=sasl; bh=MM/ejAfqbzwge2I1EGXNcMSwIrI=; b=fJt6eTG Y8HRawoqW1VWUY6rUXRjJhrW1EL6/VZn9B8sBLwLhhIc1j1PJPnuL4urRQRteTC8 CL+/sdevwDQXmVJuDX9NXs8s4h2fyrIqx9av6ndxfY8zvVK5aC61pZfYvJqY2yS1 Wki8P5xGAvXFBBhfgNBKUQmM16XzKyTGNhMw=
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+HTTP-Server-Simple [...] hipster.bestpractical.com
X-RT-Mail-Extension: http-server-simple
Date: Wed, 14 Jan 2015 20:01:44 -0500
X-Spam-Level:
To: Tatsuhiko Miyagawa via RT <bug-HTTP-Server-Simple [...] rt.cpan.org>
X-Pobox-Relay-ID: 16D5D1AE-9C52-11E4-9C6B-42529F42C9D4-53659760!pb-smtp1.pobox.com
From: Kevin Falcone <cpan [...] jibsheet.com>
RT-Message-ID: <rt-4.0.18-5999-1421283729-1055.38345-0-0 [...] rt.cpan.org>
Content-Length: 902
Download (untitled) / with headers
text/plain 902b
On Wed, Jan 14, 2015 at 06:45:32PM -0500, Tatsuhiko Miyagawa via RT wrote: Show quoted text
> I had this problem when indexing modules locally with Parse::PMFile (for Carton). Since PAUSE already had an issue with this VERSION line and index them as "undef", you can simply remove the VERSION line. > > $ grep HTTP::Server::Simple::CGI ~/.cpanm/sources/http%www.cpan.org/02packages.details.txt > HTTP::Server::Simple::CGI undef J/JE/JESSE/HTTP-Server-Simple-0.44.tar.gz > HTTP::Server::Simple::CGI::Environment undef J/JE/JESSE/HTTP-Server-Simple-0.44.tar.gz > > Of course you could add its own $VERSION line with the real value, and let release management tool to auto-bump them.
Those modules don't actually need a VERSION, so I've just removed them (and fixed ::Environment to read $HTTP::Server::Simple::VERSION directly) and shipped 0.45_03. I'll push a real version number in a few days. -kevin
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-5999-1421283729-1055.38345-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-38345 [...] rt.cpan.org> <4AA7A8AA.6040704 [...] galumph.com> <rt-3.6.HEAD-27252-1252501697-1493.38345-5-0 [...] rt.cpan.org> <rt-4.0.18-3294-1421279132-1092.38345-5-0 [...] rt.cpan.org> <20150115010144.GB15065 [...] jibsheet.com> <rt-4.0.18-5999-1421283729-1055.38345-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-9675-1422891905-1625.38345-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1015
Download (untitled) / with headers
text/plain 1015b
On Wed Jan 14 20:02:09 2015, FALCONE wrote: Show quoted text
> On Wed, Jan 14, 2015 at 06:45:32PM -0500, Tatsuhiko Miyagawa via RT > wrote:
> > I had this problem when indexing modules locally with Parse::PMFile > > (for Carton). Since PAUSE already had an issue with this VERSION line > > and index them as "undef", you can simply remove the VERSION line. > > > > $ grep HTTP::Server::Simple::CGI > > ~/.cpanm/sources/http%www.cpan.org/02packages.details.txt > > HTTP::Server::Simple::CGI undef J/JE/JESSE/HTTP-Server- > > Simple-0.44.tar.gz > > HTTP::Server::Simple::CGI::Environment undef J/JE/JESSE/HTTP-Server- > > Simple-0.44.tar.gz > > > > Of course you could add its own $VERSION line with the real value, > > and let release management tool to auto-bump them.
> > Those modules don't actually need a VERSION, so I've just removed them > (and fixed ::Environment to read $HTTP::Server::Simple::VERSION > directly) and shipped 0.45_03. I'll push a real version number in a > few days.
Resolved in 0.50 -kevin


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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