[SATYR PATCH 0/8] Python bindings for the report structure

Martin Milata mmilata at redhat.com
Mon Aug 26 14:48:59 UTC 2013


Please note that this patchset depends on following, as of yet unreviewed
patches:
 
[SATYR PATCHv3 1/7] Add sr_java_frame_append
[SATYR PATCHv3 2/7] Helper functions for json deserialization
[SATYR PATCHv3 3/7] Implement JSON deserialization for reports
[SATYR PATCHv3 4/7] Type-agnostic JSON deserialization
[SATYR PATCHv3 5/7] python: add version attribute to Kerneloops object
[SATYR PATCHv3 6/7] python: expose from_json for stacktraces
[SATYR PATCHv3 7/7] tests for json deserialization of stacktraces
[SATYR PATCHv3] python: treat UINT64_MAX as None

  * * *

Martin Milata (8):
  python: bindings for struct sr_operating_system
  python: bindings for struct sr_rpm_package
  Minor json parsing refactorization
  report: function for parsing json text
  Helpers for converting report type to/from string
  report: use generic stacktrace type
  python: factor out stacktrace object creation
  python: bindings for struct sr_report

 include/json.h                |   2 +-
 include/report.h              |  14 +-
 include/report_type.h         |   8 +
 lib/Makefile.am               |   2 +-
 lib/abrt.c                    |  34 +--
 lib/core_stacktrace.c         |  19 +-
 lib/generic_stacktrace.c      |  15 +-
 lib/json.c                    |  10 +-
 lib/report.c                  | 129 +++++------
 python/Makefile.am            |   6 +
 python/py_common.c            |   7 +
 python/py_common.h            |   4 +
 python/py_core_stacktrace.c   |  64 +++---
 python/py_core_stacktrace.h   |   3 +
 python/py_java_stacktrace.c   |  65 +++---
 python/py_java_stacktrace.h   |   3 +
 python/py_koops_stacktrace.c  |  59 +++--
 python/py_koops_stacktrace.h  |   3 +
 python/py_module.c            |  35 +++
 python/py_operating_system.c  | 167 ++++++++++++++
 python/py_operating_system.h  |  63 ++++++
 python/py_python_stacktrace.c |  59 +++--
 python/py_python_stacktrace.h |   3 +
 python/py_report.c            | 491 ++++++++++++++++++++++++++++++++++++++++++
 python/py_report.h            |  79 +++++++
 python/py_rpm_package.c       | 225 +++++++++++++++++++
 python/py_rpm_package.h       |  67 ++++++
 tests/Makefile.am             |   1 +
 tests/json_files/ureport-1    | 107 +++++++++
 tests/python/report.py        |  88 ++++++++
 tests/python_bindings.at      |   1 +
 tests/report.at               |  59 +++++
 tests/testsuite.at            |   1 +
 33 files changed, 1625 insertions(+), 268 deletions(-)
 create mode 100644 python/py_operating_system.c
 create mode 100644 python/py_operating_system.h
 create mode 100644 python/py_report.c
 create mode 100644 python/py_report.h
 create mode 100644 python/py_rpm_package.c
 create mode 100644 python/py_rpm_package.h
 create mode 100644 tests/json_files/ureport-1
 create mode 100755 tests/python/report.py
 create mode 100644 tests/report.at

-- 
1.8.3.1



More information about the Crash-catcher mailing list