summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* abrt-cli is one of several places where we hardcode usage of variousDenys Vlasenko2011-04-084-113/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | elements of dump directory. This patch changes it to generic handling, where abrt-cli doesn't know anything about particular elements (like backtrace). Changes in detail: * crash_item->flags how has CD_FLAG_UNIXTIME bit. * format_crash_item(item) returns malloced formatted string (currently only formatted time for items with CD_FLAG_UNIXTIME) or NULL, if item->content is to be used as-is * crash_item->flags how has CD_FLAG_LIST bit, it is set on a small number of elements which are to be shown by abrt-cli -l. * abrt-cli -l doesn't use fixed names, it looks at CD_FLAG_LIST. * abrt-cli -i doesn't use fixed names, it prints all one-line elements: Directory : /var/spool/abrt/ccpp-1298264192-2705 analyzer : CCpp architecture : x86_64 cmdline : metacity comment : Abrt testing, please disregard component : metacity coredump : /var/spool/abrt/ccpp-1298264192-2705/coredump count : 1 crash_function : pa_atomic_load executable : /usr/bin/metacity global_uuid : 1e8b716d2094fb22dccdb5321ac0cf6f14eb6689 hostname : dhcp-25-227.brq.redhat.com kernel : 2.6.34.7-61.fc13.x86_64 os_release : Fedora release 13 (Goddard) package : metacity-2.30.0-3.fc13 rating : 4 reason : Process /usr/bin/metacity was killed by signal 11 (SIGSEGV) time : Mon 21 Feb 2011 05:56:32 AM CET uid : 500 uuid : 453085d0f703b96ddc3a5172dd7d5a29479f5b3f * abrt-cli -i --backtrace is removed. Instead, abrt-cli -i --full is to be used. It shows all elements, one-line and multi-line ones. * abrt-cli code now has an example how to list crast_data_t in the sorted-by-key order. Further ideas: abrt-cli needs -o elem1,elem2,elem3 option which tells which elements to show, and/or -O elem1,elem2,elem3 option which tells elements to NOT show. Rationale: abrt-cli -i --full output is way too long because of smaps, need a way to suppress unneeded elements display Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* kerneloops, mailx, rhtsupport: add a line to "reported_to" element on successDenys Vlasenko2011-04-083-0/+26
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* do not forget settings everytime when you run start_event_run()Nikola Pajkovsky2011-04-082-5/+5
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* forgot to push the rhtsupport event fileJiri Moskovcak2011-04-071-0/+1
|
* Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtKarel Klic2011-04-078-230/+17
|\
| * Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtJiri Moskovcak2011-04-075-223/+2
| |\
| | * Merge branch 'cleanup'Nikola Pajkovsky2011-04-075-223/+2
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | * cleanup: cleanup: remove totaly obsolite test.cpp module cleanup: get rid of GetPluginSettings dbus call cleanup: get rid of GetPluginsInfo dbus call
| | | * cleanup: remove totaly obsolite test.cpp moduleNikola Pajkovsky2011-04-071-105/+0
| | | | | | | | | | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| | | * cleanup: get rid of GetPluginSettings dbus callNikola Pajkovsky2011-04-064-42/+0
| | | | | | | | | | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| | | * cleanup: get rid of GetPluginsInfo dbus callNikola Pajkovsky2011-04-064-76/+2
| | |/ | | | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * / make rhtsupport use /tmp for tmp filesJiri Moskovcak2011-04-073-7/+15
| |/ | | | | | | | | - also added default event configuration for rhtsupport - and tweaked a spec file a little
* / Better duplicate hashKarel Klic2011-04-071-13/+14
|/ | | | | | | | | | | | | | | Currently the duplicate hash of a crash for Bugzilla is computed from the package NVR (name, version, release), path of the executable, and the backtrace hash. This is very unfortunate because the package NVR is changed frequently (it contains Fedora OS version), and path of the executable is not a good differentiator. When multiple executables from a single component crash with similar backtrace, it is better to assume that they share code and have single Bugzilla bug report. This commit changes the code to compute the duplicate hash from the component name and the backtrace hash.
* Merge branch 'cli'Nikola Pajkovsky2011-04-062-55/+60
|\ | | | | | | | | | | | | * cli: cli: show screen_name when abrt asks for reporters cli: report.cpp -> report.c cli: remove last c++ism
| * cli: show screen_name when abrt asks for reportersNikola Pajkovsky2011-04-061-21/+27
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * cli: report.cpp -> report.cNikola Pajkovsky2011-04-062-1/+1
| | | | | | | | | | | | no code changed Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * cli: remove last c++ismNikola Pajkovsky2011-04-061-50/+49
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtJiri Moskovcak2011-04-061-2/+1
|\ \
| * | retrace server: create chroots under /var/lib/mockMichal Toman2011-04-061-2/+1
| |/
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtJiri Moskovcak2011-04-067-44/+68
|\|
| * abrt-dump-oops: make -d option take a parameter: directory where to create dumpsDenys Vlasenko2011-04-052-17/+23
| | | | | | | | | | | | | | Closes #188 "-d should be documented as a root-only, or made to work for user". Also might make testing easier. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * Merge branch 'daemon/blacklist'Nikola Pajkovsky2011-04-054-27/+35
| |\ | | | | | | | | | | | | * daemon/blacklist: rhbz#692465 - Blacklist doesn't work
| | * rhbz#692465 - Blacklist doesn't workNikola Pajkovsky2011-04-044-27/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | parse_value() doesn't trim the string. Lest say BlackList = coreutils, mono the parsed list looks like -> 'coreutils', ' mono' Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * | dump dir stealing: try to preserve atime/mtime. closes bz#692688Denys Vlasenko2011-04-041-0/+10
| | | | | | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | | make event xml description translatableJiri Moskovcak2011-04-0553-3587/+10914
|/ /
* | abrt-cli: don't require write permissions on dumpdir to print infoMiroslav Lichvar2011-04-041-2/+2
| |
* | abrt-cli: analyze on info command only when backtrace was requestedMiroslav Lichvar2011-04-041-8/+10
|/
* Ticket #187 exit code == 0 when error showsNikola Pajkovsky2011-04-041-4/+5
| | | | | | | | | | | | | | $ abrt-dump-oops -d -o Downloads/examples_oops1.test abrt-dump-oops: Found oopses: 1 [...] abrt-dump-oops: Creating dump directories abrt-dump-oops: Can't create directory '/var/spool/abrt/oops-...': Permission denied abrt-dump-oops: 1 errors while dumping oopses [newman@dhcp-24-178 ~]$ echo $? 0 Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* Merge branch 'master' of git://git.fedorahosted.org/git/abrtJiri Moskovcak2011-04-035-2/+28
|\
| * retrace server: add /settings actionMichal Toman2011-04-013-1/+23
| |
| * hide new pc fileNikola Pajkovsky2011-04-011-1/+4
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * GList was not set to NULL, possibly sigsegv on f15Nikola Pajkovsky2011-04-011-0/+1
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | wizard: fixed prgname related#trac#180 rhzb#692444 rhbz#692442Jiri Moskovcak2011-03-311-0/+1
|/
* -devel package contains btparser headers; -devel package does not include ↵Karel Klic2011-03-314-1/+26
| | | | libreportgtk.so versioned libraries
* retrace server: make every coredump accessible for GDBMichal Toman2011-03-301-0/+1
|
* retrace server: install rpm package into chrootMichal Toman2011-03-301-1/+1
|
* applet: postpone the applet initialization as much as possible related#trac#127Jiri Moskovcak2011-03-301-6/+10
| | | | | | | - seems like server_has_persistence() returns false when it's called at the time of applet start, my guess is that the notifyd service setup is not finished at this time, so I moved applet init to the time of the first crash, where all the desktop/notifyd thing should be ready
* Merge branch 'validation-fix'Nikola Pajkovsky2011-03-303-35/+40
|\ | | | | | | | | | | | | | | * validation-fix: better validation for numbers make validate_event_option static fix memory leak rename misleading variable
| * better validation for numbersNikola Pajkovsky2011-03-301-2/+5
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * make validate_event_option staticNikola Pajkovsky2011-03-302-28/+27
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * fix memory leakNikola Pajkovsky2011-03-301-0/+3
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * rename misleading variableNikola Pajkovsky2011-03-301-5/+5
|/ | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* remove misleading error messageNikola Pajkovsky2011-03-301-3/+1
| | | | | | | | | | | | solution isn't good enough, but truly remove misleading message. Imagine the situation when user manually set environment Bugzilla_Password and manually run command a-a-b -c /path/to/config1 -c /path/config2 -c /path/config3. Now a-a-b smash all configs into one giant hash table. Just stir the pot. Environment can be set by cli and gui. We have a lot of input how to set config and question is how to determinate which config is wrong and blame someone/something. Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* Ticket #178 abrt-cli should provide an option to select analyzerNikola Pajkovsky2011-03-304-26/+148
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* retrace server: do not create abrt-specific files inside chrootMichal Toman2011-03-301-15/+0
|
* retrace server: fix malformed error messageMichal Toman2011-03-301-1/+1
|
* all: don't declare variables inside for loopsCosimo Cecchi2011-03-298-18/+38
|
* Revert "Ticket #178 abrt-cli should provide an option to select analyzer"Jiri Moskovcak2011-03-294-148/+26
| | | | This reverts commit e2b73a97a213d6b317e5410b0dc9d931686442d2.
* gui: fixed the prgname trac#180Jiri Moskovcak2011-03-291-0/+5
|
* Ticket #178 abrt-cli should provide an option to select analyzerNikola Pajkovsky2011-03-294-26/+148
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* updated translationJiri Moskovcak2011-03-2945-2443/+4062
|