summaryrefslogtreecommitdiffstats
path: root/src/plugins/abrt-action-rhtsupport.c
Commit message (Collapse)AuthorAgeFilesLines
* wizard: hook selection checkboxes to reporters.Denys Vlasenko2011-06-011-7/+4
| | | | | | | | | | | | | | | | | | | | | Checkboxes are controlled by the following elements in .xml: <requires-items> ITEM1,ITEM2 </requires-items> <exclude-items-by-default> ITEM1,ITEM2 </exclude-items-by-default> <exclude-items-always> ITEM1,ITEM2 </exclude-items-always> <exclude-binary-items> yes / no </exclude-binary-items> <include-items-by-default> ITEM1,ITEM2 </include-items-by-default> exclude-items-by-default and exclude-items-always can be "*" meaning "all". include-items-by-default specifies which items are included (checked) is exclude-items-by-default is "*". Else, all are checked by default. the set of iters NOT included is passed in $EXCLUDE_FROM_REPORT variable. bugzilla, kerneloops, mailx, print and rhtsupport are made aware of this variable. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* typo fixDenys Vlasenko2011-05-191-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-action-rhtsupport: tighten up error checks; better --help textDenys Vlasenko2011-05-141-18/+49
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move $ABRT_foo checking and setting into helper routines.Denys Vlasenko2011-05-041-11/+3
| | | | | | | I'm sick of fixing incorrect PROGNAME defines. Now g_progname is a variable and it is set from argv[0]. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* mass replace of crash_data with problem_dataDenys Vlasenko2011-04-231-9/+9
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* kerneloops, mailx, rhtsupport: add a line to "reported_to" element on successDenys Vlasenko2011-04-081-0/+9
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* make rhtsupport use /tmp for tmp filesJiri Moskovcak2011-04-071-4/+10
| | | | | - also added default event configuration for rhtsupport - and tweaked a spec file a little
* remove FILENAME_INFORMALL and tighten up some loose endsDenys Vlasenko2011-03-251-1/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* make $ABRT_PROG_PREFIX control whether log messages are prefixedDenys Vlasenko2011-03-251-15/+10
| | | | | | | | | | by abrt-action-foo programs. abrtd, abrt-server and abrt-handle-crashdump now have option -p which sets ABRT_PROG_PREFIX=1 for their children and thus makes them emit program name prefixes. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove plugins/Mailx.conf and plugins/RHTSupport.confDenys Vlasenko2011-03-241-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Replace FILENAME_MESSAGE with FILENAME_REPORTED_TO.Denys Vlasenko2011-03-181-1/+0
| | | | | | | | | | | This fixes the problem with abrt-cli not showing unreported bugs and abrt-gui not showing "green lamp" for reported bugs. In general, it introduces a way to record reporting results, such as Bugzilla URL, in dump dir. In the future, this enables such functions as "check BZ status". Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* show more useful columns in abrt-gtk; use human-readable time in dir namesDenys Vlasenko2011-02-281-1/+1
| | | | | | | | | | | | For most users, "hostname" is the same for every crash (it is their hostname). Not every problem even has "Application" field ("low on disk space" problem, for example, doesn't), whereas any problem should have "Reason" field. For non-root, it is useful to see which dumps are in /var/spool/abrt (and aren't writable), and which are in $HOME/.abrt/spool. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* get rid of FILENAME_DESCRIPTION, rename "release" to "os_release"Denys Vlasenko2011-02-101-1/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* rhtsupport reads from uninitialized variableNikola Pajkovsky2011-02-011-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | abrt-action-rhtsupport.c: In function ‘main’: abrt-action-rhtsupport.c:231:12: warning: ‘child’ may be used uninitialized in this function [-Wuninitialized] abrt-action-rhtsupport.c:45:11: note: ‘child’ was declared here ... ... pid_t child; ... ... if (!login[0] || !password[0]) { errmsg = _("Empty login or password, please check RHTSupport.conf"); goto ret; } ... ... ret: // Damn, selinux does not allow SIGKILLing our own child! wtf?? //kill(child, SIGKILL); /* just in case */ waitpid(child, NULL, 0); ... ... Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* add OPT_LIST mechanism to handle multiply occurring optionsDenys Vlasenko2011-01-201-37/+31
| | | | | | | This allowed to convert abrt-action-bugzilla, abrt-action-rhtsupport and abrt-action-kerneloops to parse_opts() Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* make option handling more regular across all toolsDenys Vlasenko2011-01-201-5/+3
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* trivial: more uniform -v option helpDenys Vlasenko2011-01-131-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* extend run_event() to run_event_on_dir_name() and run_event_on_crash_data()Denys Vlasenko2010-12-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* *: rename *crash_dump.* -> *crash_data.*Denys Vlasenko2010-12-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Rename foo_crash_dump_dir -> foo_dump_dirDenys Vlasenko2010-12-151-1/+1
| | | | | | | | | | | | | To be exact, these three functions are renamed: load_crash_data_from_crash_dump_dir create_crash_dump_dir delete_crash_dump_dir Rationale: data structure is called "struct dump_dir", not "struct crash_dump_dir" Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* rename a few more files from .cpp to .cDenys Vlasenko2010-12-091-0/+321
Renamed files: KerneloopsSysLog.c abrt-action-rhtsupport.c abrt-action-upload.c abrt-action-kerneloops.c abrt-action-mailx.c abrt-action-print.c Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>