Re: [PATCH] abrtd: remove dbus code. Run new notify event (which by default runs dbus-send)

2011-11-21 Thread Richard Marko
intentionally or am I missing something? -- Richard Marko

Re: [PATCH] Fix uploaded crash directory being marked as duplicate

2012-03-07 Thread Richard Marko
On 03/07/2012 04:29 PM, Richard Marko wrote: Fixes Bug 800828 - Upload directory feature does not work correctly Signed-off-by: Richard Marko rma...@redhat.com --- src/daemon/abrtd.c | 14 ++ 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/daemon/abrtd.c b

[PATCH v2] Fix uploaded crash directory being marked as duplicate

2012-03-07 Thread Richard Marko
Fixes Bug 800828 - Upload directory feature does not work correctly Signed-off-by: Richard Marko rma...@redhat.com --- src/daemon/abrtd.c | 14 ++ 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/daemon/abrtd.c b/src/daemon/abrtd.c index 3189b5c..6478201 100644

[PATCH v3] Fix uploaded crash directory being marked as duplicate

2012-03-08 Thread Richard Marko
Fixes rhbz#800828, trac#476 Signed-off-by: Richard Marko rma...@redhat.com --- src/daemon/abrtd.c | 14 ++ 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/daemon/abrtd.c b/src/daemon/abrtd.c index 3189b5c..b664d54 100644 --- a/src/daemon/abrtd.c +++ b/src/daemon

Integration test suite documentation

2012-03-19 Thread Richard Marko
/ Regards, -- Richard Marko

Re: [PATCH (abrt+libreport)] store cgroup file for each crash

2012-03-20 Thread Richard Marko
On 03/20/2012 09:56 AM, Denys Vlasenko wrote: On 03/19/2012 05:52 PM, Richard Marko wrote: [PATCH] Save cgroup information for crashing process Stored in /proc/pid/cgroup --- src/hooks/abrt-hook-ccpp.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src

[PATCH] Save cgroup information for crashing process

2012-03-24 Thread Richard Marko
Stored in /proc/pid/cgroup --- src/hooks/abrt-hook-ccpp.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/hooks/abrt-hook-ccpp.c b/src/hooks/abrt-hook-ccpp.c index 83dbf9f..e9838d2 100644 --- a/src/hooks/abrt-hook-ccpp.c +++ b/src/hooks/abrt-hook-ccpp.c @@

[PATCH] Add cgroup information filename

2012-03-24 Thread Richard Marko
--- src/include/internal_libreport.h |1 + src/lib/problem_data.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/include/internal_libreport.h b/src/include/internal_libreport.h index 95b600b..d99d84c 100644 --- a/src/include/internal_libreport.h +++

[PATCH] Save cgroup information for crashing process

2012-03-26 Thread Richard Marko
Stored in /proc/pid/cgroup Signed-off-by: Richard Marko rma...@redhat.com --- src/hooks/abrt-hook-ccpp.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/hooks/abrt-hook-ccpp.c b/src/hooks/abrt-hook-ccpp.c index 83dbf9f..1a918c8 100644 --- a/src/hooks/abrt-hook

[PATCH] Add cgroup information filename

2012-03-26 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/include/internal_libreport.h |1 + src/lib/problem_data.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/include/internal_libreport.h b/src/include/internal_libreport.h index 95b600b..d99d84c

Re: [PATCH] testsuite: improved stability and speed trac#633 trac#639 trac#644

2012-07-24 Thread Richard Marko
/root/abrt/tests/runtests/run | tee -a /tmp/abrt-nightly-test.log \ No newline at end of file targets/$TARGET/runtests.sh files might use some de-duplication as they are similar for each target. Would be better to put this file to ~/common/runtests.sh. -- Richard Marko

[PATCH] Provide package data for kernel oops

