Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime-TimeZone CPAN distribution.

Report information
The Basics
Id: 49402
Status: resolved
Priority: 0/
Queue: DateTime-TimeZone

People
Owner: Nobody in particular
Requestors: jwing [...] us.ibm.com
Cc:
AdminCc:

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



Subject: Build tests are dependent upon DateTime
Date: Thu, 3 Sep 2009 13:16:28 -0400
To: bug-DateTime-TimeZone [...] rt.cpan.org
From: John Wingenbach <jwing [...] us.ibm.com>
The DateTime::TimeZone module is a prerequisite module for DateTime. As such, it has to be built first/prior to the build/test/installation of DateTime. Any/All tests for the DateTime::TimeZone module need to be able to be done without having DateTime installed. Otherwise, it defeats the purpose of testing the module prior to installation. -- John Wingenbach IBM Special Events Systems Administrator Cell: 919-741-0468 Pager: john.wingenbach@events.ihost.com
Subject: Re: [rt.cpan.org #49402] Build tests are dependent upon DateTime
Date: Thu, 3 Sep 2009 13:12:23 -0500 (CDT)
To: "jwing [...] us.ibm.com via RT" <bug-DateTime-TimeZone [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Thu, 3 Sep 2009, jwing@us.ibm.com via RT wrote: Show quoted text
> The DateTime::TimeZone module is a prerequisite module for DateTime. As > such, it has to be built first/prior to the build/test/installation of > DateTime. Any/All tests for the DateTime::TimeZone module need to be able > to be done without having DateTime installed. Otherwise, it defeats the > purpose of testing the module prior to installation.
Err, patches welcome. It's easy to say "this needs to be so" but harder to do. DateTime::TimeZone makes extensive use of DateTime.pm internally. This works because it uses DateTime with the floating time zone, and so doesn't need any real time zone calculations. Personally, I'm not inclined to spend any time "fixing" this. While it's true that the tests are not runnable on a first installation, they will be runnable after DateTime is installed. Moreover, I'm not convinced that running tests on every installation is _necessary_. It's the Perl/CPAN way, but it's a pretty unique thing. Package-based systems like Debian and RedHat do just fine with installing packages that were tested elsewhere. I'm going to close this bug, so please don't respond to this ticket, or it will be re-opened. If you'd like to discuss this further, please do so on the datetime@perl.org list. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/