summaryrefslogtreecommitdiffstats
path: root/src/cli
Commit message (Collapse)AuthorAgeFilesLines
* split libreport to a separate packageJiri Moskovcak2011-06-081-3/+3
|
* rename "global_uuid" element to "duphash"Denys Vlasenko2011-05-231-0/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move vector of pd's cod to cli, its only userDenys Vlasenko2011-05-191-0/+23
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* smart_event.conf: suppress stray output of "which" commandDenys Vlasenko2011-05-171-1/+1
| | | | | | Also, fix some typos in comments Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove abrt-handle-crashdump: abrt-cli now has all its features. closes 244Denys Vlasenko2011-05-162-120/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Remove .py from abrt-action-install-debuginfo.pyDenys Vlasenko2011-05-161-1/+1
| | | | | | | | | Rename abrt-action-install-debuginfo to abrt-action-install-debuginfo-to-abrt-cache Yes, it's ugly long... Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* whitespace fixes. no code changesDenys Vlasenko2011-05-111-2/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* do not send all errors from xmlto to /dev/nullNikola Pajkovsky2011-05-101-1/+1
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* abrt-cli: improve analyzer selection dialogMiroslav Lichvar2011-05-051-11/+7
|
* abrt-cli: fix crash when only one analyzer is availableMiroslav Lichvar2011-05-051-1/+1
|
* abrt-cli: select reporters by numbers (trac#194)Miroslav Lichvar2011-05-051-15/+43
|
* silent xmlto generationNikola Pajkovsky2011-05-051-1/+1
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* silent asciidoc generationNikola Pajkovsky2011-05-051-1/+3
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* build: missing abrt-cli.txt man page in tarballNikola Pajkovsky2011-05-051-0/+3
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* abrt-cli: add -L[PFX] "list possible events" functionDenys Vlasenko2011-05-042-15/+37
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-cli: update manpage. Closes #243Denys Vlasenko2011-05-043-60/+88
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-cli: incorporate most of abrt-handle-crashdump functionalityDenys Vlasenko2011-05-041-167/+115
| | | | | | The only finction not included is -l[PFX] - list possible events. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move abrt-handle-crashdump to abrt-cli package. No code changesDenys Vlasenko2011-05-042-1/+122
| | | | | | ...for assimilation into abrt-cli tool Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Logger: output "END:" line to delimit appended reports. closes bz#698458Denys Vlasenko2011-04-281-53/+17
| | | | | | Also changes Bugzilla and abrt-cli output format. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* mass replace of crash_data with problem_dataDenys Vlasenko2011-04-233-59/+59
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* daemon: simplify parsing of settings; remove remaining c++isms in daemonDenys Vlasenko2011-04-201-1/+0
| | | | | | | | This change will not compile, because in C++, void* cannot be automatically cast to char*. Next change renames Settings.cpp to *.c and fixes this. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Implement the possibility to add text labels to even config GUI. Closes #199.Denys Vlasenko2011-04-151-8/+9
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-cli is one of several places where we hardcode usage of variousDenys Vlasenko2011-04-081-103/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* 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 'daemon/blacklist'Nikola Pajkovsky2011-04-051-25/+2
|\ | | | | | | | | * daemon/blacklist: rhbz#692465 - Blacklist doesn't work
| * rhbz#692465 - Blacklist doesn't workNikola Pajkovsky2011-04-041-25/+2
| | | | | | | | | | | | | | | | | | 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>
* | 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
|/
* 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>
* Ticket #178 abrt-cli should provide an option to select analyzerNikola Pajkovsky2011-03-303-24/+146
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* all: don't declare variables inside for loopsCosimo Cecchi2011-03-291-1/+2
|
* Revert "Ticket #178 abrt-cli should provide an option to select analyzer"Jiri Moskovcak2011-03-293-146/+24
| | | | This reverts commit e2b73a97a213d6b317e5410b0dc9d931686442d2.
* Ticket #178 abrt-cli should provide an option to select analyzerNikola Pajkovsky2011-03-293-24/+146
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* Ticket #167 abrt-cli doesn't generate backtraceNikola Pajkovsky2011-03-251-1/+1
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* Merge branch 'event'Nikola Pajkovsky2011-03-251-36/+66
|\ | | | | | | | | | | * event: validate input in cli and fix ask_for_missing_settings function parse and store 'allow-empty' value
| * validate input in cli and fix ask_for_missing_settings functionNikola Pajkovsky2011-03-221-36/+66
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | abrt-cli: fix inverted logic check for -lDenys Vlasenko2011-03-181-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Replace FILENAME_MESSAGE with FILENAME_REPORTED_TO.Denys Vlasenko2011-03-182-19/+2
|/ | | | | | | | | | | 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>
* Merge branch 'cli'Nikola Pajkovsky2011-03-171-150/+47
|\ | | | | | | | | | | * cli: cli: load ~/.abrt/events/foo.conf expose export/unexport_event_config
| * cli: load ~/.abrt/events/foo.confNikola Pajkovsky2011-03-171-150/+47
| | | | | | | | | | | | need to be implemented _rating_required_ and ask_for_missing_settings Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | Remove deprecated ENABLE_SOCKET_OR_DBUS configuration optionKarel Klic2011-03-161-1/+0
|/
* CLI.cpp -> cli.cNikola Pajkovsky2011-03-113-1/+9
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* add -Wwrite-strings everywhereDenys Vlasenko2011-03-091-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* gui-wizard-gtk: add code to export/unexport config variables. UntestedDenys Vlasenko2011-03-071-8/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Revert "renamed libreport.so to libreport2.so"Karel Klic2011-03-031-1/+1
| | | | | This is not needed at the end. This reverts commit ef96cd431369b2cf0dd640a0bb66be4fb029b9c0.
* remove FILENAME_REPRODUCE field. FILENAME_COMMENT should be used insteadDenys Vlasenko2011-03-032-15/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* renamed libreport.so to libreport2.soJiri Moskovcak2011-03-031-1/+1
| | | | | - we have a conflict with old report library which contains file with the same name