summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Bugzilla.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-08-26 19:40:28 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-08-26 19:40:28 +0200
commitcaf38bbfe3279b9bea861e4d5b70f3c50c6e1755 (patch)
tree5ed7f83b0bdb584422f2e99489cfc81aac645500 /lib/Plugins/Bugzilla.cpp
parentfca6fa371006186d12a720cd48c270789c67d2e6 (diff)
downloadabrt-caf38bbfe3279b9bea861e4d5b70f3c50c6e1755.tar.gz
abrt-caf38bbfe3279b9bea861e4d5b70f3c50c6e1755.tar.xz
abrt-caf38bbfe3279b9bea861e4d5b70f3c50c6e1755.zip
add job ids (== thread ids) to warning/update DBus messages
renamed: comm_layer_inner_warning -> warn_client comm_layer_inner_status -> update_client Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/Bugzilla.cpp')
-rw-r--r--lib/Plugins/Bugzilla.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp
index b92aa157..f2fb13a5 100644
--- a/lib/Plugins/Bugzilla.cpp
+++ b/lib/Plugins/Bugzilla.cpp
@@ -215,7 +215,7 @@ std::string CReporterBugzilla::CheckUUIDInBugzilla(const std::string& pComponent
ss << xmlrpc_c::value_int(bug["bug_id"]);
log("Bug is already reported: %s", ss.str().c_str());
- comm_layer_inner_status("Bug is already reported: " + ss.str());
+ update_client("Bug is already reported: " + ss.str());
if (!CheckCCAndReporter(ss.str()))
{
@@ -274,8 +274,8 @@ void CReporterBugzilla::CreateNewBugDescription(const map_crash_report_t& pCrash
}
else if (it->second[CD_TYPE] == CD_BIN)
{
- comm_layer_inner_warning("Binary file "+it->first+" will not be reported.");
- comm_layer_inner_status("Binary file "+it->first+" will not be reported.");
+ warn_client("Binary file "+it->first+" will not be reported.");
+ update_client("Binary file "+it->first+" will not be reported.");
}
}
}
@@ -343,7 +343,7 @@ std::string CReporterBugzilla::NewBug(const map_crash_report_t& pCrashReport)
ret = xmlrpc_c::value_struct(rpc->getResult());
bugId << xmlrpc_c::value_int(ret["id"]);
log("New bug id: %s", bugId.str().c_str());
- comm_layer_inner_status("New bug id: " + bugId.str());
+ update_client("New bug id: " + bugId.str());
}
catch (std::exception& e)
{
@@ -404,20 +404,20 @@ std::string CReporterBugzilla::Report(const map_crash_report_t& pCrashReport, co
std::string component = pCrashReport.find(FILENAME_COMPONENT)->second[CD_CONTENT];
std::string uuid = pCrashReport.find(CD_UUID)->second[CD_CONTENT];
std::string bugId;
- comm_layer_inner_status("Logging into bugzilla...");
+ update_client("Logging into bugzilla...");
NewXMLRPCClient();
try
{
Login();
- comm_layer_inner_status("Checking for duplicates...");
+ update_client("Checking for duplicates...");
if ((bugId = CheckUUIDInBugzilla(component, uuid)) == "")
{
- comm_layer_inner_status("Creating new bug...");
+ update_client("Creating new bug...");
bugId = NewBug(pCrashReport);
AddAttachments(bugId, pCrashReport);
}
- comm_layer_inner_status("Logging out...");
+ update_client("Logging out...");
Logout();
}
catch (CABRTException& e)