bugbug icon indicating copy to clipboard operation
bugbug copied to clipboard

try to triage Eclipse bugs among components by bugbug

Open SuYanqi opened this issue 3 years ago • 9 comments

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

SuYanqi avatar Jul 04 '22 06:07 SuYanqi

It isn't super easy right now, but we are planning to make bugbug more generic. The first step will be supporting Thunderbird.

marco-c avatar Jul 05 '22 16:07 marco-c

It isn't super easy right now, but we are planning to make bugbug more generic. The first step will be supporting Thunderbird. Screen Shot 2022-07-08 at 8 58 58 AM

Since Eclipse is also based on bugzilla, could I use bugbug on it by just changing the product name in bugzilla.py?

SuYanqi avatar Jul 08 '22 01:07 SuYanqi

Unfortunately not, there are a few other things to change. Are you looking to use it for Eclipse just for testing or other reasons?

marco-c avatar Jul 08 '22 08:07 marco-c

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.

SuYanqi avatar Jul 20 '22 09:07 SuYanqi

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.

SuYanqi avatar Jul 22 '22 02:07 SuYanqi

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!

Screen Shot 2022-07-22 at 10 54 10 AM

SuYanqi avatar Jul 22 '22 02:07 SuYanqi

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.

marco-c avatar Jul 22 '22 11:07 marco-c

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?

SuYanqi avatar Jul 23 '22 14:07 SuYanqi

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

suhaibmujahid avatar Jul 27 '22 16:07 suhaibmujahid