summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * GHashTable: must use g_hash_table_replace instead of _insert to not leak keyDenys Vlasenko2010-12-011-3/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * factor out headers so that "report lib" API is separated out of abrt APIDenys Vlasenko2010-12-0114-67/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch minimally affects code per se - it adds create_crash_dump_dir() function which takes in-memory representation of the dump (map_crash_data_t object) and creates an on-disk representation. Then it returns pointer to struct dump_dir. With this function, it is possible to run an event on a user-constructed map_crash_data_t: map_crash_data_t cd; add_to_crash_data(cd, "foo", "bar"); struct dump_dir *dd = create_crash_dump_dir(cd); char *dir_name = strdup(dd->dd_dir); dd_close(dd); run_event(run_state, dir_name, event); delete_crash_dump_dir(dir_name); which is, basically, what report library is about. The biggest part of the patch is reshuffling of header files, with the following result: three header files which are not cluttered by other ABRT stuff, and expose the following API each: crash_dump.h - in-memory crash dump data structs and ops dump_dir.h - on-disk crash dump data structs and ops run_event.h - run_event() and friends These is a test application, test_report.cpp.cpp, which demonstrates (and tests) usage of these headers. (grep for "test-report" and enable it in build system if you want it to be built). It creates a temporary dump in /var/run/abrt/tmp-NNNN-NNNNN and runs "report" event. Deleting of temp dump is disabled for testing purposes - you might want to see the contents. Here is how the binary looks like: text data bss dec hex filename 3730 668 48 4446 115e /usr/bin/test-report linux-vdso.so.1 => (0x00007ffffa80f000) libabrt.so.0 => /usr/lib64/libabrt.so.0 (0x00007fad1f35e000) libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x0000003c1f200000) libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003c2c200000) libm.so.6 => /lib64/libm.so.6 (0x00007fad1f0da000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003c28e00000) libc.so.6 => /lib64/libc.so.6 (0x00007fad1ed5b000) /lib64/ld-linux-x86-64.so.2 (0x00007fad1f570000) Next step would be to clean up the namespace, then rename libabrt.so into libreport.so, then split it into a separate package so that we can install it without installing other two abrt .so files. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * get_reporter_plugin_settings() returns GHashTableNikola Pajkovsky2010-12-014-23/+70
| | | | | | | | | | | | | | | | | | | | | | | | static void get_reporter_plugin_settings(const vector_string_t& reporters, map_map_string_t &settings) a new interface is static GHashTable *get_reporter_plugin_settings(const vector_string_t& reporters) Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * l10n: Updates to Ukrainian (uk) translationyurchor2010-12-011-63/+64
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* | moved retrace server code to src/retraceKarel Klic2011-03-0127-33/+33
| |
* | coredump2packages: return also package name/component; update worker.py to ↵Karel Klic2011-02-182-97/+160
| | | | | | | | skip the new output
* | retrace client: implemented batch operation, improved the restKarel Klic2011-02-171-129/+210
| |
* | retrace-client: code formatting onlyKarel Klic2011-02-171-13/+32
| |
* | make RepoDir customizableMichal Toman2011-02-173-11/+18
| |
* | split WorkDir and SaveDirMichal Toman2011-02-178-69/+101
| |
* | move logging to worker.pyMichal Toman2011-02-164-121/+118
| |
* | fix retrace-local.repo URLsMichal Toman2011-02-101-24/+24
| |
* | add cleanup scriptMichal Toman2011-02-093-2/+69
| |
* | unify worker string formatting, save chroot sizeMichal Toman2011-02-092-40/+67
| |
* | retrace-client: do not crash on missing headerKarel Klic2011-02-071-1/+1
| |
* | retrace client: create prints only task id and password; some code cleanupKarel Klic2011-01-241-66/+101
| |
* | Merge branch 'retrace' of ssh://git.fedorahosted.org/git/abrt into retraceKarel Klic2011-01-246-42/+116
|\ \
| * | Do not change task password on GET requestsKarel Klic2011-01-213-19/+3
| | |
| * | Allow accessing log without trailing '/'; update httpd patch matchersKarel Klic2011-01-212-5/+5
| | |
| * | Retrace client work in progressKarel Klic2011-01-211-18/+108
| | |
* | | Increased archive limit from 30 MB to 50 MBKarel Klic2011-01-243-3/+3
|/ /
* | Retrace client work in progress.Karel Klic2011-01-201-52/+292
| |
* | Retrace client more work in progressKarel Klic2011-01-193-138/+220
| |
* | Add install scriptMichal Toman2011-01-192-0/+245
| |
* | Add repo config filesMichal Toman2011-01-193-1/+346
| |
* | Access local repos directly without HTTPMichal Toman2011-01-192-7/+7
| |
* | deny non-HTTPS requests and limit max parallel tasksMichal Toman2011-01-141-1/+7
| |
* | read config on importMichal Toman2011-01-142-3/+4
| |
* | Revert parts of accidental retrace client commitKarel Klic2011-01-122-23/+23
| |
* | coredump2packages: added --log; handle multiple debuginfo packages ↵Karel Klic2011-01-121-6/+138
| | | | | | | | containing single build id
* | major updateMichal Toman2011-01-1212-421/+401
| |
* | retrace client work-in-progressKarel Klic2011-01-113-5/+267
| |
* | Added gdbserver to the todo listKarel Klic2011-01-052-6/+23
| |
* | Merge branch 'retrace' of ssh://git.fedorahosted.org/git/abrt into retraceKarel Klic2010-12-020-0/+0
|\ \
| * | Add simple installerMichal Toman2010-11-221-0/+121
| | |
| * | Add simple reposync scriptMichal Toman2010-11-221-0/+39
| | |
| * | Worker updateMichal Toman2010-11-223-57/+91
| | |
| * | Added retrace server design documentKarel Klic2010-11-162-0/+1566
| | |
| * | test uploader updateMichal Toman2010-11-081-2/+2
| | |
| * | update interfaceMichal Toman2010-11-082-4/+4
| | |
| * | update workerMichal Toman2010-11-083-25/+43
| | |
| * | update interfaceMichal Toman2010-11-084-18/+81
| | |
| * | rewrite test uploader in pythonMichal Toman2010-11-082-106/+178
| | |
| * | worker updateMichal Toman2010-11-063-100/+112
| | |
| * | add workerMichal Toman2010-11-052-0/+347
| | |
| * | add workerMichal Toman2010-11-052-194/+0
| | |
| * | add architecture and release to required filesMichal Toman2010-10-272-4/+8
| | |
| * | =Add test crash uploader.Michal Toman2010-10-273-6/+187
| | |
| * | config files and simple test installerMichal Toman2010-10-193-0/+104
| | |
| * | add status request, log request, backtrace requestMichal Toman2010-10-193-0/+89
| | |