Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 377204

Summary: Upgrade to Bugzilla 4.2
Product: Community Reporter: Denis Roy <denis.roy>
Component: BugzillaAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: contact, eclipse, LpSolit, markus.kell.r, robert.elves, steffen.pingel, stephen.francisco
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 104100, 304229, 308533    

Description Denis Roy CLA 2012-04-19 11:28:09 EDT
Bugzilla just released Bugzilla 4.2.1.  Here are the release notes for 4.2:

http://www.bugzilla.org/releases/4.2/release-notes.html

Here are the items that I believe may be of high interest to our community:


Creating an Attachment by Pasting Text Into a Text Field
You can now create a new attachment simply by pasting some text into a text field, in addition to the normal upload process for attachments.



HTML Bugmail
By default, bugmails (email notifications about changes to bugs) are now sent in an HTML format that is more readable than the old text format. Those who prefer the old text format can still choose it in their Preferences, however.



Improved Searching System
The Custom Search section in the Advanced Search page has been redesigned to work in a more sensible way. Complex queries are easier to build and have more sensible results, as they are built using a more intuitive logic. Some very complicated queries are still impossible to generate, though. Things should improve in future releases.


Bugs: User-autocompletion is now much faster on installations with many user accounts.

Bugs: The See Also field now accepts URLs pointing to MantisBT, Trac, JIRA and the sourceforge.net bug trackers.

Bugs: Displaying a bug with many dependencies is now much faster.

Searches: Buglists will now only display the first 500 bugs by default. It is still possible to display the whole list, though.

Searches: When using relative dates and times, -1w is now a synonym for -7d and means exactly 7 days. Previously, -1w meant the beginning of the week, which was confusing some users. The same confusion existed for -1d which was different from -24h, and for -1m which was different from -30d. Now if you really want the beginning of the day, week or month, you must use -1ds, -1ws, and -1ms respectively, where "s" means "start of". This change will affect existing saved searches using relative dates.

Searches: A new Include fulltext when performing quick searches user preference has been added which permits users to include or exclude comments when using quicksearches.

Searches: It is now possible to query for bugs based on personal tags in the Custom Search section in the Advanced Search page
Comment 1 Denis Roy CLA 2012-04-19 11:29:24 EDT
cc'ing the usual Mylyn suspects.  FWIW, I don't have a date planned, but it will definitely happen after Juno.
Comment 2 Steffen Pingel CLA 2012-04-20 18:30:09 EDT
Thanks. Let us know when the sandbox is running 4.2. Mylyn supports Bugzilla 4.2 but it would be great to do a round of testing against the Eclipse.org instance.
Comment 3 Denis Roy CLA 2012-07-18 15:20:14 EDT
For my own notes, while upgrading some of the perl modules, the latest DBD::mysql didn't compile.  I get the feeling our .so is too old.

http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.018.tar.gz installed just fine, but it's only on bugs-vm2
Comment 4 Denis Roy CLA 2012-07-18 15:37:16 EDT
I've got a sandbox running here:

https://bugs.eclipse.org/bugstest

It's not running mod_perl and it's using a slow database, but it does work.  I haven't ported our custom template changes yet, will do so shortly.
Comment 5 Frank Becker CLA 2012-07-18 16:27:39 EDT
I did a quick test and the basics create and comment of existing bugs work
Comment 6 Denis Roy CLA 2012-07-19 16:14:18 EDT
I've scheduled the upgrade for Friday afternoon, July 27.
Comment 7 Steve Francisco CLA 2012-07-22 14:36:31 EDT
FYI, I was on another bugzilla system that upgraded to 4.2.  The change that got the most negative feedback was the switch to HTML format emails. Most users thought it was difficult to read/ugly.  It's easy to go into preferences and turn it back to plain text, but it would have been less disruptive if the 'default' was non-html.  I don't know if you have control over that or would just want to inform everyone of how to turn it off if they hate the html emails.
Comment 8 Denis Roy CLA 2012-07-23 11:46:11 EDT
Thanks for the feedback.  The HTML mail format is what scares me the most.  I've done some work towards polishing it up, but it remains just an odd format to present data we're used to seeing in plain text.  I could completely suppress the HTML email, or I could probably mass-change everyone's preference to prefer plaintext email (and those who wish HTML could choose so).

The other issue that's bothering me is this decision from the Mozilla team to postpone 4.2 deployment on Mozilla's production Bugzilla instance.

https://groups.google.com/forum/?fromgroups#!topic/mozilla.dev.planning/BIJgdHYR-5I

Since the issues haven't been disclosed, it's hard to judge the severity or predict their impact on bugs.eclipse.org.  But by the same token, upgrading to 4.2 here could provide the Mozilla team some valuable, constructive feedback.  The upgrade from 4.0.x to 4.2.x cannot be reversed without data loss, however.
Comment 9 Frédéric Buclin CLA 2012-07-24 19:00:32 EDT
(In reply to comment #7)
> I don't know if you have control over that or would
> just want to inform everyone of how to turn it off if they hate the html
> emails.

As for all user preferences, admins can set the default value to "text only", so only those who want HTML emails will have to change their preferences. So this is not an issue.


(In reply to comment #8)
> The other issue that's bothering me is this decision from the Mozilla team to
> postpone 4.2 deployment on Mozilla's production Bugzilla instance.

The reasons to postpone the bmo upgrade aren't secret. The main reason is that some changes in Search.pm prevent some old queries from returning the expected results, see e.g. the discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=677757. Some other reasons have to do with some local customizations and so aren't relevant to Eclipse's Bugzilla. Just in case, the meta-bug about the upgrade is https://bugzilla.mozilla.org/show_bug.cgi?id=764897.

Note that you shouldn't worry too much about bmo not upgrading to 4.2.1 yet. Some other major installations, such as RedHat, Gentoo, KDE and Apache, are already running Bugzilla 4.2.1 successfully, see http://lpsolit.wordpress.com/bugzilla-usage-worldwide/. And the reason that we lag so much to release 4.2.2 is because 4.2.1 is pretty stable and no new release is required for now. ;)
Comment 10 Denis Roy CLA 2012-07-25 13:26:31 EDT
Thanks for confirming.  I'll proceed with the upgrade as planned.
Comment 11 Frédéric Buclin CLA 2012-07-25 18:51:39 EDT
(In reply to comment #10)
> Thanks for confirming.  I'll proceed with the upgrade as planned.

Please postpone the upgrade or first read what I will write in a recently discovered security bug on bmo. I will CC Denis to that security bug so that he has all the details and can make the final decision.
Comment 12 Denis Roy CLA 2012-07-26 10:46:44 EDT
> Please postpone the upgrade or first read what I will write in a recently
> discovered security bug on bmo.

Thanks for the head's up.  I'll upgrade as planned and I'll use the plaintext workaround you proposed on b.m.o.
Comment 13 Denis Roy CLA 2012-07-27 14:59:18 EDT
Bugzilla was upgraded to 4.2.1.  If you see anything missing or broken, please open separate bugs so they can be addressed.