Bugzilla now requires Template-Toolkit 2.22

Frédéric Buclin lpsolit at gmail.com
Fri Jul 24 19:23:25 UTC 2009


Hi all,

I just checked in a patch which requires Template-Toolkit 2.22 on HEAD 
and on the 3.4 branch (and on the 3.2 branch on Windows only). This 
means that Bugzilla 3.5.1, 3.4 and 3.2.5 will all require TT 2.22. This 
also means that if you upgrade via CVS starting from a few minutes ago, 
TT 2.22 is also required.

I checked, and TT 2.22 is available via PPM on Windows since a few hours 
ago. On Linux, http://www.cpan.org/modules/01modules.index.html didn't 
refresh since last Saturday for some unknown reason. I emailed them 
about this earlier today. All other CPAN mirrors I could find are 
up-to-date. The problem is that the install-module.pl script available 
with Bugzilla looks at http://www.perl.org/CPAN/ to get the list of new 
modules. But TT 2.22 was released on Tuesday, i.e. *after* the list has 
been refreshed for the last time. So if you type:

./install-module.pl Template

it will install TT 2.21 only. In fact, install-module.pl is not the one 
looking at the URL above, but the CPAN module itself. One way to work 
around this problem till the list is refreshed is to add the following 
lines at the end of the _set_cpan_defaults() subroutine in 
Bugzilla/Install/CPAN.pm (so near line 202):

     @CPAN::Defaultsites =
       map { CPAN::URL->new(TEXT => $_, FROM => "DEF") }
         ("ftp://ftp.perl.org/pub/CPAN/");

This will force the CPAN module to look at this alternate site to get 
the list, which is up-to-date. So

./install-module.pl Template

will now correctly download and install TT 2.22. You can remove this 
workaround from _set_cpan_defaults() as soon as TT is updated, if you 
want to.

This checkin fixed the last 2 blockers, and so we are now ready to 
release Bugzilla 3.4. As mkanat said the other day, this should happen 
early next week (maybe Tuesday).


Have a nice week-end,

LpSolit



More information about the developers mailing list