[Koha-bugs] [Bug 8780] New: Lower dependency version for DateTime::TimeZone

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 18 06:47:01 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8780

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8780
          Assignee: gmcharlt at gmail.com
           Summary: Lower dependency version for DateTime::TimeZone
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: mtompset at hotmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: Installation and upgrade (command-line installer)
           Product: Koha

A base Debian install of 6.0.5 has a DateTime::TimeZone version 1.20 available
(including debian.koha-community.org repositories), but the PerlDependencies.pm
says 1.26

After discussions on the IRC channel
(http://irc.koha-community.org/irclog/koha/2012-09-17) from 08:50-09:35 and
12:44-13:07, I decided to email Colin Campbell.

He replied:
"No its a nominal number. Looking through the changes log nearly all
changes up to current (1.50) are just updates to reflect data changes in
some timezones. We're mainly using it for the timezone names so I think
1.20 will be fine.
I think the only reason a number was chosen was because one of the
install routines didnt allow us just to say any DateTime::TimeZone
Cheers
Colin"

Given that Colin says it should be okay to lower it to 1.20, and that Wajasu
has purposefully tweaked his out since June (almost 3 months), I propose we
lower the minimum value to 1.20 from 1.26. This will make git installs under
Debian attainable.

Test
-----
1) Do a fresh git clone on Debian.
2) cd the clone.
3) sudo apt-get install dselect
4) sudo dpkg --set-selections < install_misc/debian.packages
5) sudo dselect
6) choose I, C, R, and then Q.
7) ./koha_perl_deps.pl -m -u
8) Notice that despite being installed, DateTime::TimeZone is 1.20 vs. the
required 1.26

now apply patch
9) ./koha_perl_deps.pl -m -u
10) Notice that DateTime::TimeZone is no longer listed.

As for the other items, that can be fixed by running my check_deps.sh script
which is in the release-tools repo (I believe), and as such, is another bug
report.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list