User:Malyacko/Bugzilla44Upgrade

Document refers to upgrading Bugzilla from 4.2.7 to 4.4.1.

= Misc =


 * ./checksetup.pl failed for me on Fedora 20: Checking for DBI (v1.614) found v1.63
 * due to https://bugzilla.mozilla.org/show_bug.cgi?id=938300 / https://rt.cpan.org/Public/Bug/Display.html?id=90142
 * also discussed in this thread: https://groups.google.com/forum/#!msg/mozilla.support.bugzilla/inM7S8psYEQ/eP6v2_LeLTMJ
 * workaround: comment out "$VERSION = eval $VERSION;" in /usr/lib/perl5/vendor_perl/DBI.pm
 * extensions/Sitemap fails with perl module "Search-Sitemap" not found, simply "rm -rf /extensions/Sitemap" in case this happens to us.
 * http://bzr.mozilla.org/bugzilla/extensions/sitemap/trunk/files has not seen updates since 2010
 * There is a package called "perl-Search-Sitemap" for some distros
 * Recent mailing list thread implies that it might not be needed anymore
 * Unlikely to run into: Perl Email module: https://bugzilla.mozilla.org/show_bug.cgi?id=884727
 * InlineHistory: undef error - Undefined subroutine &Bugzilla::Bug::GetBugActivity called at ./extensions/InlineHistory/Extension.pm line 37 due to https://bugzilla.mozilla.org/show_bug.cgi?id=825881 https://gerrit.wikimedia.org/r/#/c/97994/
 * Upstream differences in skin loading, not all custom ones loaded anymore: http://bzr.mozilla.org/bugzilla/trunk/revision/8553 Fixed: https://gerrit.wikimedia.org/r/#/c/98005/ and tested that explicitly setting Dusk as theme in userprefs still works as expected.

= Downtime Announcement = bugzilla.wikipedia.org will be unavailable due to maintenance work on Xday, February 30th from 22:00UTC until max. Xday, February 30th 02:00UTC (Xday, November 29th 14:00PST until max. 18:00PST).
 * Set https://bugzilla.wikimedia.org/editparams.cgi?section=general#announcehtml_desc to

= Shutdown Announcement = bugzilla.wikipedia.org will be unavailable due to maintenance work on Xday, February 30th from 22:00UTC until max. Xday, February 30th 02:00UTC (Xday, November 29th 14:00PST until max. 18:00PST).
 * Set https://bugzilla.wikimedia.org/editparams.cgi?section=general#shutdownhtml to

= Must test after upgrade =
 * Voting! If it does not work, we did not remove the "disabled" file in /extensions/Voting
 * Check if extension https://bugzilla.wikimedia.org/weekly-bug-summary.cgi?tops=10&days=7 works at all - see above.
 * /reports.cgi

= Other stuff to do after disabling bugmail =
 * Merge version numbers in "MediaWiki" product:
 * {1.20 etc} => 1.20.x
 * Remove wikibugs-l: https://bugzilla.wikimedia.org/show_bug.cgi?id=47013

= After all is done = Wikimedia Bugzilla was upgraded to a new software version on Feb 30th, 2014. If you find problems with Bugzilla itself please file a bug report.
 * Set announcehtml in Bugzilla to
 * Close https://bugzilla.wikimedia.org/show_bug.cgi?id=49597
 * Move https://www.mediawiki.org/wiki/Bug_management/Upgrade-notes-4.2.7-to-4.4.1 to http://wikitech.wikimedia.org/view/Bugzilla.wikimedia.org/Upgrade-notes-4.2.7-to-4.4.1
 * Fix Saved Reports: https://gerrit.wikimedia.org/r/#/c/107423/
 * useful links on frontpage: https://gerrit.wikimedia.org/r/#/c/106650/ - fixes also bug 44058
 * duplicates.cgi: https://gerrit.wikimedia.org/r/#/c/105938/
 * Fix new Mingle URLs: https://bugzilla.wikimedia.org/show_bug.cgi?id=58446
 * Redeploy https://bugzilla.wikimedia.org/show_bug.cgi?id=58415 - this was not deployed on 4.4!
 * Other waiting patches in Gerrit
 * Add Trello URLs: https://bugzilla.wikimedia.org/53969

= Should retest after upgrade =
 * https://bugzilla.wikimedia.org/buglist.cgi?bug_id=28796,36064,49077,49250,53199,56040,56183
 * https://bugzilla.wikimedia.org/show_bug.cgi?id=42850 (new Perl version!)
 * https://bugzilla.wikimedia.org/show_bug.cgi?id=32504 should work out of the box!
 * CSS invalidation, check in source code whether CSS URLs have parameter: https://bugzilla.wikimedia.org/show_bug.cgi?id=49720 and https://bugzilla.wikimedia.org/show_bug.cgi?id=49474