2012-08-03 Thread Richard Marko
Required for reporter-ureport to work with kernel oopses. Signed-off-by: Richard Marko rma...@redhat.com --- src/plugins/koops_event.conf | 18 ++ 1 file changed, 18 insertions(+) diff --git a/src/plugins/koops_event.conf b/src/plugins/koops_event.conf index 4d75110..e050cae

[PATCH v2] Provide package data for kernel oops

2012-08-10 Thread Richard Marko
Required for reporter-ureport to work with kernel oopses. Signed-off-by: Richard Marko rma...@redhat.com --- src/plugins/koops_event.conf | 18 ++ 1 file changed, 18 insertions(+) diff --git a/src/plugins/koops_event.conf b/src/plugins/koops_event.conf index 4d75110..e305e69

Re: [PATCH v3] Provide package data for kernel oops

2012-08-28 Thread Richard Marko
On 08/27/2012 09:05 PM, Nikola Pajkovsky wrote: Richard Marko rma...@redhat.com writes: Required for reporter-ureport to work with kernel oopses. Signed-off-by: Richard Marko rma...@redhat.com --- abrt.spec.in | 1 + src/plugins/Makefile.am

[PATCH] fix core backtrace generation when debuginfo is present

2012-08-29 Thread Richard Marko
In case when package debuginfo is present, gdb will output only function names but no offsets preventing core backtrace generation. Setting non-existent debuginfo directory resolves this. --- src/lib/hooklib.c | 29 +++

[PATCH v5] Provide package data for kernel oops

2012-09-14 Thread Richard Marko
Required for reporter-ureport to work with kernel oopses. Signed-off-by: Richard Marko rma...@redhat.com --- abrt.spec.in | 1 + src/plugins/Makefile.am | 3 ++- src/plugins/abrt-action-save-kernel-data | 38 src

Re: [ABRT PATCH] rhbz#853641: introduce the analyze smart event

2012-09-14 Thread Richard Marko
report_uReport -e analyze_Smart -e report_Bugzilla -e post_report -- $DUMP_DIR Works fine, fix the typos and push it please. -- Richard Marko

Re: tests/runtests/dumpoops/examples.tar ?!

2012-10-02 Thread Richard Marko
need to rewrite the test to use files from examples/ directory. -- Richard Marko

[PATCH] import rpm lazily

2012-10-18 Thread Richard Marko
fixes rhbz#864324 Signed-off-by: Richard Marko rma...@redhat.com --- src/hooks/abrt_exception_handler.py.in | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/src/hooks/abrt_exception_handler.py.in b/src/hooks/abrt_exception_handler.py.in index 91a9909

[LIBREPORT PATCH] add full kerneloops to the uReport

2012-10-18 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/lib/json.c | 12 1 file changed, 12 insertions(+) diff --git a/src/lib/json.c b/src/lib/json.c index d48e864..6fe667a 100644 --- a/src/lib/json.c +++ b/src/lib/json.c @@ -224,6 +224,16 @@ static void ureport_add_reporter(struct

Re: [PATCH] import rpm lazily

2012-10-22 Thread Richard Marko
On 10/22/2012 08:57 AM, Vratislav Podzimek wrote: On Thu, 2012-10-18 at 15:15 +0200, Richard Marko wrote: fixes rhbz#864324 Signed-off-by: Richard Marko rma...@redhat.com --- src/hooks/abrt_exception_handler.py.in | 21 + 1 file changed, 9 insertions(+), 12 deletions

Re: [LIBREPORT PATCH] shorten bz summary if its length exceeds 255 chars

2012-10-24 Thread Richard Marko
to the RH bugzilla default format: * https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora */ -- Richard Marko

Re: [ABRT PATCH] provide a problem item containing versions of binaries listed in Xorg backtrace

2012-10-24 Thread Richard Marko
/xorg.conf.d Looks good. Command will not fail even in case there is no rpm or file is not owned by any package. Please push it. -- Richard Marko

Re: [ABRT PATCH] trac#754: introduce SetElement/DeleteElement D-Bus methods

2012-11-27 Thread Richard Marko
abrtd.service 0 Restart abrtd after configuration changes +rlRun rm -rf $DUMP_LOCATION +rlPhaseEnd +rlJournalPrintText +rlJournalEnd -- Richard Marko

Re: [LIBREPORT PATCH] introduce a function getting no. of Bytes of dd's element

2012-11-28 Thread Richard Marko
) -- Richard Marko

