Summary: | Update minimum version of Perl to 5.10 | ||
---|---|---|---|
Product: | Koha | Reporter: | Magnus Enger <magnus> |
Component: | Installation and upgrade (web-based installer) | Assignee: | Magnus Enger <magnus> |
Status: | CLOSED FIXED | QA Contact: | Ian Walls <koha.sekjal> |
Severity: | minor | ||
Priority: | PATCH-Sent (DO NOT USE) | CC: | chris, gmcharlt, m.de.rooy, paul.poulain |
Version: | 3.6 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Proposed patch
Bug 7375 - Update minimum version of Perl to 5.10 |
Description
Magnus Enger
2011-12-22 08:51:50 UTC
perl -v says with me: This is perl, v5.10.0 built for x86_64-linux-thread-multi So I would go for a simple 5.10 Oops, I just assumed that the installer was actually checking for 5.10, but it seems it does not: 62 unless ( $] >= 5.008008 ) { # Bug 4505 63 $template->param( problems => 1, perlversion => 1, checkmodule => 0 ); I have changed the name of this bug to reflect the broader scope of this bug. Created attachment 6922 [details] [review] Proposed patch - Change the installer script to look for at least 5.10/5.010000 - Change the template to ask for the correct version To test: - Run through the webinstaller on 5.10 or newer and check that there are no errors. - Ideally: Run through the webinstaller on an older version than 5.10 and check that there *is* an error, asking for 5.10 or newer. Created attachment 6926 [details] [review] Bug 7375 - Update minimum version of Perl to 5.10 - Change the installer script to look for at least 5.10/5.010000 - Change the template to ask for the correct version To test: - Run through the webinstaller on 5.10 or newer and check that there are no errors. - Ideally: Run through the webinstaller on an older version than 5.10 and check that there *is* an error, asking for 5.10 or newer. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Simple change to version numbers, one in a comparison, other in a string. Marking Passed QA (as 5.10 is indeed the minimum version at this time) Patch pushed, please test Included in the 3.6 branch prior to 3.6.4. This has been in use for a while, without any complaints. |