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

= Close after upgrade (tested already) =
 * https://bugzilla.wikimedia.org/show_bug.cgi?id=42850
 * https://bugzilla.wikimedia.org/show_bug.cgi?id=32504
 * https://bugzilla.wikimedia.org/show_bug.cgi?id=49250 - https://bugzilla.wikimedia.org/userprefs.cgi?tab=settings now offers "Add 'New:' to subject line of email sent when a new bug is filed"
 * https://bugzilla.wikimedia.org/show_bug.cgi?id=56183 - superseded by new UI, WORKSFORME
 * https://bugzilla.wikimedia.org/show_bug.cgi?id=53199

Update after upgrade (tested already)

 * TODO: https://bugzilla.wikimedia.org/show_bug.cgi?id=28796 still requires admin to add a description! Same for 'Mobile Platform'.
 * https://bugzilla.wikimedia.org/show_bug.cgi?id=56040 - low prio, enh, NEW - leaving this open for upstreaming
 * Still valid: CSS invalidation, CSS URLs still do not have parameters in source code: https://bugzilla.wikimedia.org/show_bug.cgi?id=49720 and https://bugzilla.wikimedia.org/show_bug.cgi?id=49474 - WM Labs works fine though: link href=skins/standard/global.css?1387121683
 * Still valid: https://bugzilla.wikimedia.org/show_bug.cgi?id=49077 - Still valid in 4.4 - we would need to backport http://bzr.mozilla.org/bugzilla/trunk/revision/8512 for that.