-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request: doc about importing External bugs information #523
Comments
If you want to add a link between a FAF report and a Bugzilla bug, you can either do that manually on the Report page or configure ABRT to attach the opened Bugzilla bug URL to the micro-report on your FAF instance. Manual associationMake sure that the faf-bugtracker-centos-mantis, faf-bugtracker-fedora-bugzilla and faf-bugtracker-rhel-bugzilla packages are properly installed (the combination of "yum/dnf" and the command Go to the report page and click the "Associate bug" button. If you cannot see that button, log in via OpenID. If you are logged in and still cannot see the button, you must associate your user name with the component of the report - become a maintainer or watch the component in Fedora pkgdb. If don't want to deal with components, you can make your account an administrator account:
If ryou don't want to deal with user logging at all, you can configure FAF to allow everyone to associate a bug with a report by setting ABRT - automatic associationABRT automatically associates FAF reports with Bugzilla bugs opened by ABRT (MantisBT reports must be pulled in on FAF If this does not answer your question, please, tell me your goal and we will find a way how to achieve it. What kind of correlation you have on mind? |
Thanks Jakub for your quick response! |
Well, there is no built-in support for this task but it is definitely possible. Every FAF report is identified by BTHASH (DB table |
Hi Jakub! I already have the information in a JSON file. Which table has the State, External Bug, and Probably fixed values inside? Is it OK to update it manually? |
bzbugs - https://github.com/abrt/faf/blob/master/src/pyfaf/storage/bugzilla.py#L60
problems - https://github.com/abrt/faf/blob/master/src/pyfaf/storage/problem.py#L59
problems - https://github.com/abrt/faf/blob/master/src/pyfaf/storage/problem.py#L174 What about to create a python script using FAF API to load the JSON file into the database instead of direct modification of the database? I would love to see that script and maybe include it in FAF. |
Sorry for pinging on such an old issue but:
Does this mean that FAF would be able to automagically associate a problem with an existing bug if it matches certain conditions? I cannot seem to find related configuration for this to work. |
You need to run the The condition is typically having Edit: Or, I guess, |
If the association FAF server problem - MantisBT bug is based on the previously commented
|
It’s a hash of a stack trace. If the trace is identical, the hash will be identical as well. |
@ernestask Regarding your previous comment, the same error, reported to two different instances, creates a different
(Forcing the same error but changing the FAF URL the ureport is sent to) So AFAIU attaching my reports to existing bugs will not work. EDIT: I would gladly create a different issue for this, but I think this is strictly related to the problem mentioned on this one. |
I couldn't find any documentation about how to import to a private FAF instance this information:
Is there any way of doing that? How do you correlate this information later on?
Thanks!
The text was updated successfully, but these errors were encountered: