Blame src/plugins/python_event.conf

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