Python API

2012-12-05 Thread Richard Marko
issues you find. [0] http://rmarko.fedorapeople.org/packages/abrt-python-2.0.19.89.g84da.dirty-1.fc17.noarch.rpm [1] http://rmarko.fedorapeople.org/abrt-python/ -- Richard Marko

Re: Python API

2012-12-06 Thread Richard Marko
On 12/06/2012 08:36 AM, Jiri Moskovcak wrote: On 12/05/2012 09:17 PM, Richard Marko wrote: Hey, the python API for ABRT is ready. Code lives at 'problem' branch and there is a pre-built package [0] with disabled requires you can install if you have latest ABRT installed. Documentation

Re: Python API

2012-12-12 Thread Richard Marko
On 12/05/2012 09:17 PM, Richard Marko wrote: Hey, the python API for ABRT is ready. Code lives at 'problem' branch and there is a pre-built package [0] with disabled requires you can install if you have latest ABRT installed. Documentation is available as man 5 abrt-python or as HTML

HEADS-UP: Project repositories moved to github

2013-02-01 Thread Richard Marko
/emails There's number of dead branches we probably won't need so if you are an owner of such a remote branch, please delete it. Thanks! -- Richard Marko

Re: HEADS-UP: Project repositories moved to github

2013-02-01 Thread Richard Marko
On 02/01/2013 05:42 PM, Nikola Pajkovsky wrote: Richard Marko rma...@redhat.com writes: Hi all, all our repositories were moved to http://github.com/abrt today. Please update your .git/config files as we are removing commit access from fedorahosted. To fix github UI showing 'Unknown

Re: [LIBREPORT PATCH v2 1/2] added doxygen support for generating api docs closes #614

2013-02-26 Thread Richard Marko
char *base_dir_name); #ifdef __cplusplus -- Richard Marko

Re: [LIBREPORT PATCH] add targets to makefile to ease the new release process

2013-02-28 Thread Richard Marko
; \ - git tag $$MmF_VER; \ - ./gen-version + git commit -m New version $$NEW_VER; \ + git tag $$NEW_VER; \ + echo -n $$NEW_VER libreport-version autoconf --force - $(MAKE) dist + $(MAKE) upload -- Richard Marko

Re: [ABRT PATCH] add targets to makefile to ease the new release process

2013-02-28 Thread Richard Marko
+ git commit -m New version $$NEW_VER; \ + git tag $$NEW_VER; \ + echo -n $$NEW_VER abrt-version autoconf --force - $(MAKE) dist + $(MAKE) upload -- Richard Marko

Re: [LIBREPORT PATCH 1/2] uReport: add more explanatory message when upload fails

2013-03-08 Thread Richard Marko
Tested, works well, pushed. Thanks. On 03/05/2013 04:55 PM, Jakub Filak wrote: - closes #135 Signed-off-by: Jakub Filak jfi...@redhat.com --- src/plugins/ureport.c | 64 +-- 1 file changed, 37 insertions(+), 27 deletions(-) diff --git

Re: [SATYR PATCH] Use unsigned long long for addresses in python bindings

2013-03-12 Thread Richard Marko
Ack. Please push it. On 03/12/2013 12:43 PM, Martin Milata wrote: So that we can work with 64-bit stack traces on 32-bit systems. Fixes #56. Signed-off-by: Martin Milata mmil...@redhat.com --- python/py_gdb_frame.c | 9 + python/py_koops_frame.c | 54

[FAF PATCH] bugzilla: skip problems with kb entries

