summaryrefslogtreecommitdiffstats
path: root/lib/plugins/Bugzilla.cpp
Commit message (Collapse)AuthorAgeFilesLines
* move files from lib/plugins to src/pluginsJiri Moskovcak2010-11-101-155/+0
|
* introduce and use xmalloc_fgets/fgetlineDenys Vlasenko2010-10-221-6/+7
| | | | | | | This fixes problems of having long lines truncated - and we do have very long lines sometimes - curl errors with HTML, list of debuginfos etc. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* bugzilla: trivial cleanupDenys Vlasenko2010-10-191-3/+5
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move bugzilla reporting to a separate program (abrt-action-bugzilla)Denys Vlasenko2010-10-111-926/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* s/CD_DUPHASH/FILENAME_DUPHASH/gDenys Vlasenko2010-10-111-2/+2
| | | | | | | This is needed to make duplicate hash visible for separate programs looking at crash dumps. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* s/NoSSLVerify/SSLVerify/gNikola Pajkovsky2010-09-141-1/+1
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* DebugDump.* -> dump_dir.*Nikola Pajkovsky2010-09-071-1/+0
| | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com> Acked-off-by: Jiri Moskovcak <jmoskovc@redhat.com>
* remove one redundant checkKamil Dudka2010-08-311-32/+28
| | | | | Signed-off-by: Kamil Dudka <kdudka@redhat.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrtlib.h: include <assert.h> and "strbuf.h"Denys Vlasenko2010-08-301-1/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* include config.h in abrtlib.hJiri Moskovcak2010-08-271-3/+0
| | | | | | - config.h contains #define ENABLE_NLS which is required for localization to work
* assignment segfaults if right hand is a NULL pointerNikola Pajkovsky2010-08-181-1/+1
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* *: move NLS include and #define _ to abrtlib.hDenys Vlasenko2010-08-171-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix double freeNikola Pajkovsky2010-08-171-1/+1
| | | | | | | | when add_comment() fails it's always fail in xmlrpc. So we should use throw_xml_fault() instead of throw_if_xml_fault_occurred() Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* get rid of std::string from bugzillaNikola Pajkovsky2010-08-171-114/+130
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* lower case direcotry(no code changed)Nikola Pajkovsky2010-08-101-0/+982
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>