diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-11 19:33:05 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-11 19:33:05 +0200 |
commit | 9d81201a42cbb08a14cb23abbf40ccbf26b98c49 (patch) | |
tree | 6bd231285d58e38de89656f6134d54fcc8dd3802 /lib/plugins/RunApp.cpp | |
parent | 86cfa357aae945eac2e11ef1379c94e5ef27ccd6 (diff) | |
download | abrt-9d81201a42cbb08a14cb23abbf40ccbf26b98c49.tar.gz abrt-9d81201a42cbb08a14cb23abbf40ccbf26b98c49.tar.xz abrt-9d81201a42cbb08a14cb23abbf40ccbf26b98c49.zip |
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 <dvlasenk@redhat.com>
Diffstat (limited to 'lib/plugins/RunApp.cpp')
0 files changed, 0 insertions, 0 deletions