2013-03-27 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- pyfaf/bugzilla.py | 4 pyfaf/kb.py | 18 ++ 2 files changed, 22 insertions(+) diff --git a/pyfaf/bugzilla.py b/pyfaf/bugzilla.py index e7b4503..16945e1 100644 --- a/pyfaf/bugzilla.py +++ b/pyfaf/bugzilla.py @@ -718,6

[FAF PATCHv2] bugzilla: skip problems with kb entries

2013-03-27 Thread Richard Marko
Closes #167. Signed-off-by: Richard Marko rma...@redhat.com --- pyfaf/bugzilla.py | 4 pyfaf/kb.py | 25 + 2 files changed, 29 insertions(+) diff --git a/pyfaf/bugzilla.py b/pyfaf/bugzilla.py index e7b4503..16945e1 100644 --- a/pyfaf/bugzilla.py +++ b/pyfaf

[FAF PATCH] bugzilla: strip function arguments when creating ticket

2013-03-27 Thread Richard Marko
Long lists of arguments were causing ticket body to be too long. Signed-off-by: Richard Marko rma...@redhat.com --- pyfaf/bugzilla.py | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pyfaf/bugzilla.py b/pyfaf/bugzilla.py index 9f6a9f7..728f4fc 100644 --- a/pyfaf

Re: [FAF PATCH] do not prefix kernel module names with ~faf; closes #146

2013-03-27 Thread Richard Marko
].lower() != kerneloops: +frame[path] = os.path.abspath(frame[path]) hash_type, hash_hash = get_report_hash(ureport, component.name) Aw :D Ack, pushed. -- Richard Marko

[FAF PATCH] bugzilla: pick report with highest count

2013-03-29 Thread Richard Marko
When creating new ticket make sure we pick report with highest count so we don't end up linking to unrelated report if clustering splits the problem. Closes #172. Signed-off-by: Richard Marko rma...@redhat.com --- pyfaf/bugzilla.py| 2 +- pyfaf/storage/problem.py | 8 2 files

[FAF PATCH] bugzilla: use bthash for linking to problems

2013-03-29 Thread Richard Marko
It's better to use hashes instead of IDs which might change, we have support for this since 3000b1b. Closes #170. Signed-off-by: Richard Marko rma...@redhat.com --- config/templates/bugzilla_new_body | 2 +- config/templates/bugzilla_update_comment | 2 +- pyfaf/bugzilla.py

[FAF PATCH v2 2/2] bugzilla: use bthash for linking to problems

2013-04-02 Thread Richard Marko
It's better to use hashes instead of IDs which might change, we have support for this since 3000b1b. Closes #170. Signed-off-by: Richard Marko rma...@redhat.com --- config/templates/bugzilla_new_body | 2 +- config/templates/bugzilla_update_comment | 2 +- pyfaf/bugzilla.py

[FAF PATCH] hub: make graph points on summary graph clickable

2013-04-02 Thread Richard Marko
Closes #9. Signed-off-by: Richard Marko rma...@redhat.com --- pyfaf/hub/media/report_graph.js | 25 + 1 file changed, 25 insertions(+) diff --git a/pyfaf/hub/media/report_graph.js b/pyfaf/hub/media/report_graph.js index f5fa3c2..787e197 100644 --- a/pyfaf/hub/media

[FAF PATCH 2/3] bugzilla: fix log messages

2013-04-03 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- pyfaf/bugzilla.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfaf/bugzilla.py b/pyfaf/bugzilla.py index c4ef10e..95837bb 100644 --- a/pyfaf/bugzilla.py +++ b/pyfaf/bugzilla.py @@ -320,7 +320,7 @@ class Bugzilla

[FAF PATCH 3/3] bugzilla: pep8 compliance coding style

2013-04-03 Thread Richard Marko
Added few missing comments. Part of #157. Signed-off-by: Richard Marko rma...@redhat.com --- bin/faf-bugzilla-pull-bugs | 24 +- pyfaf/bugzilla.py | 629 - 2 files changed, 342 insertions(+), 311 deletions(-) diff --git a/bin/faf-bugzilla

