bugbug
bugbug copied to clipboard
try to triage Eclipse bugs among components by bugbug
Hi, bugbug is a nice work to do bug triaging among components. I want to do bug-component triaging on Eclipse by using bugbug. What should I do?
Thanks
It isn't super easy right now, but we are planning to make bugbug more generic. The first step will be supporting Thunderbird.
It isn't super easy right now, but we are planning to make bugbug more generic. The first step will be supporting Thunderbird.
Since Eclipse is also based on bugzilla, could I use bugbug on it by just changing the product name in bugzilla.py?
Unfortunately not, there are a few other things to change. Are you looking to use it for Eclipse just for testing or other reasons?
Unfortunately not, there are a few other things to change. Are you looking to use it for Eclipse just for testing or other reasons?
Yes, I want to test the generalization of bugbug.
Unfortunately not, there are a few other things to change. Are you looking to use it for Eclipse just for testing or other reasons?
Yes, I want to test the generalization of bugbug.
Besides, I noticed that you rollback the bug to the time it was filed. Where could I get the history of comments changing? What corner cases do I need to consider? I'm very interested in it since we always ignore the bug rollback when designing tools.
Looking forward to your reply and thank you very much!

You can find the source code for the tool that rolls back bugs here: https://github.com/mozilla/bugbug/blob/master/bugbug/bug_snapshot.py.
There are many corner cases that we had to deal with, some we could probably have just ignored (e.g. some old keywords that were renamed, we built a mapping from the old names to the new names). It's much easier if you only take into account comments, while our tool is also playing back the changes in the bug metadata.
Thanks very much!
I didn't find how to get the history of comment changing in https://bugzilla.readthedocs.io/en/latest/api/core/v1/comment.html# How can I get it?
Bugzilla provides history for the bug metadata, not for changes in the comment itself (I'm not sure if this is needed or even accessible through the API): https://bugzilla.readthedocs.io/en/latest/api/core/v1/bug.html#bug-history
