Subversion Repositories configs

Rev

Rev 192 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
EVENT=post-create type=Python3 remote!=1
2
        # (For now this has no effect since python hook doesn't save environ)
3
        if grep -q ^ABRT_IGNORE_ALL=1 environ \
4
        || grep -q ^ABRT_IGNORE_PYTHON=1 environ \
5
        ; then
6
            echo "ABRT_IGNORE variable is 1 - not saving the crash"
7
            # abrtd will delete the problem directory when we exit nonzero:
8
            exit 1
9
        fi
10
        abrt-action-analyze-python
11
        # save Python3 package version
12
        for line in $(rpm -qf $(which $(cut -d' ' -f1 < cmdline)) 2>/dev/null); do
13
             echo -n $line > interpreter
14
        done
15
 
16
EVENT=report_Bugzilla type=Python3 component!=anaconda
17
        test -f component || abrt-action-save-package-data
18
        reporter-bugzilla -b \
19
                -c /etc/libreport/plugins/bugzilla.conf \
20
                -F /etc/libreport/plugins/bugzilla_format.conf \
21
                -A /etc/libreport/plugins/bugzilla_formatdup.conf
22
 
23
# Send micro report
24
EVENT=report_uReport type=Python3
25
        /usr/libexec/abrt-action-ureport
26
 
27
# update ABRT database after successful report to bugzilla
28
EVENT=post_report type=Python3
29
        reporter-ureport -A -B
30
 
31
# Reporting of python exceptions
32
EVENT=report-gui type=Python3 component!=anaconda
33
        report-gtk -- "$DUMP_DIR"
34
 
35
EVENT=report-cli type=Python3 component!=anaconda
36
        report-cli -- "$DUMP_DIR"