[FAF PATCH 0/3] bugzilla

2013-04-03 Thread Richard Marko
Patchset adding update only functionality, pep8 and coding style compliance. Richard Marko (3): bugzilla: add update-only functionality bugzilla: fix log messages bugzilla: pep8 compliance coding style bin/faf-bugzilla-pull-bugs | 27 +- pyfaf/bugzilla.py | 639

[FAF PATCH] provide emergency wsgi application

2013-04-03 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- configure.ac | 1 + faf.spec.in | 23 - pyfaf/Makefile.am | 2 +- pyfaf/emergency/Makefile.am | 10 pyfaf/emergency/__init__.py | 0 pyfaf

[FAF PATCH] provide emergency wsgi application

2013-04-03 Thread Richard Marko
Provides emergency WSGI application capable of saving reports to disk to work as a backup in case of server issues. Closes: #162 #175 Signed-off-by: Richard Marko rma...@redhat.com --- configure.ac | 1 + faf.spec.in | 23 - pyfaf

Re: [FAF PATCH] provide emergency wsgi application

2013-04-03 Thread Richard Marko
Disregard this one, commit message got lost somewhere. -- Richard Marko

Re: [FAF PATCH 3/7] dump dirs: check if dumpl location exists

2013-04-08 Thread Richard Marko
. count_dds = 0 try: -- Richard Marko

Re: [FAF PATCH 1/7] Fix internal errors produced by menu genetor

2013-04-08 Thread Richard Marko
found = next(ifilter(lambda i: i.visible and i.url_name == url_name, self.cached_menuitems), ack. -- Richard Marko

Re: [FAF PATCH 4/7] dump dirs: delete list of dump dirs

2013-04-08 Thread Richard Marko
' return redirect(reverse(pyfaf.hub.dumpdirs.views.index)) -- Richard Marko

Re: [FAF PATCH 4/7] dump dirs: delete list of dump dirs

2013-04-08 Thread Richard Marko
)) -- Richard Marko

Re: [FAF PATCH 7/7] dump dirs: show storage state

2013-04-08 Thread Richard Marko
onClick=dumpdiraction('')/ input id=delete type=submit value=delete onClick=dumpdiraction('delete')/ Fine otherwise. -- Richard Marko

Re: [GNOME-ABRT PATCH] Display 'component' name instead of 'executable' if desktop file is missing

2013-04-12 Thread Richard Marko
) -- Richard Marko

Re: [FAF PATCH 2/2] only match path for frames that contain it

2013-04-18 Thread Richard Marko
in frame and parser.match(frame[path]): return btpath_parsers[parser] pkg = ureport[installed_package] Both patches pushed, thanks. -- Richard Marko

Re: [LIBREPORT PATCH] debuginfo downloader should enable repos matching *debug* closes #138

2013-04-19 Thread Richard Marko
)) Pushed! -- Richard Marko

Re: Kernel [faf] bugs

2013-04-22 Thread Richard Marko
for this). Regards, -- Richard Marko

Re: wine crash reports

2013-04-22 Thread Richard Marko
by initial sync between bugzilla and faf server. Best regards, -- Richard Marko

Re: [PATCH] abrt-action-ureport: rewrite in python, improve messages

2013-04-23 Thread Richard Marko
)) +dd.close() +sys.exit(exitcode) It's also good to use pep8 checker to check if your code complies with coding style. -- Richard Marko

Re: faf bugzilla text and typo

2013-04-24 Thread Richard Marko
received. I can open an issue if that is better. Thanks, I've fixed the message in current git. Best regards, -- Richard Marko

[FAF PATCH] bugzilla: increase limits for bug creation and update

2013-04-24 Thread Richard Marko
New ticket now requires 100 reports and 200 reports for update message. Closes #192. Signed-off-by: Richard Marko rma...@redhat.com --- bin/faf-bugzilla-create-bugs | 2 +- bin/faf-bugzilla-update-bugs | 2 +- pyfaf/bugzilla.py| 4 ++-- 3 files changed, 4 insertions(+), 4 deletions

