Blame src/plugins/python_event.conf

Packit Service 8a8a03
EVENT=post-create type=Python remote!=1
Packit Service 8a8a03
        # (For now this has no effect since python hook doesn't save environ)
Packit Service 8a8a03
        if grep -q ^ABRT_IGNORE_ALL=1 environ \
Packit Service 8a8a03
        || grep -q ^ABRT_IGNORE_PYTHON=1 environ \
Packit Service 8a8a03
        ; then
Packit Service 8a8a03
            echo "ABRT_IGNORE variable is 1 - not saving the crash"
Packit Service 8a8a03
            # abrtd will delete the problem directory when we exit nonzero:
Packit Service 8a8a03
            exit 1
Packit Service 8a8a03
        fi
Packit Service 8a8a03
        abrt-action-analyze-python
Packit Service 8a8a03
        # save Python2 package version
Packit Service 8a8a03
        for line in $(rpm -qf $(which $(cut -d' ' -f1 < cmdline)) 2>/dev/null); do
Packit Service 8a8a03
             echo -n $line > interpreter
Packit Service 8a8a03
        done
Packit Service 8a8a03
Packit Service 8a8a03
EVENT=report_Bugzilla type=Python component!=anaconda
Packit Service 8a8a03
        test -f component || abrt-action-save-package-data
Packit Service 8a8a03
        reporter-bugzilla -b \
Packit Service 8a8a03
                -c /etc/libreport/plugins/bugzilla.conf \
Packit Service 8a8a03
                -F /etc/libreport/plugins/bugzilla_format.conf \
Packit Service 8a8a03
                -A /etc/libreport/plugins/bugzilla_formatdup.conf
Packit Service 8a8a03
Packit Service 8a8a03
# Send micro report
Packit Service 8a8a03
EVENT=report_uReport type=Python
Packit Service 8a8a03
        /usr/libexec/abrt-action-ureport
Packit Service 8a8a03
Packit Service 8a8a03
# update ABRT database after successful report to bugzilla
Packit Service 8a8a03
EVENT=post_report type=Python
Packit Service 8a8a03
        reporter-ureport -A -B
Packit Service 8a8a03
Packit Service 8a8a03
# Reporting of python exceptions
Packit Service 8a8a03
EVENT=report-gui type=Python component!=anaconda
Packit Service 8a8a03
        report-gtk -- "$DUMP_DIR"
Packit Service 8a8a03
Packit Service 8a8a03
EVENT=report-cli type=Python component!=anaconda
Packit Service 8a8a03
        report-cli -- "$DUMP_DIR"
Packit Service 8a8a03
Packit Service 8a8a03
EVENT=report_systemd-journal type=Python
Packit Service 8a8a03
        reporter-systemd-journal --message-id b25955d7738d4db9a498a734620194ef \
Packit Service 8a8a03
                                  -F /etc/libreport/plugins/catalog_python_format.conf