From 9d81201a42cbb08a14cb23abbf40ccbf26b98c49 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 11 Oct 2010 19:33:05 +0200 Subject: move bugzilla reporting to a separate program (abrt-action-bugzilla) This patch splits off Bugzilla plugin's bugzilla submission generation into a separate tool: abrt-action-bugzilla: invalid option -- 'z' Usage: abrt-action-bugzilla -c CONFFILE -d DIR [-vs] Report a crash to Bugzilla Options: -c FILE Configuration file (may be given many times) -d DIR Crash dump directory -v Verbose -s Log to syslog This change is bigger than previous similar patches: I needed to find a way to pass settings to the child and get back reporting result - all without breaking current interface. I decided to pass configuration via -c CONFFILE: (1) it is trivial to pass /etc/abrt/bugzilla.conf to it, and (2) I can use "-c -" to parse config from stdin. abrtd simply write per-reporting settings to child's stdin. The log and reporting result (success/failure) is taken from child's stdout. After a few more such patches, we can remove XMLRPC and HTTP code and library dependencies from abrtd. Signed-off-by: Denys Vlasenko --- abrt.spec | 1 + 1 file changed, 1 insertion(+) (limited to 'abrt.spec') diff --git a/abrt.spec b/abrt.spec index 1b04dda6..67d7a0ae 100644 --- a/abrt.spec +++ b/abrt.spec @@ -351,6 +351,7 @@ fi %{_sbindir}/abrt-server %{_sbindir}/abrt-action-generate-backtrace %{_sbindir}/abrt-action-save-package-data +%{_bindir}/abrt-action-bugzilla %{_bindir}/abrt-action-install-debuginfo %{_bindir}/%{name}-handle-upload %{_bindir}/%{name}-backtrace -- cgit