[FAF PATCH] bugzilla: don't create tickets for low quality reports

2013-04-24 Thread Richard Marko
Closes #194, #188. Signed-off-by: Richard Marko rma...@redhat.com --- pyfaf/bugzilla.py | 4 pyfaf/storage/report.py | 9 + 2 files changed, 13 insertions(+) diff --git a/pyfaf/bugzilla.py b/pyfaf/bugzilla.py index 612969c..c538ae8 100644 --- a/pyfaf/bugzilla.py +++ b/pyfaf

[FAF PATCH] bugzilla: fix received typo, improve the message

2013-04-24 Thread Richard Marko
Thanks Jens Petersen. Signed-off-by: Richard Marko rma...@redhat.com --- config/templates/bugzilla_new_body | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/templates/bugzilla_new_body b/config/templates/bugzilla_new_body index a4b01f5..c0b1fa9 100644 --- a/config

Re: [ABRT PATCH v2] abrt-action-ureport: rewrite in python, improve messages

2013-04-24 Thread Richard Marko
(ureports_counter + 1)) +dd.close() +sys.exit(exitcode) -- Richard Marko

Re: [FAF PATCH] bugzilla: don't create tickets for low quality reports

2013-04-24 Thread Richard Marko
Please disregard this one, better patch with test is on the way. - R On 04/24/2013 03:56 PM, Richard Marko wrote: Closes #194, #188. Signed-off-by: Richard Marko rma...@redhat.com --- pyfaf/bugzilla.py | 4 pyfaf/storage/report.py | 9 + 2 files changed, 13 insertions

[FAF PATCHv2] bugzilla: don't create tickets for low quality reports

2013-04-24 Thread Richard Marko
Closes #194, #188. Signed-off-by: Richard Marko rma...@redhat.com --- config/plugins/bugzilla.conf | 10 ++ pyfaf/bugzilla.py| 23 --- tests/bugzilla | 30 ++ 3 files changed, 60 insertions(+), 3 deletions(-) diff

Re: [ABRT PATCH v3] abrt-action-ureport: rewrite in python, improve messages

2013-04-25 Thread Richard Marko
, str(ureports_counter + 1)) +dd.close() +sys.exit(exitcode) -- Richard Marko

Re: [FAF PATCH] pyfaf: return solutions in JSON

2013-04-26 Thread Richard Marko
': solution.note_text, + 'url': solution.url}] response['result'] = True try: -- Richard Marko

Re: [LIBREPORT PATCH] ureport: save solutions in not-reportable item

2013-04-26 Thread Richard Marko
; } } -- Richard Marko

[FAF PATCH] add faf-koji-update-tags

2013-04-26 Thread Richard Marko
Closes #196. Signed-off-by: Richard Marko rma...@redhat.com --- bin/Makefile.am | 1 + bin/faf-koji-update-tags | 89 faf.spec.in | 1 + 3 files changed, 91 insertions(+) create mode 100755 bin/faf-koji-update-tags diff

[FAF PATCH] hub: sort problem packages by tags and counts

2013-04-26 Thread Richard Marko
Rationale behind this is that maintainers are mainly interested in packages currently used in the distribution (tagged ones). Closes #197. Signed-off-by: Richard Marko rma...@redhat.com --- pyfaf/hub/problems/views.py| 15 +-- pyfaf/hub/templates/package_table.html | 33

Re: [LIBREPORT PATCH] create last_occurrence file at the time of the first crash closes #161

2013-05-06 Thread Richard Marko
(dd, FILENAME_LAST_OCCURRENCE, long_str); } free(time_str); -- Richard Marko

Re: [ABRT PATCH] make the console notifiacation code more robust - closes #649

