On Tue Jun 16 21:44:54 2015, ETHER wrote:
Show quoted text>
> > #3 is to simply make most or all of the tests for Local::Win32 author
> > tests that implicitly rely on DT::TZ being installed. That's probably
> > the easiest change. Then I can make DT::TZ conditionally require
> > Local::Win32 on Win32 boxes and Local::Win32 can stop depending on
> > DT::TZ.
>
> Instead of making them author tests, they should skip if DT::TZ isn't
> yet installed. That way not all test coverage is lost - the tests will
> still be run if upgrading an existing installation. Coverage from CPAN
> Testers smokers is invaluable for finding and fixing issues.
>
> However, I don't understand the objection to absorbing the win32 code
> -- I don't think this should be used as a factor in the decision. The
> community is available to help, as they are when win32-specific issues
> arise in our other code.
I will update the Win32 code to run the tests condtionally on the existence of the DT::TZ module. I agree we need the test coverage as it is usually through user testing where I can identify that Microsoft updated its time zone implementation to add or modify zones.
As far as keeping the distros separate, there are practical reasons beyond that fact that Dave is not set up to test on Windows. The other is that DT::TZ mostly updates when there are changes to the TZ database. The Win32 code does not update as often, but is expected to update when Microsoft updates Windows time zones, which usually happens no more than a few times a year at most. Sure, it is possible to do them together, but separately, it seems more straightforward.