--- lib/Plugins/Bugzilla.glade +++ lib/Plugins/Bugzilla.glade @@ -183,7 +183,7 @@ True 5 - You can create it <a href="https://bugzilla.redhat.com/createaccount.cgi">here</a> + You can create it <a href="https://qa.mandriva.com/createaccount.cgi">here</a> True True --- lib/Plugins/Bugzilla.conf.mdvbugzilla 2010-07-28 15:11:10.000000000 +0200 +++ lib/Plugins/Bugzilla.conf 2010-08-10 11:50:36.000000000 +0200 @@ -1,7 +1,7 @@ Enabled = yes # Bugzilla URL -BugzillaURL = https://bugzilla.redhat.com/ +BugzillaURL = https://qa.mandriva.com/ # yes means that ssl certificates will be checked SSLVerify = yes # your login has to exist, if you don have any, please create one --- lib/Plugins/Bugzilla.cpp.mdvbugzilla 2010-07-28 15:35:02.000000000 +0200 +++ lib/Plugins/Bugzilla.cpp 2010-08-10 12:02:06.000000000 +0200 @@ -328,13 +328,13 @@ { char *query = NULL; if (!release) - query = xasprintf("ALL component:\"%s\" whiteboard:\"%s\"", component, duphash); + query = xasprintf("ALL cf_rpmpkg:\"%s\" whiteboard:\"%s\"", component, duphash); else { char *product = NULL; char *version = NULL; parse_release(release, &product, &version); - query = xasprintf("ALL component:\"%s\" whiteboard:\"%s\" product:\"%s\"", + query = xasprintf("ALL cf_rpmpkg:\"%s\" whiteboard:\"%s\" product:\"%s\"", component, duphash, product ); free(product); @@ -418,17 +418,25 @@ char *version = NULL; parse_release(release.c_str(), &product, &version); + std::string bugzilla_arch; + if (arch.compare("i686")) { + bugzilla_arch = "i586"; + } else { + bugzilla_arch = arch; + } + xmlrpc_value* result = NULL; if (depend_on_bugno > -1) { result = call("Bug.create", "({s:s,s:s,s:s,s:s,s:s,s:s,s:s,s:i})", "product", product, - "component", component.c_str(), + "component", "Core Packages", + "cf_rpmpkg", package.c_str(), "version", version, "summary", summary.c_str(), "description", description.c_str(), "status_whiteboard", status_whiteboard.c_str(), - "platform", arch.c_str(), + "platform", bugzilla_arch.c_str(), "dependson", depend_on_bugno ); } @@ -638,8 +646,8 @@ CReporterBugzilla::CReporterBugzilla() : m_bSSLVerify(true), - m_sBugzillaURL("https://bugzilla.redhat.com"), - m_sBugzillaXMLRPC("https://bugzilla.redhat.com"XML_RPC_SUFFIX), + m_sBugzillaURL("https://qa.mandriva.com"), + m_sBugzillaXMLRPC("https://qa.mandriva.com"XML_RPC_SUFFIX), m_bRatingRequired(true) {} @@ -804,12 +812,12 @@ ); return bug_status; } - else if (all_bugs_size > 1) +/* else if (all_bugs_size > 1) { // When someone clones bug it has same duphash, so we can find more than 1. // Need to be checked if component is same. VERB3 log("Bugzilla has %u reports with same duphash '%s'", all_bugs_size, duphash.c_str()); - } + }*/ // decision based on state update_client(_("Bug is already reported: %i"), bug_id); --- lib/Plugins/abrt-Bugzilla.7 +++ lib/Plugins/abrt-Bugzilla.7 @@ -20,7 +20,7 @@ The \fIBugzilla.conf\fP configuration file contains several entries in the format "Option = Value". The options are: .SS BugzillaURL The URL of the Bugzilla instance that you want to use, including the -path to the xmlrpc. The default is https://bugzilla.redhat.com/xmlrpc.cgi +path to the xmlrpc. The default is https://qa.mandriva.com/xmlrpc.cgi .SS Login Your Bugzilla login. If you have no Bugzilla account, you cannot use the plugin. -- 1.7.1