2013-05-09 Thread Richard Marko
update the lastnotification -date +%s $TMPPATH -mv $TMPPATH $SINCEFILE +if [ -f $TMPPATH ]; then + date +%s $TMPPATH + mv $TMPPATH $SINCEFILE +fi abrt-cli status --since=$SINCE 2 /dev/null -- Richard Marko

[ABRT PATCH 0/5] abrt-python RHEL6 compatibility

2013-05-09 Thread Richard Marko
Make abrt-python compatibile with RHEL6 and Python 2.6.6. Richard Marko (5): abrt-python: fix deprecation warnings abrt-python: pass DD_OPEN_READONLY only if available abrt-python: fix tests compatibility with python 2.6 abrt-python: check if gid equals current users gid abrt-python

[PATCH 2/5] abrt-python: pass DD_OPEN_READONLY only if available

2013-05-09 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/problem/proxies.py | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/python-problem/problem/proxies.py b/src/python-problem/problem/proxies.py index d4b3cfa..c547161 100644 --- a/src/python

[PATCH 3/5] abrt-python: fix tests compatibility with python 2.6

2013-05-09 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/test | 2 +- src/python-problem/tests/test_api.py | 44 +--- 2 files changed, 17 insertions(+), 29 deletions(-) diff --git a/src/python-problem/test b/src/python-problem/test index

[PATCH 5/5] abrt-python: fix dbus compatibility on RHEL6

2013-05-09 Thread Richard Marko
Related to #651. Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/problem/watch.py | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/python-problem/problem/watch.py b/src/python-problem/problem/watch.py index 2f83fde..49ec395 100644 --- a/src

[PATCH 4/5] abrt-python: check if gid equals current users gid

2013-05-09 Thread Richard Marko
Required for old dump directory style where ownership is stored in gid instead of uid. Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/problem/proxies.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/python-problem/problem/proxies.py b/src

Re: [SATYR PATCH] python: fix attribute deletion segfault

2013-05-13 Thread Richard Marko
.__getattribute__(attr), orig_val) obj.__setattr__(attr, new_val) self.assertEqual(obj.__getattribute__(attr), new_val) +self.assertRaises(TypeError, obj.__delattr__, attr) if __name__ == '__main__': import sys -- Richard Marko

[ABRT EL6 PATCH 00/35] python API backport

2013-05-13 Thread Richard Marko
abrt-python patches rebased on current rhel6 branch. Only following patches are exclusive for rhel6 branch: 3731250 abrt-python: don't build man page for python api 86a2b46 abrt-python: fix DEFAULT_DUMP_LOCATION Richard Marko (35): abrt-python: initial abrt-python: fix each test to run

[PATCH 02/35] abrt-python: fix each test to run standalone

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/tests/test_api.py | 6 ++ src/python-problem/tests/test_get.py | 13 + src/python-problem/tests/test_internal.py | 13 + src/python-problem/tests/test_list.py | 13 + src

[PATCH 04/35] abrt-python: add documentation build dir to .gitignore

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 8182477..9292e2e 100644 --- a/.gitignore +++ b/.gitignore @@ -128,3 +128,6 @@ tests/package.m4 # abrt-?.?.*.tar.gz # abrt-?.?.*/ # i686

[PATCH 05/35] abrt-python: add python-problem tests to POTFILES.skip

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- po/POTFILES.skip | 1 + 1 file changed, 1 insertion(+) diff --git a/po/POTFILES.skip b/po/POTFILES.skip index bb8a3b5..b517f1b 100644 --- a/po/POTFILES.skip +++ b/po/POTFILES.skip @@ -1,2 +1,3 @@ contrib/command-not-found/pk-tools-common.c

[PATCH 01/35] abrt-python: initial

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/doc/api.rst | 15 + src/python-problem/doc/conf.py | 258 + src/python-problem/doc/index.rst | 37 +++ src/python-problem/doc/properties.rst

[PATCH 06/35] abrt-python: cover python-problem by autotools

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- configure.ac| 5 + src/Makefile.am | 2 +- src/python-problem/Makefile.am | 1 + src/python-problem/doc/Makefile.am | 164 src/python

[PATCH 08/35] abrt-python: add python-nose to buildrequires

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- abrt.spec.in | 1 + src/python-problem/test | 2 -- src/python-problem/tests/test | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) delete mode 100755 src/python-problem/test create mode 100755 src/python-problem

[PATCH 07/35] abrt-python: add abrt-python package

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- abrt.spec.in | 16 1 file changed, 16 insertions(+) diff --git a/abrt.spec.in b/abrt.spec.in index 50be01b..848d766 100644 --- a/abrt.spec.in +++ b/abrt.spec.in @@ -196,6 +196,17 @@ Requires: %{name}-cli = %{version}-%{release

[PATCH 09/35] abrt-python: fix tests not cleaning after themselves

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/tests/test_api.py | 4 src/python-problem/tests/test_tools.py | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/python-problem/tests/test_api.py b/src/python-problem/tests/test_api.py index 2ae8dbd..c38b734

[PATCH 10/35] abrt-python: add test executable

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/test | 9 + 1 file changed, 9 insertions(+) create mode 100755 src/python-problem/test diff --git a/src/python-problem/test b/src/python-problem/test new file mode 100755 index 000..9e9a7f4 --- /dev/null +++ b

[PATCH 11/35] abrt-python: force string for dbus set item

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/problem/proxies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python-problem/problem/proxies.py b/src/python-problem/problem/proxies.py index 5db4002..7abd07e 100644 --- a/src/python-problem

[PATCH 12/35] abrt-python: add support for dump dir access

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/problem/proxies.py | 67 +++ src/python-problem/tests/base.py | 1 + 2 files changed, 68 insertions(+) diff --git a/src/python-problem/problem/proxies.py b/src/python-problem/problem

[PATCH 13/35] abrt-python: DeleteProblem takes list of problems

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/problem/proxies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python-problem/problem/proxies.py b/src/python-problem/problem/proxies.py index c90f5aa..92281bb 100644 --- a/src/python-problem

[PATCH 14/35] abrt-python: add debugging message for dbus calls

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/problem/proxies.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/python-problem/problem/proxies.py b/src/python-problem/problem/proxies.py index 92281bb..e3dea9c 100644 --- a/src/python-problem/problem/proxies.py

[PATCH 18/35] abrt-python: skip non-accessible directories

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/problem/proxies.py | 4 1 file changed, 4 insertions(+) diff --git a/src/python-problem/problem/proxies.py b/src/python-problem/problem/proxies.py index de6be68..7dbc9b8 100644 --- a/src/python-problem/problem

[PATCH 19/35] abrt-python: use /var/tmp/abrt by default

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/problem/proxies.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python-problem/problem/proxies.py b/src/python-problem/problem/proxies.py index 7dbc9b8..8a8d39b 100644 --- a/src/python-problem

[PATCH 20/35] abrt-python: use filesystem proxy as a fallback

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/problem/proxies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python-problem/problem/proxies.py b/src/python-problem/problem/proxies.py index 8a8d39b..50f762f 100644 --- a/src/python-problem

[PATCH 23/35] abrt-python: add missing file

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/problem/config.py.in | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/python-problem/problem/config.py.in diff --git a/src/python-problem/problem/config.py.in b/src/python-problem/problem/config.py.in new file

[PATCH 25/35] abrt-python: fix makefiles

2013-05-13 Thread Richard Marko
config.py.in was not processed on make all causing errors while building sphinx documentation. Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/doc/Makefile.am | 5 - src/python-problem/problem/Makefile.am | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff

[PATCH 22/35] abrt-python: add DEFAULT_DUMP_LOCATION to config

2013-05-13 Thread Richard Marko
Signed-off-by: Richard Marko rma...@redhat.com --- src/python-problem/problem/Makefile.am | 8 +++- src/python-problem/problem/proxies.py | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/python-problem/problem/Makefile.am b/src/python-problem/problem/Makefile.am

  1   2   >